From a0ea38f4c890ca07c01346807678b9ddd633b606 Mon Sep 17 00:00:00 2001 From: Morten Stenshorne Date: Tue, 18 Jun 2019 11:04:09 -0700 Subject: [PATCH] [LayoutNG] Skip "replaced % resolution" quirk on ortho-roots. This is about an undocumented quirk. I raised https://github.com/whatwg/quirks/issues/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 Reviewed-by: Christian Biesinger Commit-Queue: Morten Stenshorne Cr-Commit-Position: refs/heads/master@{#670126} --- ...eplaced-descendant-percentage-height-crash.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 quirks/table-replaced-descendant-percentage-height-crash.html diff --git a/quirks/table-replaced-descendant-percentage-height-crash.html b/quirks/table-replaced-descendant-percentage-height-crash.html new file mode 100644 index 00000000000000..385d6caf200940 --- /dev/null +++ b/quirks/table-replaced-descendant-percentage-height-crash.html @@ -0,0 +1,14 @@ + + + + +
+
+ +
+
+ + +