mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Writing Mode test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
|
||||
<meta flags="ahem">
|
||||
|
||||
<style>
|
||||
div {
|
||||
font: 20px/20px ahem;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
background: green;
|
||||
height: 4em;
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<p>There should be a <strong>green rectangle</strong> and <strong>no red</strong>.
|
||||
|
||||
<div></div>
|
|
@ -0,0 +1,28 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Writing Mode test reference</title>
|
||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/">
|
||||
<meta flags="ahem">
|
||||
|
||||
<style>
|
||||
div {
|
||||
font: 50px / 50px ahem;
|
||||
color: green;
|
||||
|
||||
max-height: 100px;
|
||||
writing-mode: vertical-rl;
|
||||
/* Doing this with a horizontal div and max-width ought to result in the same 100x100 green square,
|
||||
but font rasterisation may (and in practice does) result in different aliasing artifacts.
|
||||
Therefore I am using the same writing mode as the test,
|
||||
to make sure we get identically sharp/fuzzy edges on the same sides.
|
||||
*/
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>There should be a <strong>green square</strong> and <strong>no red</strong>.
|
||||
|
||||
<div>xx xx</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,6 +5,7 @@
|
|||
<style>
|
||||
#container {
|
||||
font: 50px/1 Ahem;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
.vlr {
|
||||
writing-mode:vertical-lr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue