summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html
new file mode 100644
index 0000000000..eaf4d566a2
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/reference/contain-style-breaks-004-ref.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html lang=en>
+ <meta charset=utf-8>
+ <title>CSS-contain test reference</title>
+ <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
+<style>
+article {
+ columns: 2 1ch;
+ column-gap: 0;
+ float: left;
+ font-family: monospace;
+ margin-right: 3em;
+ line-height: 1;
+ height: 4em;
+ column-fill: auto;
+}
+div:last-of-type {
+ break-before: column;
+}
+</style>
+
+<p>Test passes if there are two identical blocks “A” letters below.
+<article>
+ <div>A<br>A</div>
+ <div>A<br>A</div>
+</article>
+<article>
+ <div>A<br>A</div>
+ <div>A<br>A</div>
+</article>