Closed
Bug 1676295
Opened 4 years ago
Closed 4 years ago
Add WPT to check deleting in/around/across list item elements
Categories
(Core :: DOM: Events, enhancement, P3)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
84 Branch
Tracking | Status | |
---|---|---|
firefox84 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
Blink and WebKit behave better than Gecko. They keep list items when deleting (especially when the last) list item element. Gecko should follow it (in bug 1672900), but first of all, we should create WPT.
Assignee | ||
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Comment 1•4 years ago
|
||
There are not enough tests comparing delete operation result and result of
getTargetRanges()
when selection is in/around/across list item elements.
This patch creates a utility method to make the test body not need to use
Selection API for making simpler tests.
The expected behavior is based on Blink and WebKit unless their behavior is
buggy because their behavior is more reasonable than Gecko's in most cases.
Note that the removing tests are covered by the new tests.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/6e993881d35c
Add WPT to test deleting in/around/across list items r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26538 for changes under testing/web-platform/tests
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox84:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•