diff options
Diffstat (limited to 'layout/reftests/inline-borderpadding')
14 files changed, 209 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 000000000..b56b5c0a7 --- /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 000000000..90be5d49a --- /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 000000000..3e74bf9bb --- /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 000000000..1be81aa6a --- /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 000000000..fdf311bae --- /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 000000000..c8bef7f1f --- /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-stylo.list b/layout/reftests/inline-borderpadding/reftest-stylo.list new file mode 100644 index 000000000..650b0437b --- /dev/null +++ b/layout/reftests/inline-borderpadding/reftest-stylo.list @@ -0,0 +1,9 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +skip == ltr-basic.html ltr-basic.html +skip == rtl-basic.html rtl-basic.html +skip == rtl-span-only.html rtl-span-only.html +skip == ltr-span-only.html ltr-span-only.html +skip == ltr-ib.html ltr-ib.html +skip == rtl-ib.html rtl-ib.html +skip == rtl-span-only-ib.html rtl-span-only-ib.html +skip == ltr-span-only-ib.html ltr-span-only-ib.html diff --git a/layout/reftests/inline-borderpadding/reftest.list b/layout/reftests/inline-borderpadding/reftest.list new file mode 100644 index 000000000..94c8b55dd --- /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 000000000..a8ccab45c --- /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 000000000..c97d782f7 --- /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 000000000..1bca96bf1 --- /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 000000000..6b52ab176 --- /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 000000000..6746f72b7 --- /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 000000000..30d302cc5 --- /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> |