Closed Bug 2046234 Opened 2 days ago Closed 18 hours ago

[wpt-sync] Sync PR 60499 - Test getComputedStyle("::first-line") for non-block display

Categories

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

task

Tracking

()

RESOLVED FIXED
153 Branch
Tracking Status
firefox153 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

Test getComputedStyle("::first-line") for non-block display

All browsers drop declarations for properties that do not apply to
::first-line. However, there is a difference when the display is not a
type that generates a ::first-line. Gecko and Blink is not affected by
display, but WebKit is. Nothing in the spec that indicates the WebKit
way is correct.

Add tests for getComputedStyle() for the Gecko/Blink behavior.

Change-Id: Id25081b889a9e311f6a9f84decff15d85c53485a
Reviewed-on: https://chromium-review.googlesource.com/7909666
WPT-Export-Revision: 52ff296e46445a12152932507cb4edafc775b238

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

CI Results

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

Total 335 tests

Status Summary

Firefox

OK : 1[GitHub] 50[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 109[GitHub] 626[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 811[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 817[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL : 3[GitHub] 184[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 252[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 258[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 3

Chrome

OK : 1
PASS : 112

Safari

OK : 1
PASS : 47
FAIL : 65

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 18 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in before you can comment on or make changes to this bug.