RESOLVED FIXED 106770
Web Inspector: [Styles] Color names parsed inside "background-image" values
https://bugs.webkit.org/show_bug.cgi?id=106770
Summary Web Inspector: [Styles] Color names parsed inside "background-image" values
Alexander Pavlov (apavlov)
Reported 2013-01-14 02:27:50 PST
"background-image" values can only be URIs (http://www.w3.org/TR/css3-background/#the-background-image), so colors are not allowed there. Upstreaming https://code.google.com/p/chromium/issues/detail?id=169742
Attachments
Patch (1.80 KB, patch)
2013-01-14 03:40 PST, Alexander Pavlov (apavlov)
pfeldman: review+
Alexander Pavlov (apavlov)
Comment 1 2013-01-14 02:32:29 PST
background-image values can also be gradients, so url(...) checks should be made before the color parsing.
Alexander Pavlov (apavlov)
Comment 2 2013-01-14 03:40:59 PST
Pavel Feldman
Comment 3 2013-01-14 03:59:51 PST
Comment on attachment 182541 [details] Patch A test?
Alexander Pavlov (apavlov)
Comment 4 2013-01-14 04:36:53 PST
(In reply to comment #3) > (From update of attachment 182541 [details]) > A test? Landing with a test added.
Alexander Pavlov (apavlov)
Comment 5 2013-01-14 04:38:00 PST
Note You need to log in before you can comment on or make changes to this bug.