From 8200d1f68b6d3c47c121ea4c609b5f4be333b219 Mon Sep 17 00:00:00 2001 From: Emil Militzer Date: Mon, 8 May 2023 17:46:17 +0200 Subject: LibWeb: Initial offset in reverse flex layout moved to opposite side This change moves the initial offset for justify-content: center to the opposite side if the flex layout is in the reverse direction. --- .../flex/flex-row-reverse-with-centered-content.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Tests/LibWeb/Layout/expected/flex/flex-row-reverse-with-centered-content.txt (limited to 'Tests/LibWeb/Layout/expected/flex') diff --git a/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-with-centered-content.txt b/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-with-centered-content.txt new file mode 100644 index 0000000000..87b0d6d69a --- /dev/null +++ b/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-with-centered-content.txt @@ -0,0 +1,19 @@ +Viewport <#document> at (0,0) content-size 800x600 children: not-inline + BlockContainer at (0,0) content-size 800x66 [BFC] children: not-inline + BlockContainer at (8,8) content-size 784x50 children: not-inline + Box at (8,8) content-size 784x50 flex-container(row-reverse) [FFC] children: not-inline + BlockContainer
at (425,8) content-size 50x50 flex-item [BFC] children: inline + line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [425,8 6.34375x17.46875] + "1" + TextNode <#text> + BlockContainer
at (375,8) content-size 50x50 flex-item [BFC] children: inline + line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [375,8 8.8125x17.46875] + "2" + TextNode <#text> + BlockContainer
at (325,8) content-size 50x50 flex-item [BFC] children: inline + line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125 + frag 0 from TextNode start: 0, length: 1, rect: [325,8 9.09375x17.46875] + "3" + TextNode <#text> -- cgit v1.2.3