Summary: | Expose shadowPseudoId property to script | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dimitri Glazkov (Google) <dglazkov> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | cmarcelo, dominicc, rolandsteiner | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Bug Depends on: | 63604, 63657 | ||||||
Bug Blocks: | 63606 | ||||||
Attachments: |
|
Description
Dimitri Glazkov (Google)
2011-04-14 15:36:06 PDT
Should that be a reflected attribute, or just a property? (In reply to comment #1) > Should that be a reflected attribute, or just a property? Reflected attribute, I think. Created attachment 92055 [details]
proposed patch
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.
As an alternative, you could expose a layoutTestController.pseudoShadowId(node) method, which queries the node and returns its pseudoShadowId. Ok then, I guess the new patch should be in a separate bug? (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). For the record, the new bug tracking LayoutTestController's access to pseudoShadowId is bug 60034. This is probably not going to be exposed directly like that. We'll file a new bug if we need it. |