mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 21:07:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<style>
|
||||
/* These are the CSS values that the testcase rules should compute to: */
|
||||
.tb { writing-mode: vertical-rl; inline-size: 10em; }
|
||||
.tbrl { writing-mode: vertical-rl; }
|
||||
.lr { writing-mode: horizontal-tb; }
|
||||
</style>
|
||||
<div class=tb>
|
||||
Hello
|
||||
<span class=lr>horizontal</span>
|
||||
world
|
||||
</div>
|
||||
|
||||
<div>One <span class=tbrl>two</span> three</div>
|
||||
|
||||
<!-- replace the <span> contents with their computed writing-mode -->
|
||||
<script>
|
||||
var s = document.querySelectorAll("span");
|
||||
for (i = 0; i < s.length; i++) {
|
||||
s[i].textContent = window.getComputedStyle(s[i]).writingMode;
|
||||
}
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue