[Webkit-unassigned] [Bug 146676] Web Inspector: Tabbing in the styles sidebar doesn't highlight the next section of text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 7 10:07:29 PDT 2015


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

--- Comment #6 from drousso at apple.com ---
Comment on attachment 256288
  --> https://bugs.webkit.org/attachment.cgi?id=256288
Patch

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

>> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js:400
>> +        var colonIndex = text.indexOf(":");
> 
> What if this returns -1?

On the next line, it checks if colonIndex >= 0 and if not then set the start to 0 since the entire string should be matched.

-- 
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/20150707/ef02d347/attachment.html>


More information about the webkit-unassigned mailing list