Closed Bug 2089304 Opened 21 days ago Closed 12 days ago

[wpt-sync] Sync PR 64364 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327867

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327867

WebKit export from bug: Quote marks from open-<!---->quote and close-<!---->quote don'<!---->t take the :<!---->:<!---->first-<!---->line style

<pre>
Quote marks from open-quote and close-quote don't take the ::first-line style

<style>
div::first-line { color: green }
span::before { content: open-quote }
</style>
<div><span>quoted</span></div>

The quote mark should be green like the rest of the first line. Instead it was black.

Each open-quote/close-quote was an anonymous RenderQuote inline box around a text
renderer. The box added nothing to layout (its style only inherits from the
pseudo-element), but that style also never got the ::first-line style, so the
text under it fell back to the plain style. The box only existed to hold the
quote's type and depth and to survive ::first-letter replacing its text.

Remove RenderQuote. A quote is now a RenderTextFragment tagged with its QuoteType,
directly under the pseudo-element like a 'content' string. ::first-letter hands
the tag to the remaining text, and the quote depth walk carries the depth itself.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327867">https://bugs.webkit.org/show_bug.cgi?id=327867</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/324380@main">https://commits.webkit.org/324380@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 356 tests and 41 subtests

Status Summary

Firefox

OK : 57
PASS : 1[GitHub] 26[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 685[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 879[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 885[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 : 202[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 272[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] 278[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
ERROR: 3

Chrome

PASS : 1

Safari

FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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