[wpt-sync] Sync PR 39198 - Fix attr-associated element reflection for disconnected nodes
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39198 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39198
Details from upstream follow.
Mason Freed <masonf@chromium.org> wrote:
Fix attr-associated element reflection for disconnected nodes
Nothing in the spec [1] says that attr-associated elements should
not be functional when disconnected from the document. The prior
code would always return null for these references, however. This
fixes the code and adds a test.[1] https://html.spec.whatwg.org/#attr-associated-element
Fixed: https://crbug.com/1427374
Change-Id: I9897cd33310bd13e7acb4a1a122b3614e99edba7
Reviewed-on: https://chromium-review.googlesource.com/4371122
WPT-Export-Revision: 2a12f9af5d5c0af21748a346e655012c3d255ee2
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/915a7a4d2aba
https://hg.mozilla.org/mozilla-central/rev/52cbddc0bcd2
Description
•