From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../tests/css/css-flexbox/box-sizing-001.html | 108 +++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 testing/web-platform/tests/css/css-flexbox/box-sizing-001.html (limited to 'testing/web-platform/tests/css/css-flexbox/box-sizing-001.html') diff --git a/testing/web-platform/tests/css/css-flexbox/box-sizing-001.html b/testing/web-platform/tests/css/css-flexbox/box-sizing-001.html new file mode 100644 index 0000000000..a11762696e --- /dev/null +++ b/testing/web-platform/tests/css/css-flexbox/box-sizing-001.html @@ -0,0 +1,108 @@ + + +CSS Flexbox: box-sizing + + + + + + + + + + +
+ +All blue boxes are 100x100px with box-sizing: border-box and 2px border (4px border-top), we expect offsetWidth/Height to be 100x100 + +

flex-flow: default, orange box has width: 300px

+
+
+
+ +

flex-flow: default, orange box has width: 400px

+
+
+
+ +

flex-flow: default, orange box has width: auto

+
+
+
+ +

flex-flow: default, orange box has width: auto, flex-box has box-sizing: border-box

+
+
+
+
+
+ +

flex-flow: column, red box has height: 300px

+
+
+
+ +

flex-flow: column, red box has height: 400px

+
+
+
+ +

flex-flow: column, red box has height: auto

+
+
+
+ +

flex-box has box-sizing: border-box and flex-wrap: wrap;

+
+
+
+ +

flex-box has box-sizing: default and flex-wrap: wrap;

+
+
+
+ +

flex-flow: column, flex-box has box-sizing: border-box, flex items have flex: 1

+
+
+
+
+
+ + + + -- cgit v1.2.3