Summary: | Web Inspector: Styles Gear Menu Choice to Display Colors "As Authored" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||||
Component: | Web Inspector (Deprecated) | Assignee: | Alexander Pavlov (apavlov) <apavlov> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Joseph Pecoraro
2009-11-17 21:55:45 PST
I don't think we have this information currently. We always get rgb()/rgba() colors back from the style rules. (That is one reason why the Inspector prefered those formats until you came along.) Created attachment 74928 [details]
[PATCH] Suggested solution
One drawback is that cycling through the color formats may bring up same formats in one loop (not sequential).
Comment on attachment 74928 [details] [PATCH] Suggested solution View in context: https://bugs.webkit.org/attachment.cgi?id=74928&action=review > WebCore/inspector/front-end/StylesSidebarPane.js:1315 > + throw "Unknown color format: " + curFormat; This slows us down. Could we get rid of it? Manually committed with the comment addressed: <http://trac.webkit.org/changeset/72786> |