forked from mirrors/gecko-dev
Automatic update from web-platform-tests [css-writing-modes] tests propagation of writing-mode and direction from body to root (#18114) -- wpt-commits: 3da813a3818539a4ce3ca996281723ca9bc4c878 wpt-pr: 18114
22 lines
440 B
HTML
22 lines
440 B
HTML
<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>
|