Closed Bug 1649934 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 24420 - Display type of ::first-line pseudo-elements

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alison Maher <almaher@microsoft.com> wrote:

Display type of ::first-line pseudo-elements

According to the spec, the display property should not be applied
to ::first-line or ::first-letter pseudo-elements.
https://www.w3.org/TR/css-display-3/#placement

This has already been handled for ::first-letter, so this change
similarly adjusts the display property style for ::first-line. I've
tested the behavior in FireFox and legacy Edge, and this change
aligns with the behavior in other browsers.

Bug: 685925
Change-Id: Idaa299c90e20c69902491837b53e7988da7759c1
Reviewed-on: https://chromium-review.googlesource.com/2278321
WPT-Export-Revision: 79b81a29100f468f78566ab5614b7bd3d261be4d

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
FAIL: 1

Safari

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/039a3de6cd28 [wpt PR 24420] - Display type of ::first-line pseudo-elements, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.