Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-writing-modes/bidi-inline-fragment-crash.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<title>CSS Writing Modes Test: many levels of bidi inline fragmentations does not crash</title>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
span {
  border: blue solid 2px;
}
</style>
<body>
<div>
  <span>
    1‮2‭
    <span>3‮4‭
      <span>5‮6‭
        <span>7‮8‭</span>
      </span>
    </span>
  </span>
  x
</div>
<script>
test(() => {
  document.body.offsetTop;
});
</script>
</body>