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/forms/textbox | |
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/forms/textbox')
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-1-notref.xul | 35 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-1.xul | 35 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-2-ref.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-2.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-3-notref.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-3-ref.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-3.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-4-notref.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-4-ref.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/accesskey-4.xul | 36 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/align-baseline-1-ref.xul | 26 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/align-baseline-1.xul | 34 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/reftest-stylo.list | 28 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/reftest.list | 11 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/setsize-ref.xul | 9 | ||||
-rw-r--r-- | layout/reftests/forms/textbox/setsize.xul | 8 |
16 files changed, 474 insertions, 0 deletions
diff --git a/layout/reftests/forms/textbox/accesskey-1-notref.xul b/layout/reftests/forms/textbox/accesskey-1-notref.xul new file mode 100644 index 000000000..697d10879 --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-1-notref.xul @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <label value="test"/> + <textbox value="text"/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-1.xul b/layout/reftests/forms/textbox/accesskey-1.xul new file mode 100644 index 000000000..39ad15b2d --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-1.xul @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <label value="test" accesskey="s"/> + <textbox value="text"/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-2-ref.xul b/layout/reftests/forms/textbox/accesskey-2-ref.xul new file mode 100644 index 000000000..ce6ed1ebc --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-2-ref.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in LTR-overridden Arabic text --> + <label value="‭يبرعلا‬ test" accesskey="ع"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-2.xul b/layout/reftests/forms/textbox/accesskey-2.xul new file mode 100644 index 000000000..98b2c272b --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-2.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in RTL Arabic text --> + <label value="العربي test" accesskey="ع"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-3-notref.xul b/layout/reftests/forms/textbox/accesskey-3-notref.xul new file mode 100644 index 000000000..1a81e2811 --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-3-notref.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- no access key, for != test --> + <label value="العربي hello world"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-3-ref.xul b/layout/reftests/forms/textbox/accesskey-3-ref.xul new file mode 100644 index 000000000..b7907e9a6 --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-3-ref.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in LTR text that follows RTL text (mixed direction) --> + <label value="العربي hello world" accesskey="d"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-3.xul b/layout/reftests/forms/textbox/accesskey-3.xul new file mode 100644 index 000000000..97e2c6fbc --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-3.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in RTL-overridden English text --> + <label value="العربي hello ‮dlrow‬" accesskey="d"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-4-notref.xul b/layout/reftests/forms/textbox/accesskey-4-notref.xul new file mode 100644 index 000000000..1a81e2811 --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-4-notref.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- no access key, for != test --> + <label value="العربي hello world"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-4-ref.xul b/layout/reftests/forms/textbox/accesskey-4-ref.xul new file mode 100644 index 000000000..df787415f --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-4-ref.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in English text following LTR-overridden Arabic --> + <label value="‭يبرعلا‬ hello world" accesskey="w"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/accesskey-4.xul b/layout/reftests/forms/textbox/accesskey-4.xul new file mode 100644 index 000000000..d63bafbc5 --- /dev/null +++ b/layout/reftests/forms/textbox/accesskey-4.xul @@ -0,0 +1,36 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox access key tests (see bug 698185)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + font-size: 36px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <!-- access key in English text following RTL Arabic --> + <label value="العربي hello world" accesskey="w"/> + <textbox value=""/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/align-baseline-1-ref.xul b/layout/reftests/forms/textbox/align-baseline-1-ref.xul new file mode 100644 index 000000000..646e412de --- /dev/null +++ b/layout/reftests/forms/textbox/align-baseline-1-ref.xul @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox align=baseline reference" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + #container { + margin-top: 12px; + padding-top: 8px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + </html:style> + + <hbox id="container" align="center"> + <label value="test"/> + <textbox value="text"/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/align-baseline-1.xul b/layout/reftests/forms/textbox/align-baseline-1.xul new file mode 100644 index 000000000..711e1858a --- /dev/null +++ b/layout/reftests/forms/textbox/align-baseline-1.xul @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/"?> +<window title="textbox align=baseline test (bug 494901)" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml"> + <html:style type="text/css"> + hbox { + margin-top: 0px; + padding-top: 0px; + } + label, textbox { + -moz-appearance: none; + background: inherit; + border: none 0px; + } + label { + margin-top: 0px; + padding-top: 0px; + margin-bottom: 0px; + padding-bottom: 0px; + } + textbox { + margin-top: 12px; + padding-top: 8px; + margin-bottom: 5px; + padding-bottom: 9px; + } + </html:style> + + <hbox align="baseline"> + <label value="test"/> + <textbox value="text"/> + </hbox> +</window> diff --git a/layout/reftests/forms/textbox/reftest-stylo.list b/layout/reftests/forms/textbox/reftest-stylo.list new file mode 100644 index 000000000..f14a2c20a --- /dev/null +++ b/layout/reftests/forms/textbox/reftest-stylo.list @@ -0,0 +1,28 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +# access-key tests are no use on OS X because access keys are not indicated visually +# no real XUL theme on Android so we just skip +skip-if(cocoaWidget||((B2G&&browserIsRemote)||Mulet)||Android) == accesskey-1.xul accesskey-1.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if(cocoaWidget||((B2G&&browserIsRemote)||Mulet)||Android) == accesskey-2.xul accesskey-2.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +# accesskey-3 fails because of defects in XUL bidi support +skip == accesskey-3.xul accesskey-3.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if(cocoaWidget||((B2G&&browserIsRemote)||Mulet)||Android) == accesskey-3.xul accesskey-3.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if(cocoaWidget||((B2G&&browserIsRemote)||Mulet)||Android) == accesskey-4.xul accesskey-4.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if(cocoaWidget||((B2G&&browserIsRemote)||Mulet)||Android) == accesskey-4.xul accesskey-4.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if((B2G&&browserIsRemote)||Mulet||Android) == align-baseline-1.xul align-baseline-1.xul +# test for bug 494901 +# Initial mulet triage: parity with B2G/B2G Desktop +skip-if(B2G||Mulet||Android) == setsize.xul setsize.xul +# bug 974780 +# Initial mulet triage: parity with B2G/B2G Desktop diff --git a/layout/reftests/forms/textbox/reftest.list b/layout/reftests/forms/textbox/reftest.list new file mode 100644 index 000000000..eb0b8fc9d --- /dev/null +++ b/layout/reftests/forms/textbox/reftest.list @@ -0,0 +1,11 @@ +# access-key tests are no use on OS X because access keys are not indicated visually +# no real XUL theme on Android so we just skip +skip-if(cocoaWidget||Android) != accesskey-1.xul accesskey-1-notref.xul +skip-if(cocoaWidget||Android) == accesskey-2.xul accesskey-2-ref.xul +# accesskey-3 fails because of defects in XUL bidi support +fails-if(!cocoaWidget) skip-if(cocoaWidget||Android) == accesskey-3.xul accesskey-3-ref.xul +skip-if(cocoaWidget||Android) != accesskey-3.xul accesskey-3-notref.xul +skip-if(cocoaWidget||Android) == accesskey-4.xul accesskey-4-ref.xul +skip-if(cocoaWidget||Android) != accesskey-4.xul accesskey-4-notref.xul +skip-if(Android) == align-baseline-1.xul align-baseline-1-ref.xul # test for bug 494901 +skip-if(Android) == setsize.xul setsize-ref.xul diff --git a/layout/reftests/forms/textbox/setsize-ref.xul b/layout/reftests/forms/textbox/setsize-ref.xul new file mode 100644 index 000000000..ca0d30e72 --- /dev/null +++ b/layout/reftests/forms/textbox/setsize-ref.xul @@ -0,0 +1,9 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> + +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"> + +<hbox style="-moz-appearance: textfield-multiline; width: 200px; height: 200px;"/> +<html:div style="position:fixed;top:0;left:0;width:100%;height:100%;"></html:div> + +</window> diff --git a/layout/reftests/forms/textbox/setsize.xul b/layout/reftests/forms/textbox/setsize.xul new file mode 100644 index 000000000..30d2face1 --- /dev/null +++ b/layout/reftests/forms/textbox/setsize.xul @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> + +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"> + +<html:textarea style="width: 200px; height: 200px; margin: 0; resize: none;"/> +<html:div style="position:fixed;top:0;left:0;width:100%;height:100%;"></html:div> +</window> |