Update web-platform-tests to revision 7bfa241671d6ca921229f6601d2d7b70dd55da90

This commit is contained in:
WPT Sync Bot 2019-07-27 10:23:05 +00:00
parent f78dd6142e
commit 441c1fa235
47 changed files with 888 additions and 163 deletions

View file

@ -0,0 +1,22 @@
<html>
<meta chartset=utf-8>
<title>Test Reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html {
writing-mode: vertical-rl;
}
body {
writing-mode: vertical-rl;
width: 0; height: 0;
}
html::before {
content: "This text must be vertical.";
}
html::after {
content: "This text must be horizontal.";
display: block;
writing-mode: horizontal-tb;
}
</style>
<body></body>

View file

@ -0,0 +1,30 @@
<html>
<meta chartset=utf-8>
<title>CSS-Writing Modes Test: propagation of the writing-mode property from body to root</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-writing-modes-3/#principal-flow">
<link rel="match" href="wm-propagation-001-ref.html">
<meta name=assert content="the writing mode of the body must be propagated to the root, but the computed value must not change.">
<style>
html {
writing-mode: horizontal-tb;
}
body {
writing-mode: vertical-rl;
width: 0; height: 0;
}
html::before {
content: "This text must be vertical.";
/* This is inline content of the root,
and should therefore be vertical,
as the root's used value is vertical */
}
html::after {
content: "This text must be horizontal.";
display: block;
/* This is a block level element,
with it's own writing mode inherited from the root,
horizontal since the root's computed value should be horizontal*/
}
</style>
<body></body>

View file

@ -0,0 +1,21 @@
<html>
<meta chartset=utf-8>
<title>Test reference</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<style>
html {
direction: rtl;
}
body {
height: 0;
}
html::before {
content: "This text must be on the right";
}
html::after {
content: "This text must be on the left";
display: block;
direction: ltr;
}
</style>
<body></body>

View file

@ -0,0 +1,21 @@
<html>
<meta chartset=utf-8>
<title>CSS-Writing Modes Test: propagation of the direction property from body to root</title>
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
<link rel=help href="https://drafts.csswg.org/css-writing-modes-3/#principal-flow">
<link rel="match" href="wm-propagation-002-ref.html">
<meta name=assert content="the 'direction' of the body must be propagated to the root, but the computed value must not change.">
<style>
body {
direction: rtl;
height: 0;
}
html::before {
content: "This text must be on the right";
}
html::after {
content: "This text must be on the left";
display: block;
}
</style>
<body></body>