Skip to content

Commit

Permalink
[LayoutNG] Skip "replaced % resolution" quirk on ortho-roots.
Browse files Browse the repository at this point in the history
This is about an undocumented quirk. I raised
whatwg/quirks#46 for it.

LayoutNG currently cannot handle this situation, because we don't store
the inline-size to use in replaced percentage resolution (only the
block-size). However, I find it hard to believe that there'd be any
specific expectations to how this is supposed to work if a table cell
has a definite block-size, and a descendant establishes an orthogonal
writing-mode root. So just ignore it and use regular percentage size
resolution in these cases.

Bug: 967069
Change-Id: Iac61abe80f4f949017cc161855b2223ec4503812
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664075
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670126}
  • Loading branch information
mstensho authored and chromium-wpt-export-bot committed Jun 18, 2019
1 parent f64ccd6 commit a0ea38f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions quirks/table-replaced-descendant-percentage-height-crash.html
@@ -0,0 +1,14 @@
<!-- quirks mode -->
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://github.com/whatwg/quirks/issues/46">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=967069">
<div style="display:table-cell; height:10000px;">
<div style="writing-mode:vertical-rl;">
<iframe style="height:100%;"></iframe>
</div>
</div>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(()=> { }, "No crash");
</script>

0 comments on commit a0ea38f

Please sign in to comment.