Closed Bug 1674754 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26357 - css-pseudo: :first-line should not affect inline-blocks

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

b'Kent Tamura <tkent@chromium.org>' wrote:

css-pseudo: :first-line should not affect inline-blocks

https://drafts.csswg.org/css-pseudo-4/#first-text-line

The first line of a table-cell or inline-block cannot be the first
formatted line of an ancestor element.

This CL fixes a regression by LayoutNG.
The new behavior matches to the legacy layout and Safari.

Bug: 1143621
Change-Id: I1421bef1f4a35f7c88a7becf5d5b61d51befbf20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513959
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Auto-Submit: Kent Tamura \<tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823108}

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/css/css-pseudo/first-line-with-inline-block.html: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d82a13f079c
[wpt PR 26357] - css-pseudo: :first-line should not affect inline-blocks, a=testonly
https://hg.mozilla.org/integration/autoland/rev/539722c69091
[wpt PR 26357] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.