Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit d40049b

Browse files
committed
update text-combine-upright tests using Ahem to set line-height explicitly
Gérard told me that browsers differ on default line-height values. https://lists.w3.org/Archives/Public/public-css-testsuite/2015Jun/0039.html The commit includes fix for wording ("rectangles" to "squares") for a few tests.
1 parent 4376ecc commit d40049b

23 files changed

+32
-9
lines changed

css-writing-modes-3/reference/horizontal-ahem-1x1-notref.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
<style>
99
.test {
1010
font-size: 5em;
11+
line-height: 1;
1112
font-family: Ahem;
1213
}
1314
</style>
1415
</head>
1516
<body>
1617

17-
<p>Test passes if there are 2 <strong>identical</strong> black rectangles.</p>
18+
<p>Test passes if there are 2 <strong>identical</strong> black squares.</p>
1819

1920
<div class="test">
2021
<p>x</p>

css-writing-modes-3/reference/horizontal-ahem-1x3-notref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<style>
99
.test {
1010
font-size: 5em;
11+
line-height: 1;
1112
font-family: Ahem;
1213
}
1314
</style>

css-writing-modes-3/reference/horizontal-ahem-1x4-notref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<style>
99
.test {
1010
font-size: 5em;
11+
line-height: 1;
1112
font-family: Ahem;
1213
}
1314
</style>

css-writing-modes-3/reference/horizontal-ahem-1x5-notref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<style>
99
.test {
1010
font-size: 5em;
11+
line-height: 1;
1112
font-family: Ahem;
1213
}
1314
</style>

css-writing-modes-3/reference/vertical-ahem-1x1-ref.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@
99
.test {
1010
writing-mode: vertical-rl;
1111
font-size: 5em;
12+
line-height: 1;
1213
font-family: Ahem;
1314
}
1415
</style>
1516
</head>
1617
<body>
1718

18-
<p>Test passes if there are 2 <strong>identical</strong> black rectangles.</p>
19+
<p>Test passes if there are 2 <strong>identical</strong> black squares.</p>
1920

2021
<div class="test">
2122
<p>x</p>

css-writing-modes-3/reference/vertical-ahem-1x3-ref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.test {
1010
writing-mode: vertical-rl;
1111
font-size: 5em;
12+
line-height: 1;
1213
font-family: Ahem;
1314
}
1415
</style>

css-writing-modes-3/reference/vertical-ahem-1x4-ref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.test {
1010
writing-mode: vertical-rl;
1111
font-size: 5em;
12+
line-height: 1;
1213
font-family: Ahem;
1314
}
1415
</style>

css-writing-modes-3/reference/vertical-ahem-1x5-ref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.test {
1010
writing-mode: vertical-rl;
1111
font-size: 5em;
12+
line-height: 1;
1213
font-family: Ahem;
1314
}
1415
</style>

css-writing-modes-3/reference/writing-mode-horizontal-001l-ref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<style>
88
.test {
99
font-size: 5em;
10+
line-height: 1;
1011
}
1112
</style>
1213
</head>

css-writing-modes-3/reference/writing-mode-horizontal-001r-ref.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<style>
88
.test {
99
font-size: 5em;
10+
line-height: 1;
1011
direction: rtl;
1112
}
1213
</style>

0 commit comments

Comments
 (0)