diff --git a/configure.in b/configure.in index 097511f859..2ca2c243a9 100644 --- a/configure.in +++ b/configure.in @@ -4257,7 +4257,7 @@ then if test "$NS_PRINTING"; then PKG_CHECK_MODULES(MOZ_QT_WIDGETS, Qt5PrintSupport, , [ - AC_MSG_ERROR([$MOZ_QT_PKG_ERRORS Need qtbase widgets development package]) + AC_MSG_ERROR([$MOZ_QT_PKG_ERRORS Need qt5 printsupport development package]) ]) MOZ_QT_LIBS="$MOZ_QT_LIBS $MOZ_QT_WIDGETS_LIBS" MOZ_QT_CFLAGS="$MOZ_QT_CFLAGS $MOZ_QT_WIDGETS_CFLAGS" diff --git a/dom/base/nsMappedAttributes.cpp b/dom/base/nsMappedAttributes.cpp index e28de20404..fb1943b248 100644 --- a/dom/base/nsMappedAttributes.cpp +++ b/dom/base/nsMappedAttributes.cpp @@ -184,6 +184,14 @@ nsMappedAttributes::MapRuleInfoInto(nsRuleData* aRuleData) } } +/* virtual */ bool +nsMappedAttributes::MightMapInheritedStyleData() +{ + // Just assume that we do, rather than adding checks to all of the different + // kinds of attribute mapping functions we have. + return true; +} + #ifdef DEBUG /* virtual */ void nsMappedAttributes::List(FILE* out, int32_t aIndent) const diff --git a/dom/base/nsMappedAttributes.h b/dom/base/nsMappedAttributes.h index 6ee9f12e1e..589da3b140 100644 --- a/dom/base/nsMappedAttributes.h +++ b/dom/base/nsMappedAttributes.h @@ -74,6 +74,7 @@ public: // nsIStyleRule virtual void MapRuleInfoInto(nsRuleData* aRuleData) override; + virtual bool MightMapInheritedStyleData() override; #ifdef DEBUG virtual void List(FILE* out = stdout, int32_t aIndent = 0) const override; #endif diff --git a/dom/html/HTMLBodyElement.cpp b/dom/html/HTMLBodyElement.cpp index 6a497fa1ea..104b6d091b 100644 --- a/dom/html/HTMLBodyElement.cpp +++ b/dom/html/HTMLBodyElement.cpp @@ -168,6 +168,12 @@ BodyRule::MapRuleInfoInto(nsRuleData* aData) } } +/* virtual */ bool +BodyRule::MightMapInheritedStyleData() +{ + return false; +} + #ifdef DEBUG /* virtual */ void BodyRule::List(FILE* out, int32_t aIndent) const diff --git a/dom/html/HTMLBodyElement.h b/dom/html/HTMLBodyElement.h index 779aaeded3..5696ecfd14 100644 --- a/dom/html/HTMLBodyElement.h +++ b/dom/html/HTMLBodyElement.h @@ -28,6 +28,7 @@ public: // nsIStyleRule interface virtual void MapRuleInfoInto(nsRuleData* aRuleData) override; + virtual bool MightMapInheritedStyleData() override; #ifdef DEBUG virtual void List(FILE* out = stdout, int32_t aIndent = 0) const override; #endif diff --git a/dom/system/qt/QtHapticFeedback.h b/dom/system/qt/QtHapticFeedback.h index 3e6dbb6bd1..64fff75269 100644 --- a/dom/system/qt/QtHapticFeedback.h +++ b/dom/system/qt/QtHapticFeedback.h @@ -10,4 +10,6 @@ class QtHapticFeedback : public nsIHapticFeedback public: NS_DECL_ISUPPORTS NS_DECL_NSIHAPTICFEEDBACK +protected: + virtual ~QtHapticFeedback() {} }; diff --git a/dom/tests/mochitest/bugs/test_bug406375.html b/dom/tests/mochitest/bugs/test_bug406375.html index d0a82af08c..cd7c9519eb 100644 --- a/dom/tests/mochitest/bugs/test_bug406375.html +++ b/dom/tests/mochitest/bugs/test_bug406375.html @@ -17,10 +17,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=406375
 
+
diff --git a/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul b/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul
new file mode 100644
index 0000000000..e09efc9c0f
--- /dev/null
+++ b/dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul
@@ -0,0 +1,28 @@
+
+
+
+
+
+  
+
diff --git a/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul b/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul
new file mode 100644
index 0000000000..34f49e3c4d
--- /dev/null
+++ b/dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul
@@ -0,0 +1,35 @@
+
+
+
+
+
+  
+
diff --git a/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul b/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul
new file mode 100644
index 0000000000..0116dfeb26
--- /dev/null
+++ b/dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul
@@ -0,0 +1,46 @@
+
+
+
+
+
+  
+
diff --git a/dom/tests/mochitest/chrome/test_bug1224790-1.xul b/dom/tests/mochitest/chrome/test_bug1224790-1.xul
new file mode 100644
index 0000000000..327d2a1741
--- /dev/null
+++ b/dom/tests/mochitest/chrome/test_bug1224790-1.xul
@@ -0,0 +1,58 @@
+
+
+
+
+
+  
+
+  
+  
+  Mozilla Bug 1224790
+  
+