RESOLVED FIXED 110909
Web Inspector: pseudoId is not shown when shadowPseudoId is being overridden
https://bugs.webkit.org/show_bug.cgi?id=110909
Summary Web Inspector: pseudoId is not shown when shadowPseudoId is being overridden
Dima Gorbik
Reported 2013-02-26 13:46:29 PST
shadowPseudoId() is being implemented in Element base class and returns a 'pseudoId' attribute which inspector also displays. But some derived from Element classes chose to override 'shadowPseudoId' to return their own pseudoId instead of setting an attribute. Inspector could probably query shadowPseudoId() to find out the pseudo id for those classes.
Attachments
Dean Jackson
Comment 1 2013-03-08 15:18:12 PST
I'm not sure the inspector calls pseudoId itself, it just iterates over the attributes on an Element. The problem is that shadowPseudoId isn't exposed that way. InspectorDOMAgent::buildArrayForElementAttributes would have to special case pseudo, which is a bit weird. Instead, if there is a shadowPseudoId it could be exposed explicitly and displayed in the node tree differently.
Brian Burg
Comment 2 2014-12-13 13:40:41 PST
AFAICT, this is shown now in inspector on trunk.
Note You need to log in before you can comment on or make changes to this bug.