Absolutely positioned boxes should accept `align-self` and `justify-self`
Categories
(Core :: Layout: Positioned, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: dshin, Assigned: dshin)
References
(Blocks 3 open bugs)
Details
(Keywords: dev-doc-needed, Whiteboard: [anchorpositioning:m1], [wptsync upstream])
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Both justify-self
and align-self
are accepted if the block is absolutely positioned, and have an impact on positioning of the absolutely positioned box within the containing block.
Relevant WPTs under /css/css-align/abspos
.
Blocks anchor-center
for anchor-positioning, which is a new value for alignment.
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Comment 1•1 month ago
|
||
The commits in bug 1269017 comment 50 may be useful to refer to.
Comment hidden (obsolete) |
Updated•1 month ago
|
Updated•1 month ago
|
Assignee | ||
Updated•24 days ago
|
Assignee | ||
Comment 3•24 days ago
|
||
Current alignment spec 1 allows the margin-box of an absolutely
positioned elements to be aligned within the inset-reduced absolute
containing box, so just let the overconstrained margin be.
Assignee | ||
Comment 4•24 days ago
|
||
Depends on D226527
Assignee | ||
Comment 5•24 days ago
|
||
We no longer always fill the available space, which then may be aligned.
Depends on D226528
Assignee | ||
Comment 6•24 days ago
|
||
Absolutely positioned elements can be aligned, so it no longer
is grid-specific.
Depends on D226529
Assignee | ||
Comment 7•24 days ago
|
||
Also implement the alignment safety behaviour that is described as "in-between"
[1].
[1] https://drafts.csswg.org/css-position-3/#abspos-layout
Depends on D226530
Assignee | ||
Comment 8•24 days ago
|
||
Depends on D226531
Assignee | ||
Comment 9•24 days ago
|
||
Depends on D226532
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Updated•24 days ago
|
Comment 10•11 days ago
|
||
Comment 12•11 days ago
|
||
Backed out for causing mochitests plain failures in test_videocontrols_vtt.html.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | toolkit/content/tests/widgets/test_videocontrols_vtt.html | Selected item should be enabled
Comment 14•8 days ago
|
||
Comment 15•8 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a3ad6717aaae
https://hg.mozilla.org/mozilla-central/rev/7ace177238e5
https://hg.mozilla.org/mozilla-central/rev/38477a6f686b
https://hg.mozilla.org/mozilla-central/rev/fb9a3ecfa29e
https://hg.mozilla.org/mozilla-central/rev/783644509e3c
https://hg.mozilla.org/mozilla-central/rev/8aa12043a1d7
https://hg.mozilla.org/mozilla-central/rev/889105cc0018
Assignee | ||
Updated•8 days ago
|
Updated•3 days ago
|
Comment 17•2 days ago
|
||
place-self: auto
should behave as normal
when determining the actual position of an abspos, see https://github.com/w3c/csswg-drafts/issues/11197
Assignee | ||
Comment 18•2 days ago
|
||
:Oriol, that looks like bug 1930561 - and you're right, we mistakenly look at parent's (justify|align|place)-items
for positioning absolute frames. Fix is landing soon.
Description
•