Changeset 139597 in webkit


Ignore:
Timestamp:
Jan 14, 2013 2:13:20 AM (11 years ago)
Author:
apavlov@chromium.org
Message:

Web Inspector: [Styles] HTML color names not converted to RGB/HEX/HSL when "Color format" feature used
https://bugs.webkit.org/show_bug.cgi?id=106767

Reviewed by Vsevolod Vlasov.

We used to render named colors as names regardless of the selected color format option.

  • inspector/front-end/StylesSidebarPane.js:

(WebInspector.StylePropertyTreeElement.prototype.updateTitle.):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r139596 r139597  
     12013-01-14  Alexander Pavlov  <apavlov@chromium.org>
     2
     3        Web Inspector: [Styles] HTML color names not converted to RGB/HEX/HSL when "Color format" feature used
     4        https://bugs.webkit.org/show_bug.cgi?id=106767
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        We used to render named colors as names regardless of the selected color format option.
     9
     10        * inspector/front-end/StylesSidebarPane.js:
     11        (WebInspector.StylePropertyTreeElement.prototype.updateTitle.):
     12
    1132013-01-14  Andrei Bucur  <abucur@adobe.com>
    214
  • trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js

    r138159 r139597  
    18201820                    if (formatSetting === cf.Original)
    18211821                        format = cf.Original;
    1822                     else if (color.nickname)
    1823                         format = cf.Nickname;
    18241822                    else if (formatSetting === cf.RGB)
    18251823                        format = (color.simple ? cf.RGB : cf.RGBA);
Note: See TracChangeset for help on using the changeset viewer.