summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/writing-mode/orthogonal-writing-modes-change-root-inline-crash.html
blob: 08575727fe31022b4c2f3fde5ce676d651dff9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<style>
html {
  writing-mode:vertical-rl;
}
#h {
  writing-mode: horizontal-tb;
}
</style>
<span>
  <span id="h">Test passes if it does not crash.</span>
</span>
<script>
window.onload = function() {
  var root = document.documentElement;
  root.style.writingMode = "horizontal-tb";

  if (window.testRunner)
    testRunner.dumpAsText();
}
</script>