diff --git a/layout/reftests/forms/textbox/accesskey-1-notref.xul b/layout/reftests/forms/textbox/accesskey-1-notref.xul
index 0b3329ad0fe2..697d10879370 100644
--- a/layout/reftests/forms/textbox/accesskey-1-notref.xul
+++ b/layout/reftests/forms/textbox/accesskey-1-notref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -30,6 +30,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-1.xul b/layout/reftests/forms/textbox/accesskey-1.xul
index f325346d6297..39ad15b2dd47 100644
--- a/layout/reftests/forms/textbox/accesskey-1.xul
+++ b/layout/reftests/forms/textbox/accesskey-1.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -30,6 +30,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-2-ref.xul b/layout/reftests/forms/textbox/accesskey-2-ref.xul
index 8238cbd28f33..ce6ed1ebc9bd 100644
--- a/layout/reftests/forms/textbox/accesskey-2-ref.xul
+++ b/layout/reftests/forms/textbox/accesskey-2-ref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-2.xul b/layout/reftests/forms/textbox/accesskey-2.xul
index 0da2638e8fcc..98b2c272b45f 100644
--- a/layout/reftests/forms/textbox/accesskey-2.xul
+++ b/layout/reftests/forms/textbox/accesskey-2.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-3-notref.xul b/layout/reftests/forms/textbox/accesskey-3-notref.xul
index dbb909a228c8..1a81e28116c4 100644
--- a/layout/reftests/forms/textbox/accesskey-3-notref.xul
+++ b/layout/reftests/forms/textbox/accesskey-3-notref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-3-ref.xul b/layout/reftests/forms/textbox/accesskey-3-ref.xul
index b83037433bac..b7907e9a6aa5 100644
--- a/layout/reftests/forms/textbox/accesskey-3-ref.xul
+++ b/layout/reftests/forms/textbox/accesskey-3-ref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-4-notref.xul b/layout/reftests/forms/textbox/accesskey-4-notref.xul
index dbb909a228c8..1a81e28116c4 100644
--- a/layout/reftests/forms/textbox/accesskey-4-notref.xul
+++ b/layout/reftests/forms/textbox/accesskey-4-notref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-4-ref.xul b/layout/reftests/forms/textbox/accesskey-4-ref.xul
index 8dd49c509fae..df787415fed7 100644
--- a/layout/reftests/forms/textbox/accesskey-4-ref.xul
+++ b/layout/reftests/forms/textbox/accesskey-4-ref.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/accesskey-4.xul b/layout/reftests/forms/textbox/accesskey-4.xul
index 15bde9d21353..d63bafbc58b1 100644
--- a/layout/reftests/forms/textbox/accesskey-4.xul
+++ b/layout/reftests/forms/textbox/accesskey-4.xul
@@ -9,7 +9,7 @@
padding-top: 0px;
font-size: 36px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -20,7 +20,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -31,6 +31,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/align-baseline-1-ref.xul b/layout/reftests/forms/textbox/align-baseline-1-ref.xul
index 3ea9ba0010f9..646e412de3b1 100644
--- a/layout/reftests/forms/textbox/align-baseline-1-ref.xul
+++ b/layout/reftests/forms/textbox/align-baseline-1-ref.xul
@@ -8,7 +8,7 @@
margin-top: 12px;
padding-top: 8px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -21,6 +21,6 @@
-
+
diff --git a/layout/reftests/forms/textbox/align-baseline-1.xul b/layout/reftests/forms/textbox/align-baseline-1.xul
index f704393b70e8..711e1858acf0 100644
--- a/layout/reftests/forms/textbox/align-baseline-1.xul
+++ b/layout/reftests/forms/textbox/align-baseline-1.xul
@@ -8,7 +8,7 @@
margin-top: 0px;
padding-top: 0px;
}
- label, input {
+ label, textbox {
-moz-appearance: none;
background: inherit;
border: none 0px;
@@ -19,7 +19,7 @@
margin-bottom: 0px;
padding-bottom: 0px;
}
- input {
+ textbox {
margin-top: 12px;
padding-top: 8px;
margin-bottom: 5px;
@@ -29,6 +29,6 @@
-
+
diff --git a/layout/reftests/xul/accesskey-ref.xul b/layout/reftests/xul/accesskey-ref.xul
index 5b89fa7f1d7c..b3745ee1e207 100644
--- a/layout/reftests/xul/accesskey-ref.xul
+++ b/layout/reftests/xul/accesskey-ref.xul
@@ -5,19 +5,19 @@
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
diff --git a/layout/xul/crashtests/1379332-1.xul b/layout/xul/crashtests/1379332-1.xul
new file mode 100644
index 000000000000..8926f4f5f696
--- /dev/null
+++ b/layout/xul/crashtests/1379332-1.xul
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/layout/xul/crashtests/crashtests.list b/layout/xul/crashtests/crashtests.list
index efc5ee909f91..8f8f23028583 100644
--- a/layout/xul/crashtests/crashtests.list
+++ b/layout/xul/crashtests/crashtests.list
@@ -61,4 +61,5 @@ load 583957-1.html
load 617089.html
load menulist-focused.xhtml
load 716503.html
+load chrome://reftest/content/crashtests/layout/xul/crashtests/1379332-1.xul
load chrome://reftest/content/crashtests/layout/xul/crashtests/1379332-2.xul
diff --git a/layout/xul/grid/reftests/column-sizing-1-ref.xul b/layout/xul/grid/reftests/column-sizing-1-ref.xul
index 526c581f44d9..df0113083feb 100644
--- a/layout/xul/grid/reftests/column-sizing-1-ref.xul
+++ b/layout/xul/grid/reftests/column-sizing-1-ref.xul
@@ -7,7 +7,7 @@
-
+
diff --git a/layout/xul/grid/reftests/column-sizing-1.xul b/layout/xul/grid/reftests/column-sizing-1.xul
index 2181bf038a1b..2a94569ba4b6 100644
--- a/layout/xul/grid/reftests/column-sizing-1.xul
+++ b/layout/xul/grid/reftests/column-sizing-1.xul
@@ -8,7 +8,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-or-column-sizing-1.xul b/layout/xul/grid/reftests/row-or-column-sizing-1.xul
index ebf37ebb720f..6c64eef18009 100644
--- a/layout/xul/grid/reftests/row-or-column-sizing-1.xul
+++ b/layout/xul/grid/reftests/row-or-column-sizing-1.xul
@@ -13,7 +13,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-or-column-sizing-2.xul b/layout/xul/grid/reftests/row-or-column-sizing-2.xul
index dbf9c94dce9c..008f82fd5112 100644
--- a/layout/xul/grid/reftests/row-or-column-sizing-2.xul
+++ b/layout/xul/grid/reftests/row-or-column-sizing-2.xul
@@ -6,7 +6,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-or-column-sizing-3.xul b/layout/xul/grid/reftests/row-or-column-sizing-3.xul
index 14f4dfc934dc..1e8e55c294cb 100644
--- a/layout/xul/grid/reftests/row-or-column-sizing-3.xul
+++ b/layout/xul/grid/reftests/row-or-column-sizing-3.xul
@@ -19,7 +19,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-or-column-sizing-4.xul b/layout/xul/grid/reftests/row-or-column-sizing-4.xul
index 07e1b7c0a5a6..5a826fd84cdc 100644
--- a/layout/xul/grid/reftests/row-or-column-sizing-4.xul
+++ b/layout/xul/grid/reftests/row-or-column-sizing-4.xul
@@ -6,7 +6,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-sizing-1-ref.xul b/layout/xul/grid/reftests/row-sizing-1-ref.xul
index 61141647ab69..b357190524cf 100644
--- a/layout/xul/grid/reftests/row-sizing-1-ref.xul
+++ b/layout/xul/grid/reftests/row-sizing-1-ref.xul
@@ -8,7 +8,7 @@
-
+
diff --git a/layout/xul/grid/reftests/row-sizing-1.xul b/layout/xul/grid/reftests/row-sizing-1.xul
index cb74a1c1e146..0455b8da4493 100644
--- a/layout/xul/grid/reftests/row-sizing-1.xul
+++ b/layout/xul/grid/reftests/row-sizing-1.xul
@@ -9,7 +9,7 @@
-
+