Add tentative WPT for checking the handling of `id` attribute at join/split element
Categories
(Core :: DOM: Editor, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Assignee | ||
Comment 1•3 years ago
|
||
We have similar tests under mozilla
. However, for Interop2022-editing, we
should rewrite it with the modern style and mark it "tentative".
It does not matter how to split an element and its ancestors here. The test
check only how attributes of splitting element and its ancestors. All
attributes should be cloned, but id
attributes shouldn't, at least, there
should not be 2 elements which share same id
value.
Chrome duplicates id
attributes, so Chrome fails to pass of the checks, but
passes the other checks.
Depends on D150219
Assignee | ||
Comment 2•3 years ago
|
||
Similar to the previous patch, this adds tentative tests. Different from the
previous tests, joining shouldn't touch attributes of the original nodes.
This tests do not check which node is deleted from the document, but in the
future, it should be tested after fixing bug 1735608 completely.
Depends on D150220
https://hg.mozilla.org/mozilla-central/rev/753c9e14d5a1
https://hg.mozilla.org/mozilla-central/rev/4094704632bb
Assignee | ||
Updated•3 years ago
|
Description
•