mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15
This commit is contained in:
parent
1bc94c132e
commit
12fa92b4d6
437 changed files with 11787 additions and 9995 deletions
|
@ -27,5 +27,11 @@
|
|||
|
||||
<p><img src="support/swatch-blue.png" width="100" height="100" alt="Image download support must be enabled"><img src="support/block-flow-direction-025-exp-res.png" width="359" height="36" alt="Image download support must be enabled"></p>
|
||||
|
||||
<!--
|
||||
The image says:
|
||||
Test passes if there is a blue square in the
|
||||
<strong>upper-right corner</strong> of the page.
|
||||
-->
|
||||
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
|
@ -0,0 +1,11 @@
|
|||
.tcy {
|
||||
text-combine-upright: all;
|
||||
}
|
||||
.fake-tcy {
|
||||
display: inline-block;
|
||||
writing-mode: horizontal-tb;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
text-align: center;
|
||||
line-height: 1em;
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
@font-face {
|
||||
font-family: WidthTest;
|
||||
src: url(WidthTest-Regular.otf);
|
||||
}
|
||||
.test {
|
||||
font: 72px/1 WidthTest;
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, no compression</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical zeros in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">0</span></p>
|
||||
<p><span class="fake-tcy">0</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, compression of two characters</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical graphs in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">22</span></p>
|
||||
<p><span class="fake-tcy">22</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, compression of three characters</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical graphs in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">333</span></p>
|
||||
<p><span class="fake-tcy">333</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, compression of four characters</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical graphs in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">4444</span></p>
|
||||
<p><span class="fake-tcy">4444</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, no compression for single full-width character</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical graphs in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">0</span></p>
|
||||
<p><span class="fake-tcy">0</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright, compression for two full-width characters</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there are two identical graphs in the blocks below.</p>
|
||||
<div class="test">
|
||||
<p><span class="fake-tcy">22</span></p>
|
||||
<p><span class="fake-tcy">22</span></p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ja"><head>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: text-combine-upright: all, fit any number of characters</title>
|
||||
<link href="https://www.upsuper.org" rel="author" title="Xidorn Quan">
|
||||
<link href="support/width-test.css" rel="stylesheet">
|
||||
<link href="support/tcy.css" rel="stylesheet">
|
||||
<style>
|
||||
.test { writing-mode: vertical-rl; height: 3.5em; }
|
||||
.test > p { border: 1px solid black; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if the contents in the two blocks are identical.</p>
|
||||
<div class="test">
|
||||
<p>一<span class="fake-tcy"></span>十</p>
|
||||
<p>一<span class="fake-tcy"></span>十</p>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue