Bug 266742
Summary: | Web Inspector does not display author styles for some pseudo-elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Aditya Keerthi <akeerthi> |
Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Aditya Keerthi
`::track` and `::thumb` (which are disabled by default, but can be turned on with the ThumbAndTrackPseudoElementsEnabled pref) author styles don't show up.
`::file-selector-button`, which has shipped for a while, is also likely impacted.
I think we need to add them all here: https://github.com/WebKit/WebKit/blob/c213889156180d79d3d01c5108e2152c2b318c40/Source/WebInspectorUI/UserInterface/Controllers/CSSManager.js#L254
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Aditya Keerthi
I think this is a more general issue with anything that uses `PseudoElementWebKitCustom`. Currently, the protocol serializes PseudoId -> string as a one-to-one. However, `PseudoElementWebKitCustom` is one PseudoId that can correspond to different strings.
We might need to make some infrastructural additions to support this.
Radar WebKit Bug Importer
<rdar://problem/120222388>