[Webkit-unassigned] [Bug 146178] REGRESSION(r184000): Web Inspector: Multiline CSS in Styles Sidebar is marked as invalid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 26 13:34:51 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146178

--- Comment #18 from Timothy Hatcher <timothy at apple.com> ---
Comment on attachment 255656
  --> https://bugs.webkit.org/attachment.cgi?id=255656
Fixed the issue

View in context: https://bugs.webkit.org/attachment.cgi?id=255656&action=review

>> Source/WebInspectorUI/UserInterface/Views/CodeMirrorFormatters.js:442
>> +        var regexp = /\b(keyword|atom|number)\b/;
> 
> This should be non-capturing. /\b(?:keyword|atom|number)\b/
> 
> Including number here makes be wonder if "rgb(0, 0, 0)" will turn into "rgb( 0, 0, 0)".

Might just need a check for lastContent === "(" && !lastToken.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150626/9540a1c3/attachment.html>


More information about the webkit-unassigned mailing list