Update web-platform-tests to revision 2b80e6d28f3c1ca734384ebded282bf07df80657

This commit is contained in:
WPT Sync Bot 2019-10-18 10:32:38 +00:00
parent 32eb858a6a
commit aff72973cf
379 changed files with 13969 additions and 2161 deletions

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/">
<link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#dimension-mapping">
<link rel="help" href="https://www.w3.org/TR/CSS22/box.html#propdef-padding-top">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=966795">
<link rel="match" href="../reference/nothing.html">

View file

@ -13,18 +13,17 @@ 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*/
/* The writing mode inherited from the root must be horizontal
since the root's computed value should be horizontal */
}
</style>
<body></body>
<script>
document.documentElement.append("This text must be vertical");
/* This is direct content of the root,
and should therefore be vertical,
as the root's used value is vertical */
</script>

View file

@ -13,6 +13,11 @@
padding-right: 16px;
vertical-align: top;
}
div
{
margin-left: -8px;
writing-mode: vertical-rl;
}
</style>
@ -24,4 +29,4 @@
in the <strong>upper-left corner</strong> of the page.
-->
<div style=margin-left:-8px>This text must be written horizontally.</div>
<div>This text must be written vertically, below the orange square.</div>

View file

@ -14,7 +14,7 @@
<link rel="match" href="wm-propagation-body-044-ref.html">
<meta name="flags" content="">
<meta name="assert" content="This test checks that when the root element has a &lt;body&gt; child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation. Finally, in order to make sure that the principal writing mode is indeed 'horizontal-tb', the test checks that a generated text's inline axis is indeed horizontal and not vertical.">
<meta name="assert" content="This test checks that when the root element has a &lt;body&gt; child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element. Also, a small script in this test verifies that the computed value of 'writing-mode' of the root element itself is not affected by such propagation. We also check that the computed value is unaffected by inheriting it into a pseudo element.">
<!--
Tests 032 to 035: html's writing-mode is not specified
@ -38,7 +38,7 @@
html::after
{
content: "This text must be written horizontally.";
content: "This text must be written vertically, below the orange square.";
display: block;
}