From 9b0f58e00dc2dbceb4a72625d9224133d049d466 Mon Sep 17 00:00:00 2001 From: Ian Kilpatrick Date: Mon, 16 Mar 2020 15:49:11 -0700 Subject: [PATCH] [LayoutNG] Fix what replaced descendants resolve %-block-sizes... resolve against during the OOF-positioned min/max phase. Previously we resolved against the wrong %-block-size during the OOF-positioned min/max phase. The resulted in an incorrect size for the OOF-positioned node. This corrects what we resolve against. Change-Id: I24be784cfce1ec8cc416cdb286034e71f9c20358 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2105753 Commit-Queue: Ian Kilpatrick Reviewed-by: Christian Biesinger Reviewed-by: Aleks Totic Cr-Commit-Position: refs/heads/master@{#750741} --- .../abs-pos-with-replaced-child.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 css/css-writing-modes/abs-pos-with-replaced-child.html diff --git a/css/css-writing-modes/abs-pos-with-replaced-child.html b/css/css-writing-modes/abs-pos-with-replaced-child.html new file mode 100644 index 00000000000000..c68de4fb57b32f --- /dev/null +++ b/css/css-writing-modes/abs-pos-with-replaced-child.html @@ -0,0 +1,11 @@ + + + + + +

Test passes if there is a filled green square.

+
+
+ +
+