Skip to content

Commit c36907c

Browse files
committed
css test for hanging-punctionat:first
test for the hanging-punctuation part of w3c/csswg-drafts#2462
1 parent 17a2a4e commit c36907c

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!doctype html>
2+
<html lang=en>
3+
<meta charset="utf-8">
4+
<title>CSS Test: hanging-punctuation - first, U+3000</title>
5+
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
6+
<link rel="match" href="reference/hanging-punctuation-first-002-ref.html"/>
7+
<meta name="assert" content="hanging-punctuation: first hangs U+300 IDEOGRAPHIC SPACE " >
8+
<style>
9+
.test {
10+
hanging-punctuation: first;
11+
}
12+
div { /*not part of the test, just to make things more visually obvious*/
13+
line-height: 1;
14+
font-size: 40px;
15+
}
16+
</style>
17+
18+
<p>Test passes if the up and down arrows below are aligned.
19+
20+
<div class=test> ↓</div>
21+
<div class=ref></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!doctype html>
2+
<html lang=en>
3+
<meta charset="utf-8">
4+
<title>CSS Test reference</title>
5+
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
6+
<style>
7+
div { /*not part of the test, just to make things more visually obvious*/
8+
line-height: 1;
9+
font-size: 40px;
10+
}
11+
</style>
12+
13+
<p>Test passes if the up and down arrows below are aligned.
14+
15+
<div></div>
16+
<div></div>

0 commit comments

Comments
 (0)