mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 11:27:32 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
14
editor/reftests/xul/autocomplete-1.xul
Normal file
14
editor/reftests/xul/autocomplete-1.xul
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<!-- leading space in the value to ensure no pixels of t get clipped
|
||||
in one rendering but not the other -->
|
||||
<textbox type="autocomplete" value=" test"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/autocomplete-ref.xul
Normal file
13
editor/reftests/xul/autocomplete-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input class="ac" value=" test"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/empty-1.xul
Normal file
13
editor/reftests/xul/empty-1.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="placeholder-reset.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox placeholder=" test"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/empty-2.xul
Normal file
12
editor/reftests/xul/empty-2.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox placeholder=" test" value="value"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/empty-ref.xul
Normal file
13
editor/reftests/xul/empty-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input class="empty" value=" test"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptyautocomplete-1.xul
Normal file
12
editor/reftests/xul/emptyautocomplete-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="autocomplete"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/emptyautocomplete-ref.xul
Normal file
13
editor/reftests/xul/emptyautocomplete-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input class="ac"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/emptymultiline-1.xul
Normal file
13
editor/reftests/xul/emptymultiline-1.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox multiline="true"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/emptymultiline-2.xul
Normal file
13
editor/reftests/xul/emptymultiline-2.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox multiline="true" rows="10"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/emptymultiline-ref.xul
Normal file
13
editor/reftests/xul/emptymultiline-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:textarea rows="10" style="resize: none;"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptytextbox-1.xul
Normal file
12
editor/reftests/xul/emptytextbox-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptytextbox-2.xul
Normal file
12
editor/reftests/xul/emptytextbox-2.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="password"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptytextbox-3.xul
Normal file
12
editor/reftests/xul/emptytextbox-3.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptytextbox-4.xul
Normal file
12
editor/reftests/xul/emptytextbox-4.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="search"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/emptytextbox-5.xul
Normal file
12
editor/reftests/xul/emptytextbox-5.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="timed"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/emptytextbox-ref.xul
Normal file
13
editor/reftests/xul/emptytextbox-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input/>
|
||||
|
||||
</window>
|
||||
70
editor/reftests/xul/input.css
Normal file
70
editor/reftests/xul/input.css
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
|
||||
@namespace html url('http://www.w3.org/1999/xhtml');
|
||||
|
||||
#mac html|input, #mac html|textarea {
|
||||
margin: 4px;
|
||||
padding: 0 1px;
|
||||
}
|
||||
|
||||
#win html|input, #win html|textarea {
|
||||
margin: 2px 4px;
|
||||
padding: 2px 3px 3px;
|
||||
padding-inline-start: 5px;
|
||||
}
|
||||
|
||||
#win html|input:-moz-system-metric(windows-default-theme) {
|
||||
padding: 1px 2px 2px;
|
||||
padding-inline-start: 4px;
|
||||
}
|
||||
|
||||
#linux html|input, #linux html|textarea {
|
||||
margin: 2px 4px;
|
||||
padding: 2px 5px 3px;
|
||||
}
|
||||
|
||||
textbox[multiline="true"], html|textarea {
|
||||
border: none !important;
|
||||
-moz-appearance: none !important;
|
||||
background-color: white !important;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
html|input, html|textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
html|input.ac {
|
||||
padding: 0 4px !important;
|
||||
}
|
||||
|
||||
html|input.empty {
|
||||
color: graytext;
|
||||
}
|
||||
|
||||
:root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
html|input.num {
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
#mac html|input.num {
|
||||
margin-inline-end: 8px;
|
||||
}
|
||||
|
||||
#win html|input.num {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
#linux html|input.num {
|
||||
margin-inline-end: 3px;
|
||||
padding: 3px 4px;
|
||||
}
|
||||
|
||||
html|div.plainfield {
|
||||
color: -moz-fieldtext;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
12
editor/reftests/xul/number-1.xul
Normal file
12
editor/reftests/xul/number-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/number-2.xul
Normal file
12
editor/reftests/xul/number-2.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number" hidespinbuttons="false"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/number-3.xul
Normal file
12
editor/reftests/xul/number-3.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number" hidespinbuttons="true"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/number-4.xul
Normal file
12
editor/reftests/xul/number-4.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number" value="1" hidespinbuttons="true"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/number-5.xul
Normal file
12
editor/reftests/xul/number-5.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number" value="test" hidespinbuttons="true"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/number-ref.xul
Normal file
13
editor/reftests/xul/number-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input value="0" class="num"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/numberwithvalue-1.xul
Normal file
12
editor/reftests/xul/numberwithvalue-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="number" value="123" hidespinbuttons="true"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/numberwithvalue-ref.xul
Normal file
13
editor/reftests/xul/numberwithvalue-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input value="123" class="num"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/passwd-1.xul
Normal file
12
editor/reftests/xul/passwd-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="password" value="test"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/passwd-2.xul
Normal file
12
editor/reftests/xul/passwd-2.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox type="password" value="abcd"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/passwd-3.xul
Normal file
12
editor/reftests/xul/passwd-3.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox value="test"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/passwd-ref.xul
Normal file
13
editor/reftests/xul/passwd-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input type="password" value="test"/>
|
||||
|
||||
</window>
|
||||
8
editor/reftests/xul/placeholder-reset.css
Normal file
8
editor/reftests/xul/placeholder-reset.css
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
|
||||
@namespace html url('http://www.w3.org/1999/xhtml');
|
||||
|
||||
/* We need to have a non-transparent placeholder so we can test it. */
|
||||
html|input::placeholder {
|
||||
opacity: 1.0;
|
||||
color: graytext;
|
||||
}
|
||||
12
editor/reftests/xul/plain-1.xul
Normal file
12
editor/reftests/xul/plain-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox value=" test" class="plain"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/plain-ref.xul
Normal file
13
editor/reftests/xul/plain-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:div class="plainfield"> test</html:div>
|
||||
|
||||
</window>
|
||||
28
editor/reftests/xul/platform.js
Normal file
28
editor/reftests/xul/platform.js
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
// The appearance of XUL elements is platform-specific, so we set the
|
||||
// style of the root element according to the platform, so that the
|
||||
// CSS code inside input.css can select the correct styles for each
|
||||
// platform.
|
||||
|
||||
var id;
|
||||
var ua = navigator.userAgent;
|
||||
|
||||
if (/Windows/.test(ua)) {
|
||||
id = "win";
|
||||
if (/NT 5\.1/.test(ua) || /NT 5\.2; Win64/.test(ua))
|
||||
var classname = "winxp";
|
||||
}
|
||||
else if (/Linux/.test(ua))
|
||||
id = "linux";
|
||||
else if (/SunOS/.test(ua))
|
||||
id = "linux";
|
||||
else if (/Mac OS X/.test(ua))
|
||||
id = "mac";
|
||||
|
||||
if (id)
|
||||
document.documentElement.setAttribute("id", id);
|
||||
else
|
||||
document.documentElement.appendChild(
|
||||
document.createTextNode("Unrecognized platform")
|
||||
);
|
||||
if (classname)
|
||||
document.documentElement.setAttribute("class", classname);
|
||||
67
editor/reftests/xul/reftest-stylo.list
Normal file
67
editor/reftests/xul/reftest-stylo.list
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == empty-1.xul empty-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == empty-2.xul empty-2.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
# There is no way to simulate an autocomplete textbox in windows XP/Vista/7/8/10 default theme using CSS.
|
||||
# Therefore, the equlity tests below should be marked as failing.
|
||||
fails-if(Android||B2G) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet) == autocomplete-1.xul autocomplete-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet) == emptyautocomplete-1.xul emptyautocomplete-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == emptymultiline-1.xul emptymultiline-1.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet) == emptymultiline-2.xul emptymultiline-2.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == emptytextbox-1.xul emptytextbox-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == emptytextbox-2.xul emptytextbox-2.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
fails skip-if((B2G&&browserIsRemote)||Mulet) == emptytextbox-3.xul emptytextbox-3.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == emptytextbox-4.xul emptytextbox-4.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == emptytextbox-5.xul emptytextbox-5.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
# There is no way to simulate a number textbox in windows XP/Vista/7 default theme using CSS.
|
||||
# Therefore, the equlity tests below should be marked as failing.
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == number-1.xul number-1.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == number-2.xul number-2.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet) == number-3.xul number-3.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == number-4.xul number-4.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet) == number-5.xul number-5.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet) == numberwithvalue-1.xul numberwithvalue-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == passwd-1.xul passwd-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||((browserIsRemote&&winWidget))) == passwd-2.xul passwd-2.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == passwd-3.xul passwd-3.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet) == plain-1.xul plain-1.xul
|
||||
# bug 783658
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
fails-if(Android||B2G) skip-if((B2G&&browserIsRemote)||Mulet||(browserIsRemote&&winWidget)) == textbox-1.xul textbox-1.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
skip-if((B2G&&browserIsRemote)||Mulet) == textbox-disabled.xul textbox-disabled.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop
|
||||
# Read-only textboxes look like normal textboxes in windows Vista/7 default theme
|
||||
fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(6\.[012]|10\.0)/.test(http.oscpu)) skip-if((B2G&&browserIsRemote)||Mulet||(browserIsRemote&&winWidget)) == textbox-readonly.xul textbox-readonly.xul
|
||||
# Initial mulet triage: parity with B2G/B2G Desktop, Windows: bug 1239170
|
||||
29
editor/reftests/xul/reftest.list
Normal file
29
editor/reftests/xul/reftest.list
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == empty-1.xul empty-ref.xul # Windows: bug 1239170
|
||||
!= empty-2.xul empty-ref.xul
|
||||
# There is no way to simulate an autocomplete textbox in windows XP/Vista/7/8/10 default theme using CSS.
|
||||
# Therefore, the equlity tests below should be marked as failing.
|
||||
fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) == autocomplete-1.xul autocomplete-ref.xul # bug 783658
|
||||
fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) == emptyautocomplete-1.xul emptyautocomplete-ref.xul # bug 783658
|
||||
!= emptymultiline-1.xul emptymultiline-ref.xul
|
||||
fails-if(Android) == emptymultiline-2.xul emptymultiline-ref.xul # bug 783658
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == emptytextbox-1.xul emptytextbox-ref.xul # Windows: bug 1239170
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == emptytextbox-2.xul emptytextbox-ref.xul # Windows: bug 1239170
|
||||
!= emptytextbox-3.xul emptytextbox-ref.xul
|
||||
!= emptytextbox-4.xul emptytextbox-ref.xul
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == emptytextbox-5.xul emptytextbox-ref.xul # Windows: bug 1239170
|
||||
# There is no way to simulate a number textbox in windows XP/Vista/7 default theme using CSS.
|
||||
# Therefore, the equlity tests below should be marked as failing.
|
||||
!= number-1.xul number-ref.xul
|
||||
!= number-2.xul number-ref.xul
|
||||
fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) == number-3.xul number-ref.xul # bug 783658
|
||||
!= number-4.xul number-ref.xul
|
||||
fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) == number-5.xul number-ref.xul # bug 783658
|
||||
fails-if(Android) fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(5\.[12]|6\.[012]|10\.0)/.test(http.oscpu)) == numberwithvalue-1.xul numberwithvalue-ref.xul # bug 783658
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == passwd-1.xul passwd-ref.xul # Windows: bug 1239170
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == passwd-2.xul passwd-ref.xul # Windows: bug 1239170
|
||||
!= passwd-3.xul passwd-ref.xul
|
||||
fails-if(Android) == plain-1.xul plain-ref.xul # bug 783658
|
||||
fails-if(Android) skip-if(browserIsRemote&&winWidget) == textbox-1.xul textbox-ref.xul # Windows: bug 1239170
|
||||
!= textbox-disabled.xul textbox-ref.xul
|
||||
# Read-only textboxes look like normal textboxes in windows Vista/7 default theme
|
||||
fails-if(windowsDefaultTheme&&/^Windows\x20NT\x20(6\.[012]|10\.0)/.test(http.oscpu)) skip-if(browserIsRemote&&winWidget) != textbox-readonly.xul textbox-ref.xul # Windows: bug 1239170
|
||||
12
editor/reftests/xul/textbox-1.xul
Normal file
12
editor/reftests/xul/textbox-1.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox value=" test"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/textbox-disabled.xul
Normal file
12
editor/reftests/xul/textbox-disabled.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox value=" test" disabled="true"/>
|
||||
|
||||
</window>
|
||||
12
editor/reftests/xul/textbox-readonly.xul
Normal file
12
editor/reftests/xul/textbox-readonly.xul
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?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"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<textbox value=" test" readonly="true"/>
|
||||
|
||||
</window>
|
||||
13
editor/reftests/xul/textbox-ref.xul
Normal file
13
editor/reftests/xul/textbox-ref.xul
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
|
||||
<?xml-stylesheet href="input.css" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
title="Textbox tests">
|
||||
|
||||
<script type="text/javascript" src="platform.js"/>
|
||||
|
||||
<html:input value=" test"/>
|
||||
|
||||
</window>
|
||||
Loading…
Add table
Add a link
Reference in a new issue