Changeset 55357 in webkit


Ignore:
Timestamp:
Feb 27, 2010 11:09:12 PM (14 years ago)
Author:
Joseph Pecoraro
Message:

2010-02-27 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Timothy Hatcher.

Web Inspector shouldn't show a white color box for "-webkit-line-break: after-white-space"
https://bugs.webkit.org/show_bug.cgi?id=33478

  • inspector/front-end/StylesSidebarPane.js:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r55353 r55357  
     12010-02-27  Joseph Pecoraro  <joepeck@webkit.org>
     2
     3        Reviewed by Timothy Hatcher.
     4
     5        Web Inspector shouldn't show a white color box for "-webkit-line-break: after-white-space"
     6        https://bugs.webkit.org/show_bug.cgi?id=33478
     7
     8        * inspector/front-end/StylesSidebarPane.js:
     9
    1102010-02-27  Dan Bernstein  <mitz@apple.com>
    211
  • trunk/WebCore/inspector/front-end/StylesSidebarPane.js

    r54700 r55357  
    995995            }
    996996
    997             var colorRegex = /((?:rgb|hsl)a?\([^)]+\)|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|\b\w+\b)/g;
     997            var colorRegex = /((?:rgb|hsl)a?\([^)]+\)|#[0-9a-fA-F]{6}|#[0-9a-fA-F]{3}|\b\w+\b(?!-))/g;
    998998            var colorProcessor = processValue.bind(window, colorRegex, processColor, null);
    999999
Note: See TracChangeset for help on using the changeset viewer.