mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
Automatic update from web-platform-tests Fix test/ref text different and remove expectations. Remove the remaining test failures for writing-mode propagation to viewport from TestExpectations. One of the tests had a missing period in the test text that caused it to fail, and the other one was fixed in the github repo, now passing. Bug: 988585 Change-Id: I307eb4453479a71529f6c96d87b299f22a7a2c36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1875263 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#708748} -- wpt-commits: e68120da0fb52f010f206f3ecc63cfa09885b0f4 wpt-pr: 19849 Differential Revision: https://phabricator.services.mozilla.com/D53442
29 lines
1,014 B
HTML
29 lines
1,014 B
HTML
<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::after {
|
|
content: "This text must be horizontal.";
|
|
display: block;
|
|
/* The writing mode inherited from the root must be horizontal
|
|
since the root's computed value should be horizontal */
|
|
|
|
}
|
|
</style>
|
|
<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>
|