Files
sousa-gecko/testing/web-platform/tests/css/css-content/quotes-first-line.html
T
Minseong Kim 05f75fa072 Bug 1977330 [wpt PR 53762] - Change quote element to honor ::first-line style, a=testonly
Automatic update from web-platform-tests
Change quote element to honor ::first-line style

Previously, the quote element was ignored when inheriting the
`::first-line` style because it's an anonymous. This CL changes the
quote element to honor the style of the `::first-line` by fixing a
condition.

Bug: 41481460
Change-Id: I2f5a5de0bc6c27c51d5d19bd18937b63b2431560
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6721186
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: 김민성 <jja08111@gmail.com>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1486730}

--

wpt-commits: 077f27f1be867cff852f789bead1961a8f4f9b39
wpt-pr: 53762
2025-07-18 08:18:18 +00:00

17 lines
527 B
HTML

<!doctype html>
<meta charset=utf-8>
<title>CSS-content test: first line with quotes honor color</title>
<link rel="author" title="Minseong Kim" href="jja08111@gmail.com">
<link rel="match" href="reference/quotes-first-line-ref.html">
<link rel=help href="https://drafts.csswg.org/css-content/#quotes">
<style>
body { font: 32px serif; }
div::first-line { color: red; }
</style>
<p>Test passes if color of quote marks matches the text color on each line.</p>
<div>
This is <q>quoted</q>
<br>
This is <q>quoted</q>
</div>