Bug 106767

Summary: Web Inspector: [Styles] HTML color names not converted to RGB/HEX/HSL when "Color format" feature used
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch vsevik: review+

Alexander Pavlov (apavlov)
Reported 2013-01-14 01:53:00 PST
Steps to reproduce the problem: 1. inspect an element that has a color defined using HTML colors (ie. 'red', 'crimson', 'blue') 2. Use 'color format' feature in the top right corner of 'Sytles' pane to change the format to any of HEX/RGB/HSL What is the expected behavior? Named colors should be converted to HEX/RGB/HSL (ie. crimson -> #DC143C). What went wrong? Colors defined using HTML color names are not converted (while all other colors are). Upstreaming https://code.google.com/p/chromium/issues/detail?id=169217
Attachments
Patch (1.75 KB, patch)
2013-01-14 02:07 PST, Alexander Pavlov (apavlov)
vsevik: review+
Alexander Pavlov (apavlov)
Comment 1 2013-01-14 02:07:43 PST
Alexander Pavlov (apavlov)
Comment 2 2013-01-14 02:14:50 PST
Note You need to log in before you can comment on or make changes to this bug.