Closed Bug 1819560 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38762 - InlineLayout: add parsing logic for the leading-trim property

Categories

(Core :: Layout: Block and Inline, task, P4)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

lingqi <lingqi@chromium.org> wrote:

InlineLayout: add parsing logic for the leading-trim property

This CL includes:

  • Introducing the new property.
  • Adding a new RuntimeEnabledFeature
  • Adding the parsing logic
  • Adding initial web tests for parsing

Bug: 1411581
Change-Id: I8e9f6f023a505ac1ae97a827048d836972e97a73

Reviewed-on: https://chromium-review.googlesource.com/4296655
WPT-Export-Revision: cc397aabf9e1edc05bb0c36ccc1fc9ffc2b6f76b

Component: web-platform-tests → Layout: Block and Inline
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
FAIL: 4

Chrome

OK : 1
FAIL: 4

Safari

OK : 1
FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-inline/text-box-trim/text-box-trim-valid.html [wpt.fyi]
    • e.style['text-box-trim'] = "normal" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['text-box-trim'] = "start" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['text-box-trim'] = "end" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['text-box-trim'] = "both" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6ab37b3cdc2 [wpt PR 38762] - InlineLayout: add parsing logic for the text-box-trim property, a=testonly https://hg.mozilla.org/integration/autoland/rev/ea1e37639521 [wpt PR 38762] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in before you can comment on or make changes to this bug.