WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 92638
Web Inspector: [Styles] No color swatch for the SVG "fill" and "stroke" property values
https://bugs.webkit.org/show_bug.cgi?id=92638
Summary
Web Inspector: [Styles] No color swatch for the SVG "fill" and "stroke" prope...
Alexander Pavlov (apavlov)
Reported
2012-07-30 05:23:40 PDT
What steps will reproduce the problem? 1. Have SVG elements in your HTML 2. Style these elements by defining colors (e.g. "fill" or "stroke") 3. Inspect the page using Developer tools What is the expected result? A color swatch is shown displaying the chosen/defined color(s) for the element. What happens instead? No color swatch is shown, even though the attribute is treated properly and the element is filled with the defined color. While it is not the end of the world to not see the color swatch it would really help when working with styling of elements created by visualization scripts. Please provide any additional information below. Attach a screenshot if possible. Note that in the screenshot below I have manually added two attributes to show that the color swatches are shown for some elements but not for others. The page renders without any problems (i.e. with right coloring) without the manually added style elements. I believe this issue might be related to
http://code.google.com/p/chromium/issues/detail?id=83051
in such a way that the fix for that problem might have had downstream effects disabling swatches in some occasions where it would be useful. Upstreaming
http://code.google.com/p/chromium/issues/detail?id=137017
Attachments
Patch
(1.92 KB, patch)
2012-07-30 05:31 PDT
,
Alexander Pavlov (apavlov)
vsevik
: review+
apavlov
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexander Pavlov (apavlov)
Comment 1
2012-07-30 05:31:34 PDT
Created
attachment 155269
[details]
Patch
Alexander Pavlov (apavlov)
Comment 2
2012-07-30 05:51:24 PDT
Committed
r124016
: <
http://trac.webkit.org/changeset/124016
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug