diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/tab-size | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/tab-size')
20 files changed, 138 insertions, 0 deletions
diff --git a/layout/reftests/tab-size/reftest-stylo.list b/layout/reftests/tab-size/reftest-stylo.list new file mode 100644 index 000000000..1fc9ed7a1 --- /dev/null +++ b/layout/reftests/tab-size/reftest-stylo.list @@ -0,0 +1,12 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +== tab-size-8.html tab-size-8.html +== tab-size-8.html tab-size-8.html +== tab-size-4.html tab-size-4.html +== tab-size-4-span.html tab-size-4-span.html +== tab-size-4-spanoffset.html tab-size-4-spanoffset.html +== tab-size-4-multiple.html tab-size-4-multiple.html +== tab-size-1.html tab-size-1.html +== tab-size-0.html tab-size-0.html +== tab-size-negative.html tab-size-negative.html +== tab-size-change-1a.html tab-size-change-1a.html +== tab-size-change-1b.html tab-size-change-1b.html diff --git a/layout/reftests/tab-size/reftest.list b/layout/reftests/tab-size/reftest.list new file mode 100644 index 000000000..b45472585 --- /dev/null +++ b/layout/reftests/tab-size/reftest.list @@ -0,0 +1,11 @@ +== tab-size-8.html tab-size-initial.html +== tab-size-8.html spaces-8.html +== tab-size-4.html spaces-4.html +== tab-size-4-span.html spaces-4.html +== tab-size-4-spanoffset.html spaces-4-offset.html +== tab-size-4-multiple.html spaces-4-multiple.html +== tab-size-1.html spaces-1.html +== tab-size-0.html spaces-0.html +== tab-size-negative.html tab-size-initial.html +== tab-size-change-1a.html tab-size-change-1-ref.html +== tab-size-change-1b.html tab-size-change-1-ref.html diff --git a/layout/reftests/tab-size/spaces-0.html b/layout/reftests/tab-size/spaces-0.html new file mode 100644 index 000000000..188cb6af8 --- /dev/null +++ b/layout/reftests/tab-size/spaces-0.html @@ -0,0 +1 @@ +<pre>AX</pre> diff --git a/layout/reftests/tab-size/spaces-1.html b/layout/reftests/tab-size/spaces-1.html new file mode 100644 index 000000000..488e943b3 --- /dev/null +++ b/layout/reftests/tab-size/spaces-1.html @@ -0,0 +1 @@ +<pre>A X</pre> diff --git a/layout/reftests/tab-size/spaces-4-multiple.html b/layout/reftests/tab-size/spaces-4-multiple.html new file mode 100644 index 000000000..070a9f771 --- /dev/null +++ b/layout/reftests/tab-size/spaces-4-multiple.html @@ -0,0 +1 @@ +<pre>A XYZ MNO</pre> diff --git a/layout/reftests/tab-size/spaces-4-offset.html b/layout/reftests/tab-size/spaces-4-offset.html new file mode 100644 index 000000000..0aea1aaa7 --- /dev/null +++ b/layout/reftests/tab-size/spaces-4-offset.html @@ -0,0 +1,6 @@ +<pre>123456B Z +1234567B Z +12345678B Z +123456789B Z +1234567890B Z +12345678901B Z</pre> diff --git a/layout/reftests/tab-size/spaces-4.html b/layout/reftests/tab-size/spaces-4.html new file mode 100644 index 000000000..ae32ea014 --- /dev/null +++ b/layout/reftests/tab-size/spaces-4.html @@ -0,0 +1 @@ +<pre>A X</pre> diff --git a/layout/reftests/tab-size/spaces-8.html b/layout/reftests/tab-size/spaces-8.html new file mode 100644 index 000000000..383983423 --- /dev/null +++ b/layout/reftests/tab-size/spaces-8.html @@ -0,0 +1 @@ +<pre>A X</pre> diff --git a/layout/reftests/tab-size/tab-size-0.html b/layout/reftests/tab-size/tab-size-0.html new file mode 100644 index 000000000..59e0661a1 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-0.html @@ -0,0 +1,2 @@ +<!-- this test will never insert a space --> +<pre style="-moz-tab-size: 0">A	X</pre> diff --git a/layout/reftests/tab-size/tab-size-1.html b/layout/reftests/tab-size/tab-size-1.html new file mode 100644 index 000000000..ddeef47c3 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-1.html @@ -0,0 +1,2 @@ +<!-- this test will always insert a space --> +<pre style="-moz-tab-size: 1">A	X</pre> diff --git a/layout/reftests/tab-size/tab-size-4-multiple.html b/layout/reftests/tab-size/tab-size-4-multiple.html new file mode 100644 index 000000000..db8d04c67 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-4-multiple.html @@ -0,0 +1 @@ +<pre style="-moz-tab-size: 4">A	XYZ	MNO</pre> diff --git a/layout/reftests/tab-size/tab-size-4-span.html b/layout/reftests/tab-size/tab-size-4-span.html new file mode 100644 index 000000000..a07a679a3 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-4-span.html @@ -0,0 +1 @@ +<pre><span style="-moz-tab-size: 4">A	X</span></pre> diff --git a/layout/reftests/tab-size/tab-size-4-spanoffset.html b/layout/reftests/tab-size/tab-size-4-spanoffset.html new file mode 100644 index 000000000..cf7a53815 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-4-spanoffset.html @@ -0,0 +1,6 @@ +<pre>123456<span style="-moz-tab-size: 4">B	Z</span> +1234567<span style="-moz-tab-size: 4">B	Z</span> +12345678<span style="-moz-tab-size: 4">B	Z</span> +123456789<span style="-moz-tab-size: 4">B	Z</span> +1234567890<span style="-moz-tab-size: 4">B	Z</span> +12345678901<span style="-moz-tab-size: 4">B	Z</span></pre> diff --git a/layout/reftests/tab-size/tab-size-4.html b/layout/reftests/tab-size/tab-size-4.html new file mode 100644 index 000000000..6d744e8a9 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-4.html @@ -0,0 +1 @@ +<pre style="-moz-tab-size: 4">A	X</pre> diff --git a/layout/reftests/tab-size/tab-size-8.html b/layout/reftests/tab-size/tab-size-8.html new file mode 100644 index 000000000..3e0dd4971 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-8.html @@ -0,0 +1 @@ +<pre style="-moz-tab-size: 8">A	X</pre> diff --git a/layout/reftests/tab-size/tab-size-change-1-ref.html b/layout/reftests/tab-size/tab-size-change-1-ref.html new file mode 100644 index 000000000..12cfdd39a --- /dev/null +++ b/layout/reftests/tab-size/tab-size-change-1-ref.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> +<style type="text/css"> +body { + font-family: serif; + padding: 2px; +} +span { + padding: 2px; +} +</style> +</head> +<body> +<div style="white-space: pre"> +<span>one</span>	<span>two</span>	<span>three</span>	<span>four</span>	<span>five</span> +<span>six</span>	<span>seven</span>	<span>eight</span>	<span>nine</span>	<span>ten</span> +</div> +</body> +</html> diff --git a/layout/reftests/tab-size/tab-size-change-1a.html b/layout/reftests/tab-size/tab-size-change-1a.html new file mode 100644 index 000000000..8ef01f3d3 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-change-1a.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> +<style type="text/css"> +body { + font-family: serif; + padding: 2px; +} +span { + padding: 2px; +} +.a { + -moz-tab-size: 16; +} +</style> +<script type="text/javascript"> +function do_test() { + var elem = document.getElementById("test"); + elem.removeAttribute('class'); + document.documentElement.removeAttribute('class'); +}; +document.addEventListener("MozReftestInvalidate", do_test, false); +</script> +</head> +<!-- test for modification of tab widths, see comment at + https://bugzilla.mozilla.org/show_bug.cgi?id=631035#c38 --> +<body> +<div style="white-space: pre" id="test" class="a"> +<span>one</span>	<span>two</span>	<span>three</span>	<span>four</span>	<span>five</span> +<span>six</span>	<span>seven</span>	<span>eight</span>	<span>nine</span>	<span>ten</span> +</div> +</body> +</html> diff --git a/layout/reftests/tab-size/tab-size-change-1b.html b/layout/reftests/tab-size/tab-size-change-1b.html new file mode 100644 index 000000000..528765210 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-change-1b.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> +<style type="text/css"> +body { + font-family: serif; + padding: 2px; +} +span { + padding: 2px; +} +</style> +<script type="text/javascript"> +function do_test() { + var elems = ["one","two","three","four","five","six","seven","eight","nine","ten"]; + for (key in elems) { + var e = document.getElementById(elems[key]); + e.innerHTML = elems[key]; + } + document.documentElement.removeAttribute('class'); +}; +document.addEventListener("MozReftestInvalidate", do_test, false); +</script> +</head> +<!-- Test for modification of text with preformatted tabs, see + https://bugzilla.mozilla.org/show_bug.cgi?id=631035#c38. + In the first line, the tabs remain at the same offsets but widths will change; + in the second line, their offsets will also change. --> +<body> +<div style="white-space: pre"> +<span id="one">iii</span>	<span id="two">iii</span>	<span id="three">mmmmm</span>	<span id="four">mmmm</span>	<span id="five">mmmm</span> +<span id="six">x</span>	<span id="seven">x</span>	<span id="eight">x</span>	<span id="nine">x</span>	<span id="ten">x</span> +</div> +</body> +</html> diff --git a/layout/reftests/tab-size/tab-size-initial.html b/layout/reftests/tab-size/tab-size-initial.html new file mode 100644 index 000000000..e8682d399 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-initial.html @@ -0,0 +1 @@ +<pre>A	X</pre> diff --git a/layout/reftests/tab-size/tab-size-negative.html b/layout/reftests/tab-size/tab-size-negative.html new file mode 100644 index 000000000..3b8015441 --- /dev/null +++ b/layout/reftests/tab-size/tab-size-negative.html @@ -0,0 +1 @@ +<pre style="-moz-tab-size: -4">A	X</pre> |