summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/content-inserted-004.xhtml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/pagination/content-inserted-004.xhtml
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/pagination/content-inserted-004.xhtml')
-rw-r--r--layout/reftests/pagination/content-inserted-004.xhtml46
1 files changed, 46 insertions, 0 deletions
diff --git a/layout/reftests/pagination/content-inserted-004.xhtml b/layout/reftests/pagination/content-inserted-004.xhtml
new file mode 100644
index 0000000000..8a7dc6a699
--- /dev/null
+++ b/layout/reftests/pagination/content-inserted-004.xhtml
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <title>Content Inserted in Pagination after ::before</title>
+
+ <style type="text/css">
+ body {
+ font-size: 16px;
+ }
+
+ #colset {
+ height: 200px;
+ width: 450px;
+ column-width: 150px;
+ column-gap: 0;
+ column-fill: auto;
+ border: 3px solid silver;
+ }
+
+ #x {
+ height: 500px;
+ }
+
+ #x:before {
+ display: block;
+ height: 201px;
+ content: "";
+ border-bottom: 4px solid blue;
+ }
+
+ #shift {
+ height: 220px;
+ border-top: 4px solid blue;
+ }
+</style>
+</head>
+
+<body onload="document.getElementById('x').insertBefore(document.createTextNode('This must be in the second column between two 4px blue lines.'), document.getElementById('shift'))">
+
+<div id="colset">
+ <div id="x"><div id="shift"></div></div>
+</div>
+
+</body>
+
+</html>