Implement layout support for implicit anchor element
Categories
(Core :: Layout: Positioned, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: dshin, Assigned: jari)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [anchorpositioning:m2])
Attachments
(3 files, 1 obsolete file)
Seems that there may be a HTML-attribute way to define anchor relationship on the way - See example 2.
Updated•1 year ago
|
Comment 1•1 year ago
|
||
In the spec I don't see an anchor attribute being defined (only a popover attribute):
However, it seems that Google has added some WPT tests that support specifying an implicit anchor using an anchor attribute:
For example:
Probably out of scope to support for M1, but something to be aware of that may come down the pike at some point if that get's spec'ed.
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Also note that in the case of popover, the spec text for the popover attribute says:
...it will be rendered on top of other page content...
So we'll need to put it in the top, top-layer. (That is, this bug isn't as simple as just looking for an implicit element and passing that into pre-existing code.)
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 3•7 months ago
|
||
Should probably be [anchorpositioning:reserve].
| Reporter | ||
Comment 4•7 months ago
|
||
Looking at popovers - it sets implicit anchor as part of its specs, where we need to trigger a reflow.
| Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
| Assignee | ||
Comment 5•7 months ago
|
||
This patch deals with anchor function and basic fully styleable pseudo element support.
Popovers, position-areas and place-selfs are not yet handled.
| Assignee | ||
Comment 6•6 months ago
|
||
Updated•6 months ago
|
| Assignee | ||
Comment 7•6 months ago
|
||
| Assignee | ||
Comment 8•6 months ago
|
||
Updated•6 months ago
|
Comment 10•6 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d0ff2e5e7901
https://hg.mozilla.org/mozilla-central/rev/6900670aad56
https://hg.mozilla.org/mozilla-central/rev/6770d892ec31
Comment 11•6 months ago
|
||
:jari did you want to mention this in the 146 release notes? Please nominate if so.
| Assignee | ||
Comment 12•6 months ago
|
||
Late response but we discussed it and thought that this is not the right time to celebrate the achievement in the release notes
Updated•5 months ago
|
Description
•