mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Set descendant's attribute's owner document in Node::adopt (#35076)
* Set descendant's attribute's owner document in Node::adopt Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Add test that adopting an element into a new doc updates the attribute' owner docs Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
dabe162d44
commit
c070372d1e
4 changed files with 38 additions and 7 deletions
|
@ -160,6 +160,7 @@ use crate::task::TaskOnce;
|
|||
// and when the element enters or leaves a browsing context container.
|
||||
// https://html.spec.whatwg.org/multipage/#selector-focus
|
||||
|
||||
/// <https://dom.spec.whatwg.org/#element>
|
||||
#[dom_struct]
|
||||
pub(crate) struct Element {
|
||||
node: Node,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue