summaryrefslogtreecommitdiffstats
path: root/layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html101
1 files changed, 101 insertions, 0 deletions
diff --git a/layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html b/layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html
new file mode 100644
index 0000000000..cab3cc4cd9
--- /dev/null
+++ b/layout/reftests/webkit-box/webkit-box-anon-flex-items-1-ref.html
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>
+ Reference Case
+ </title>
+ <style>
+ .container {
+ display: flex;
+ justify-content: space-between;
+ width: 300px;
+ border: 1px solid black;
+ font: 10px sans-serif;
+ margin-bottom: 10px;
+ }
+ .container > * {
+ background: lightgray;
+ }
+
+ .fakeAnonWrapper {
+ background: none;
+ }
+ .fakeAnonWrapper > * {
+ background: lightgray;
+ }
+ .table {
+ display: table;
+ }
+ </style>
+</head>
+<body>
+<!-- We use an explicit div (with class "fakeAnonWrapper") here, to match the
+ anonymous div that the testcase is expected to generate around contiguous
+ runs of inline content. -->
+<div class="container">
+ <div class="fakeAnonWrapper">
+ a
+ <i>i</i><img src="bogus"><img src="bogus" alt="alt">
+ <canvas height="5" width="5"></canvas>
+ <video height="5" width="5"></video>
+ <div style="display:inline-block">ib</div>
+ <div style="display:inline-table">it</div>
+ z
+ </div>
+ <div>block</div>
+ <div>block</div>
+</div>
+
+<div class="container">
+ <div>block</div>
+ <div class="fakeAnonWrapper">
+ a
+ <i>i</i><img src="bogus"><img src="bogus" alt="alt">
+ <canvas height="5" width="5"></canvas>
+ <video height="5" width="5"></video>
+ <div style="display:inline-block">ib</div>
+ <div style="display:inline-table">it</div>
+ z
+ </div>
+ <div>block</div>
+</div>
+
+<div class="container">
+ <div>block</div>
+ <div>block</div>
+ <div class="fakeAnonWrapper">
+ a
+ <i>i</i><img src="bogus"><img src="bogus" alt="alt">
+ <canvas height="5" width="5"></canvas>
+ <video height="5" width="5"></video>
+ <div style="display:inline-block">ib</div>
+ <div style="display:inline-table">it</div>
+ z
+ </div>
+</div>
+
+<!-- We use explicit divs here for each anonymous wrapper-box that the testcase
+ is expected to produce (with class "fakeAnonWrapper", and also "table" if
+ it's expected to be a table wrapper) -->
+<div class="container">
+ <div class="fakeAnonWrapper">a</div>
+ <div class="fakeAnonWrapper table">
+ <div style="display: table-cell">tc</div>
+ <div style="display: table-cell">tc</div>
+ </div>
+ <div class="fakeAnonWrapper">b</div>
+ <div class="fakeAnonWrapper table">
+ <div style="display: table-row">tr</div>
+ <div style="display: table-cell">tc</div>
+ </div>
+ <div class="fakeAnonWrapper">c</div>
+ <div class="fakeAnonWrapper table">
+ <div style="display: table-row">tr</div>
+ <div style="display: table-row-group">trg</div>
+ </div>
+ <div class="fakeAnonWrapper">d</div>
+ <table><tbody><tr><td>t</td></tr></tbody></table>
+ <div class="fakeAnonWrapper">e</div>
+</div>
+</body>
+</html>