diff --git a/toolkit/components/history/src/nsGlobalHistory.cpp b/toolkit/components/history/src/nsGlobalHistory.cpp index aec34ecaf3ae..90c82f53322d 100644 --- a/toolkit/components/history/src/nsGlobalHistory.cpp +++ b/toolkit/components/history/src/nsGlobalHistory.cpp @@ -3783,8 +3783,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow, NS_ConvertUCS2toUTF8 utf8Value(term->text); if (term->method.Equals("is")) { - - if (utf8Value != rowVal) + if (!utf8Value.Equals(rowVal, nsCaseInsensitiveCStringComparator())) return PR_FALSE; } @@ -3794,12 +3793,12 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow, } else if (term->method.Equals("contains")) { - if (!FindInReadable(utf8Value, start, end)) + if (!FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator())) return PR_FALSE; } else if (term->method.Equals("doesntcontain")) { - if (FindInReadable(utf8Value, start, end)) + if (FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator())) return PR_FALSE; } @@ -3807,7 +3806,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow, // need to make sure that the found string is // at the beginning of the string nsACString::const_iterator real_start = start; - if (!(FindInReadable(utf8Value, start, end) && + if (!(FindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()) && real_start == start)) return PR_FALSE; } @@ -3816,7 +3815,7 @@ nsGlobalHistory::RowMatches(nsIMdbRow *aRow, // need to make sure that the found string ends // at the end of the string nsACString::const_iterator real_end = end; - if (!(RFindInReadable(utf8Value, start, end) && + if (!(RFindInReadable(utf8Value, start, end, nsCaseInsensitiveCStringComparator()) && real_end == end)) return PR_FALSE; } diff --git a/toolkit/content/widgets/button.xml b/toolkit/content/widgets/button.xml index b4f79eb25ce5..3c3662299f4f 100644 --- a/toolkit/content/widgets/button.xml +++ b/toolkit/content/widgets/button.xml @@ -69,6 +69,40 @@ + + + + + + + + + + + + + + + @@ -84,11 +118,51 @@ ]]> + + + + + extends="chrome://global/content/bindings/button.xml#button-base"> @@ -106,7 +180,7 @@ + extends="chrome://global/content/bindings/button.xml#button"> + extends="chrome://global/content/bindings/button.xml#button-base"> this.init(); @@ -223,7 +297,7 @@ + extends="chrome://global/content/bindings/button.xml#menu-button-base"> @@ -241,7 +315,7 @@ + extends="chrome://global/content/bindings/button.xml#button"> diff --git a/toolkit/content/widgets/checkbox.xml b/toolkit/content/widgets/checkbox.xml index 7b74e7071b6f..6711c18acf49 100644 --- a/toolkit/content/widgets/checkbox.xml +++ b/toolkit/content/widgets/checkbox.xml @@ -29,14 +29,28 @@ ]]> + + + + + + + - diff --git a/toolkit/content/widgets/dialog.xml b/toolkit/content/widgets/dialog.xml index e7c8f1b642da..e256ee54ec52 100644 --- a/toolkit/content/widgets/dialog.xml +++ b/toolkit/content/widgets/dialog.xml @@ -17,7 +17,7 @@ -