mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Expose Element.AttachShadow under dom.shadowdom.enabled pref
This commit is contained in:
parent
091fcbecd1
commit
ffdc9d255f
3 changed files with 10 additions and 1 deletions
|
@ -81,6 +81,8 @@ interface Element : Node {
|
|||
void insertAdjacentText(DOMString where_, DOMString data);
|
||||
[CEReactions, Throws]
|
||||
void insertAdjacentHTML(DOMString position, DOMString html);
|
||||
|
||||
[Throws, Pref="dom.shadowdom.enabled"] ShadowRoot attachShadow();
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-element-interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue