[wpt-sync] Sync PR 45218 - [anchor] Support try-tactic flips for self-alignment properties
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45218 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45218
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
[anchor] Support try-tactic flips for self-alignment properties
The self-alignment properties are a bit different from the other
properties that require adjustment.For insets and sizes, a value transformation (e.g. anchor(right)
becoming anchor(left)) is always accompanied by a corresponding property
transformation (e.g. left becoming right), but for self-alignment
properties we need value transformation within the same property.
E.g. justify-self:start under flip-start becomes justify-self:start
(no change in property). Therefore these properties are always present
in the try-tactics layer.Also, it's worth noting that justify-self accepts the 'left' and
'right' keywords, but align-self does not. This means we can't
just naively grab-and-flip the value of the other property for
flip-start: we need to convert left/right to logical to avoid
giving align-self an invalid value. Since the exact details of
what left/right should become in this case is non-obvious
(and not specified), I've avoided this case in the WPT for now.Bug: 40279608
Change-Id: I8fa675a0be3f3c50ca73b4b628583765e252b032
Reviewed-on: https://chromium-review.googlesource.com/5383077
WPT-Export-Revision: 3b8b66faaf81200f132f6ebe6fe8a17b2fb6bb54
Assignee | ||
Updated•11 months ago
|
Assignee | ||
Comment 1•11 months ago
|
||
Assignee | ||
Comment 2•11 months ago
|
||
Assignee | ||
Comment 3•11 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 39 subtests
Status Summary
Firefox
OK
: 1
PASS
: 13
FAIL
: 26
Chrome
OK
: 1
PASS
: 13
FAIL
: 26
Safari
OK
: 1
PASS
: 13
FAIL
: 26
Links
Details
New Tests That Don't Pass
- /css/css-anchor-position/try-tactic-alignment.html [wpt.fyi]
- , justify-self:start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , justify-self:end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , justify-self:self-start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , justify-self:self-end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , justify-self:flex-start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , justify-self:flex-end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:self-start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:self-end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:flex-start:
FAIL
(Chrome:PASS
, Safari:FAIL
) - , align-self:flex-end:
FAIL
(Chrome:PASS
, Safari:FAIL
) - flip-inline, justify-self:start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:end:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:self-start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:self-end:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:flex-start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:flex-end:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:left:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-inline, justify-self:right:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:end:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:self-start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:self-end:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:flex-start:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - flip-block, align-self:flex-end:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- , justify-self:start:
Comment 5•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/358750d68853
https://hg.mozilla.org/mozilla-central/rev/7367a8478f29
Description
•