Need to teach selection about the flattened tree / frame tree instead of the light tree
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Webcompat Priority | P2 |
People
(Reporter: emilio, Assigned: sefeng)
References
(Blocks 3 open bugs)
Details
(Whiteboard: [webcompat:p2][layout:backlog:2019q3][needs-wpt-?])
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Reporter | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Updated•6 years ago
|
Reporter | ||
Comment 11•6 years ago
|
||
Looks like WebKit fixed this (https://bugs.webkit.org/show_bug.cgi?id=151380), so we're the only engine that supports Shadow DOM and doesn't support this properly...
Reporter | ||
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Hmm, in which way did they fix it. I guess not implementing the proposed selection handling yet, but something random.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 13•6 years ago
|
||
See bug 1547409. Migrating webcompat priority whiteboard tags to project flags.
Updated•5 years ago
|
Comment 14•5 years ago
|
||
For testing reference, the following web platform tests exist which seem to test selection behavior in shadow roots:
- html/editing/editing-0/contenteditable/contentEditable-slotted-inherit.html
- shadow-dom/untriaged/shadow-trees/upper-boundary-encapsulation/test-009.html
- shadow-dom/untriaged/user-interaction/ranges-and-selections/test-001.html
- shadow-dom/untriaged/user-interaction/ranges-and-selections/test-002.html
- shadow-dom/untriaged/elements-and-dom-objects/shadowroot-object/shadowroot-methods/test-004.html
However, since Firefox nightly and Safari 87 preview don't differ in whether they pass or fail those tests, I'm guessing none of them cover this bug. But if WebKit did indeed fix their implementation in the referenced commit above, then we can likely convert the tests it added to their tree as the basis for some new testdriver-based web platform tests here.
Updated•5 years ago
|
Updated•5 years ago
|
Comment hidden (abuse-reviewed) |
Updated•4 years ago
|
Updated•2 years ago
|
Comment hidden (admin-reviewed) |
Comment 17•2 years ago
|
||
This is a polite reminder that Bugzilla is our professional working environment as well as our issue tracker. I encourage you to review our participation and etiquette guidelines; comments that help move issues towards a resolution are always welcome. Comments that add nothing more than demands that a resolution occur, however, are not.
Updated•2 years ago
|
Assignee | ||
Updated•1 year ago
|
Reporter | ||
Updated•6 months ago
|
Comment 18•6 months ago
|
||
This seems fixed based on the issue tested from https://github.com/webcompat/web-bugs/issues/70859 . It no longer reproduces on Firefox Nightly, only on Firefox Release.
Emilio, should we close this report as fixed?
Environment:
Operating system: Windows 10
Browsers tested: Firefox Nightly 128.0a1 (2024-05-28) / Firefox Release 126 / Chrome 125.0.6422.113
Reporter | ||
Comment 19•6 months ago
|
||
Yeah Sean has done / is doing a lot of work on shadow-crossing selection.
Description
•