Closed Bug 1405937 (shadowdom-layout) Opened 3 years ago Closed 2 years ago

[meta] Implement Shadow DOM v1 - Layout part

Categories

(Core :: DOM: CSS Object Model, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: ben.tian, Assigned: emilio)

References

()

Details

(Keywords: meta)

Initial items:

1) Scoped CSS for shadow DOM

2) Cascading order
   https://drafts.csswg.org/css-scoping/#shadow-cascading

3) Implement additional selectors
   - :host
   - :host()
   - :host-context()
   - ::slotted()
No longer blocks: shadowdom-initial-release
Keywords: meta
Priority: -- → P3
Summary: Implement Shadow DOM v1 - Layout part → [meta] Implement Shadow DOM v1 - Layout part
Component: DOM → DOM: CSS Object Model
Assignee: nobody → emilio
(In reply to Ben Tian [:btian] from comment #0)
> 3) Implement additional selectors
>    - :host

Bug 992245 has some bit-rotted non-Stylo work here.

>    - :host-context()

Bug 1082060 has similar earlier work here.
As reference, wpt for CSS scoping
https://w3c-test.org/css/css-scoping-1/
(In reply to Ben Tian [:btian] from comment #2)
> As reference, wpt for CSS scoping
> https://w3c-test.org/css/css-scoping-1/

Also some CSS tests that relates to shadow DOM
https://w3c-test.org/css/selectors4/focus-within-shadow-*.html
https://w3c-test.org/cssom-view/elementsFromPoint-shadowroot.html
Depends on: 1409959
Depends on: 1410020
Depends on: 1410578
Depends on: 1413119
Depends on: 1414100
Depends on: 1414303
Depends on: 1415013
Blocks: 1053898
Depends on: 1418159
Depends on: 1419964
Depends on: 1420757
Depends on: 1422733
Depends on: 1424604
Depends on: 1425759
Depends on: 1425864
Depends on: 1426493
Depends on: 1426516
Depends on: 1425866
Depends on: 1427001
Depends on: 1427635
Depends on: 1427677
Depends on: 1427820
Depends on: 1429088
Depends on: 1435015
No longer depends on: 1426493
Depends on: 1439016
Depends on: 1439224
Depends on: 1441022
Depends on: 1441136
Depends on: 1438210
Depends on: 1446507
Depends on: 1445682
Depends on: 1446666
Depends on: 1447009
Depends on: 1452640
Depends on: 1100912
Depends on: 1454162
Depends on: 1454165
Depends on: 1454879
Depends on: 1018269
Depends on: 1458189
No longer depends on: 1458189
Depends on: 1459529
Depends on: 1461749
No longer depends on: 1100912
Depends on: 1465572
Depends on: 1468127
emilio, could you triage the remaining bugs and whether they should block shipping, or can they done afterwards. If can be done afterwards (for example because blink or webkit don't implement something), move dependency to bug 1438607.
Flags: needinfo?(emilio)
Sure.

Bug 1082060: slow and not implemented in safari, I'm midly opposed to implement it, but in any case can wait.
Bug 1410578: I think it's nice, but not implemented by Safari either afaik, and has an easy workaround (@import) so can also wait.
Bug 1418159: It's kind of a meta bug, and I don't think there's much left blocking shadow dom actually.
Bug 1427635: Was needed for fixing some of the counter crashes, but we fixed them in other ways, so no longer blocks anything.
No longer depends on: 1082060, 1410578, 1418159, 1427635
Flags: needinfo?(emilio)
Blocks: 1410578
No longer blocks: 1410578
Depends on: 1410578
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Alias: shadowdom-layout
You need to log in before you can comment on or make changes to this bug.