summaryrefslogtreecommitdiff
path: root/Tests/LibWeb/Layout/input
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibWeb/Layout/input')
-rw-r--r--Tests/LibWeb/Layout/input/flex/calc-flex-basis.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/Tests/LibWeb/Layout/input/flex/calc-flex-basis.html b/Tests/LibWeb/Layout/input/flex/calc-flex-basis.html
new file mode 100644
index 0000000000..c9a8a2f49a
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/flex/calc-flex-basis.html
@@ -0,0 +1,18 @@
+<!doctype html><style>
+* {
+ border: 1px solid black;
+ box-sizing: border-box;
+ font: 20px SerenitySans;
+}
+.flex-container {
+ display: flex;
+ flex-wrap: wrap;
+ background: pink;
+ column-gap: 1px;
+}
+.flex-item {
+ flex-basis: calc(50% - 1px);
+ background: orange;
+ height: 30px;
+}
+</style><div class="flex-container"><div class="flex-item">Item 1</div><div class="flex-item">Item 2</div><div class="flex-item">Item 3</div><div class="flex-item">Item 4</div></div> \ No newline at end of file