1
0
Fork 0
firefox/testing/web-platform/tests/html/rendering/the-details-element/details-pseudo-elements-005.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

22 lines
891 B
HTML

<!DOCTYPE HTML>
<title>::details-content pseudo element supports ::first-letter and ::first-line</title>
<link rel="match" href="details-pseudo-elements-005-ref.html">
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#treelike">
<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#details-content-pseudo">
<link rel="help" href="https://github.com/whatwg/html/pull/10265">
<link rel="help" href="https://github.com/dbaron/details-styling/blob/main/phase-1.md">
<link rel="help" href="https://crbug.com/1469418">
<style>
details::details-content::first-letter { font-size: 2em; }
details::details-content::first-line { font-weight: bold; }
</style>
<details open>
<summary>summary</summary>
The contents<br>
are on multiple</br>
lines.
</details>