summaryrefslogtreecommitdiffstats
path: root/layout/reftests/inline-borderpadding
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/inline-borderpadding
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/inline-borderpadding')
-rw-r--r--layout/reftests/inline-borderpadding/left-ltr-ref.html10
-rw-r--r--layout/reftests/inline-borderpadding/left-rtl-ref.html10
-rw-r--r--layout/reftests/inline-borderpadding/ltr-basic.html19
-rw-r--r--layout/reftests/inline-borderpadding/ltr-ib.html19
-rw-r--r--layout/reftests/inline-borderpadding/ltr-span-only-ib.html19
-rw-r--r--layout/reftests/inline-borderpadding/ltr-span-only.html19
-rw-r--r--layout/reftests/inline-borderpadding/reftest.list8
-rw-r--r--layout/reftests/inline-borderpadding/right-ltr-ref.html10
-rw-r--r--layout/reftests/inline-borderpadding/right-rtl-ref.html10
-rw-r--r--layout/reftests/inline-borderpadding/rtl-basic.html19
-rw-r--r--layout/reftests/inline-borderpadding/rtl-ib.html19
-rw-r--r--layout/reftests/inline-borderpadding/rtl-span-only-ib.html19
-rw-r--r--layout/reftests/inline-borderpadding/rtl-span-only.html19
13 files changed, 200 insertions, 0 deletions
diff --git a/layout/reftests/inline-borderpadding/left-ltr-ref.html b/layout/reftests/inline-borderpadding/left-ltr-ref.html
new file mode 100644
index 0000000000..b56b5c0a71
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/left-ltr-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <div>
+ <span style="border: 2px solid; border-right-style: none; padding-left: 5px; margin-left: 30px;">One</span>
+ <br>
+ <span style="border: 2px solid; border-left-style: none; padding-right: 10px; margin-right: 60px;">Two</span>
+ </div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/left-rtl-ref.html b/layout/reftests/inline-borderpadding/left-rtl-ref.html
new file mode 100644
index 0000000000..90be5d49ab
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/left-rtl-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <div>
+ <span style="border: 2px solid; border-left-style: none; padding-right: 10px; margin-right: 60px;">One</span>
+ <br>
+ <span style="border: 2px solid; border-right-style: none; padding-left: 5px; margin-left: 30px;">Two</span>
+ </div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/ltr-basic.html b/layout/reftests/inline-borderpadding/ltr-basic.html
new file mode 100644
index 0000000000..3e74bf9bbf
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/ltr-basic.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div><span>One<br>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/ltr-ib.html b/layout/reftests/inline-borderpadding/ltr-ib.html
new file mode 100644
index 0000000000..1be81aa6aa
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/ltr-ib.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div><span>One<div></div>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/ltr-span-only-ib.html b/layout/reftests/inline-borderpadding/ltr-span-only-ib.html
new file mode 100644
index 0000000000..fdf311bae8
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/ltr-span-only-ib.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div class="r"><span class="l">One<div></div>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/ltr-span-only.html b/layout/reftests/inline-borderpadding/ltr-span-only.html
new file mode 100644
index 0000000000..c8bef7f1f5
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/ltr-span-only.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div class="r"><span class="l">One<br>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/reftest.list b/layout/reftests/inline-borderpadding/reftest.list
new file mode 100644
index 0000000000..94c8b55ddd
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/reftest.list
@@ -0,0 +1,8 @@
+== ltr-basic.html left-ltr-ref.html
+== rtl-basic.html right-rtl-ref.html
+== rtl-span-only.html left-rtl-ref.html
+== ltr-span-only.html right-ltr-ref.html
+== ltr-ib.html left-ltr-ref.html
+== rtl-ib.html right-rtl-ref.html
+== rtl-span-only-ib.html left-rtl-ref.html
+== ltr-span-only-ib.html right-ltr-ref.html
diff --git a/layout/reftests/inline-borderpadding/right-ltr-ref.html b/layout/reftests/inline-borderpadding/right-ltr-ref.html
new file mode 100644
index 0000000000..a8ccab45cb
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/right-ltr-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <div style="direction: rtl">
+ <span style="border: 2px solid; border-right-style: none; padding-left: 5px; margin-left: 30px;">One</span>
+ <br>
+ <span style="border: 2px solid; border-left-style: none; padding-right: 10px; margin-right: 60px;">Two</span>
+ </div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/right-rtl-ref.html b/layout/reftests/inline-borderpadding/right-rtl-ref.html
new file mode 100644
index 0000000000..c97d782f7a
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/right-rtl-ref.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <div style="direction: rtl">
+ <span style="border: 2px solid; border-left-style: none; padding-right: 10px; margin-right: 60px;">One</span>
+ <br>
+ <span style="border: 2px solid; border-right-style: none; padding-left: 5px; margin-left: 30px;">Two</span>
+ </div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/rtl-basic.html b/layout/reftests/inline-borderpadding/rtl-basic.html
new file mode 100644
index 0000000000..1bca96bf1a
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/rtl-basic.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div class="r"><span>One<br>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/rtl-ib.html b/layout/reftests/inline-borderpadding/rtl-ib.html
new file mode 100644
index 0000000000..6b52ab176c
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/rtl-ib.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div class="r"><span>One<div></div>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/rtl-span-only-ib.html b/layout/reftests/inline-borderpadding/rtl-span-only-ib.html
new file mode 100644
index 0000000000..6746f72b7d
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/rtl-span-only-ib.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div><span class="r">One<div></div>Two</span></div>
+ </body>
+</html>
diff --git a/layout/reftests/inline-borderpadding/rtl-span-only.html b/layout/reftests/inline-borderpadding/rtl-span-only.html
new file mode 100644
index 0000000000..30d302cc50
--- /dev/null
+++ b/layout/reftests/inline-borderpadding/rtl-span-only.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
+ <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-formatting"/>
+ <meta name="flags" content="" />
+ <style>
+ .r { direction: rtl; }
+ .l { direction: ltr; }
+ span { border: 2px solid; padding: 0 10px 0 5px; margin: 0 60px 0 30px; }
+ </style>
+ </head>
+ <body>
+ <div><span class="r">One<br>Two</span></div>
+ </body>
+</html>