Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 5804c2f

Browse files
committed
[css-writing-modes] Fix bug in wm-propagation-body-044.html
1 parent f91b5ce commit 5804c2f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

css/css-writing-modes/wm-propagation-body-044-ref.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
padding-right: 16px;
1414
vertical-align: top;
1515
}
16+
div
17+
{
18+
margin-left: -8px;
19+
writing-mode: vertical-rl;
20+
}
1621
</style>
1722

1823

@@ -24,4 +29,4 @@
2429
in the <strong>upper-left corner</strong> of the page.
2530
-->
2631

27-
<div style=margin-left:-8px>This text must be written horizontally.</div>
32+
<div>This text must be written vertically, below the orange square.</div>

css/css-writing-modes/wm-propagation-body-044.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="match" href="wm-propagation-body-044-ref.html">
1515

1616
<meta name="flags" content="">
17-
<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.">
17+
<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.">
1818

1919
<!--
2020
Tests 032 to 035: html's writing-mode is not specified
@@ -38,7 +38,7 @@
3838

3939
html::after
4040
{
41-
content: "This text must be written horizontally.";
41+
content: "This text must be written vertically, below the orange square.";
4242
display: block;
4343
}
4444

0 commit comments

Comments
 (0)