From 04499b81ee8ced700a6d0c6cf57172cec98974e0 Mon Sep 17 00:00:00 2001 From: Alison Maher Date: Fri, 22 Oct 2021 12:40:28 -0700 Subject: [PATCH] [FlexNG] Item offsets when fragmenting In order to support an item that doesn't start in the first fragmentainer, the item offset must be adjusted to take the previously consumed block size into account. Test added for single-line column flex. Tests for the other container types will follow once fragmentation support is added. Bug: 660611 Change-Id: I60739077144ec729a81eb024c17dcfcd398c5ce2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3230383 Commit-Queue: Alison Maher Reviewed-by: Morten Stenshorne Cr-Commit-Position: refs/heads/main@{#934221} --- ...le-line-column-flex-fragmentation-004.html | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 css/css-break/flexbox/single-line-column-flex-fragmentation-004.html diff --git a/css/css-break/flexbox/single-line-column-flex-fragmentation-004.html b/css/css-break/flexbox/single-line-column-flex-fragmentation-004.html new file mode 100644 index 00000000000000..fd1e258994b8f6 --- /dev/null +++ b/css/css-break/flexbox/single-line-column-flex-fragmentation-004.html @@ -0,0 +1,33 @@ + + + Single-line column flex fragmentation. + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+
+