mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Support is
option when creating elements
This commit is contained in:
parent
6697f5469d
commit
2f36d3544f
9 changed files with 66 additions and 25 deletions
|
@ -1827,7 +1827,7 @@ impl Node {
|
|||
ns: element.namespace().clone(),
|
||||
local: element.local_name().clone()
|
||||
};
|
||||
let element = Element::create(name,
|
||||
let element = Element::create(name, element.get_is(),
|
||||
&document, ElementCreator::ScriptCreated);
|
||||
Root::upcast::<Node>(element)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue