Closed Bug 1986602 Opened 9 months ago Closed 4 months ago

[meta] Handle anchor scopes in shadow trees

Categories

(Core :: Layout: Positioned, task)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: jari, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta, Whiteboard: [anchorpositioning:backlog])

Attachments

(2 obsolete files)

Per spec, anchor scope 'all' and the list of names for an 'ident' anchor scope are tree-scoped and should only affect names in the same tree. The workings of tree-scope names can be modified with with ::part, ::slotted and :host rules.

Ideal solution would involve knowing from which style sheet a value comes from and to which tree it should apply to, however in many practically relevant use cases it is possible to tell whether an anchor scope does not apply just by checking the element properties.

Blocks: 1909330
See Also: → 1964949, 1970954
Whiteboard: [anchor-positioning:triage]
Assignee: nobody → jjalkanen
Status: NEW → ASSIGNED

This is m2 but the estimation is missing, and also the strategy: do we want to do a partial solution now or a proper solution later?

Depends on: 1987926

Jari, we should talk about this bug in context of bug 1987926 - I expect the test outcomes that in-progress reviews have to change.

Attachment #9511038 - Attachment is obsolete: true
Attachment #9511037 - Attachment is obsolete: true

The prerequisites for a proper solution to this bug are expected to be ready after bug 1988038 is implemented.

Depends on: 1988038
No longer depends on: 1987926
Assignee: jjalkanen → nobody
Status: ASSIGNED → NEW

I'm making this block bug 1838746 directly since I want to clean up our dependency tree, including closing meta bugs, but I don't want this bug to drop out of the tree.

Whiteboard: [anchor-positioning:triage] → [anchorpositioning:triage]
Whiteboard: [anchorpositioning:triage] → [anchorpositioning:reserve]
Whiteboard: [anchorpositioning:reserve] → [anchorpositioning:backlog]
Status: NEW → RESOLVED
Closed: 4 months ago
Keywords: meta
Resolution: --- → FIXED
Summary: Handle anchor scopes in shadow trees → [meta] Handle anchor scopes in shadow trees
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: