Closed Bug 2063474 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 61930 - Remove support for "inline*" values in margin-trim.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 61930 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/61930
Details from upstream follow.

Morten Stenshorne <mstensho@chromium.org> wrote:

Remove support for "inline*" values in margin-trim.

See https://github.com/w3c/csswg-drafts/issues/13731

Since margin-trim now only applies to block containers and multicol
containers, inline margins may never be trimmable (that was only
possible with flex and grid).

Bug: 40886857
Change-Id: Ic7d2f1b9149cceab3bc8274cf33072a602569760
Reviewed-on: https://chromium-review.googlesource.com/8256869
WPT-Export-Revision: ef19a9b4b610523cfb645104f0593a76437fe97a

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 2 tests and 15 subtests

Status Summary

Firefox

OK : 2
PASS: 9
FAIL: 12

Chrome

OK : 2
PASS: 21

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-box/parsing/margin-trim-computed.html [wpt.fyi]
    • Property margin-trim value 'none': FAIL (Chrome: PASS)
    • Property margin-trim value 'block': FAIL (Chrome: PASS)
    • Property margin-trim value 'block-start': FAIL (Chrome: PASS)
    • Property margin-trim value 'block-end': FAIL (Chrome: PASS)
    • Property margin-trim value 'block-start block-end': FAIL (Chrome: PASS)
    • Property margin-trim value 'block-end block-start': FAIL (Chrome: PASS)
  • /css/css-box/parsing/margin-trim.html [wpt.fyi]
    • e.style['margin-trim'] = "none" should set the property value: FAIL (Chrome: PASS)
    • e.style['margin-trim'] = "block" should set the property value: FAIL (Chrome: PASS)
    • e.style['margin-trim'] = "block-start" should set the property value: FAIL (Chrome: PASS)
    • e.style['margin-trim'] = "block-end" should set the property value: FAIL (Chrome: PASS)
    • e.style['margin-trim'] = "block-start block-end" should set the property value: FAIL (Chrome: PASS)
    • e.style['margin-trim'] = "block-end block-start" should set the property value: FAIL (Chrome: PASS)
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9c6670bbcdb6 https://hg.mozilla.org/integration/autoland/rev/478cb8b0399f [wpt PR 61930] - Remove support for "inline*" values in margin-trim., a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.