WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
58584
Expose shadowPseudoId property to script
https://bugs.webkit.org/show_bug.cgi?id=58584
Summary
Expose shadowPseudoId property to script
Dimitri Glazkov (Google)
Reported
2011-04-14 15:36:06 PDT
Authors should be able to read and write the shadowPseudoId property on an element.
Attachments
proposed patch
(3.52 KB, patch)
2011-05-03 02:19 PDT
,
Philippe Normand
dglazkov
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dominic Cooney
Comment 1
2011-04-19 19:56:32 PDT
Should that be a reflected attribute, or just a property?
Dimitri Glazkov (Google)
Comment 2
2011-04-20 09:54:33 PDT
(In reply to
comment #1
)
> Should that be a reflected attribute, or just a property?
Reflected attribute, I think.
Philippe Normand
Comment 3
2011-05-03 02:19:06 PDT
Created
attachment 92055
[details]
proposed patch
Dimitri Glazkov (Google)
Comment 4
2011-05-03 06:39:21 PDT
Comment on
attachment 92055
[details]
proposed patch This would actually expose this as a public API on all DOM elements. We're not quite ready for this yet.
Dimitri Glazkov (Google)
Comment 5
2011-05-03 06:46:52 PDT
As an alternative, you could expose a layoutTestController.pseudoShadowId(node) method, which queries the node and returns its pseudoShadowId.
Philippe Normand
Comment 6
2011-05-03 09:32:03 PDT
Ok then, I guess the new patch should be in a separate bug?
Dimitri Glazkov (Google)
Comment 7
2011-05-03 09:45:58 PDT
(In reply to
comment #6
)
> Ok then, I guess the new patch should be in a separate bug?
Yep, that should go under testing (blocking
bug 59823
).
Ami Fischman
Comment 8
2011-05-04 16:24:09 PDT
For the record, the new bug tracking LayoutTestController's access to pseudoShadowId is
bug 60034
.
Dimitri Glazkov (Google)
Comment 9
2012-01-06 12:58:27 PST
This is probably not going to be exposed directly like that. We'll file a new bug if we need it.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug