[Webkit-unassigned] [Bug 28187] "Double-click to add" new style button does not always show up

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 11 14:39:56 PDT 2009


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





--- Comment #2 from Joseph Pecoraro <joepeck02 at gmail.com>  2009-08-11 14:39:56 PDT ---
Interesting.  The incoming CSS of:

    url(/images/green.png)

Has the string "green" inside it and "green" swatch is (incorrectly) made for
it:

    http://tr.im/wdZz?grabup

WebInspector.Color is invoked if there was a swatch on the massaged CSS value,
and it throws an error because it cannot parse the following as a valid color:

   
url(<ahref="http://webkit.org/images/green-background.png"class="webkit-html-resource-link"title="http://webkit.org/images/green-background.png"target="_blank">http://webkit.org/images/green-background.png</a>)

Since this affects the WebKit Nightly right now I will throw up a "quick fix"
patch that catches the WebInspector.Color error and therefore takes us back to
the expected old behavior with the swatch still incorrectly showing.  I'll then
work on cleaning this up in general.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list