Bug 1396073: Remove some never matching rules for applet. r?heycam draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 27 Sep 2017 16:41:37 +0200
changeset 671153 25a8b4e8c709ad5e6813d6bb9a104123e2c656a4
parent 671152 3bc587a7a716ad6b4ca0a1d47209aaa965b28a33
child 671154 5f0f8ceb9651d0415b0c03801bf27e0fe9fa346a
push id81847
push userbmo:emilio@crisal.io
push dateWed, 27 Sep 2017 14:56:42 +0000
reviewersheycam
bugs1396073
milestone58.0a1
Bug 1396073: Remove some never matching rules for applet. r?heycam MozReview-Commit-ID: HSSiPWA0RjI Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
layout/style/res/html.css
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -642,27 +642,27 @@ hr[size="1"] {
 
 img:-moz-broken::before, input:-moz-broken::before,
 img:-moz-user-disabled::before, input:-moz-user-disabled::before,
 img:-moz-loading::before, input:-moz-loading::before {
   content: -moz-alt-content !important;
   unicode-bidi: isolate;
 }
 
-:-moz-any(object,applet):-moz-any(:-moz-broken,:-moz-user-disabled) > *|* {
+object:-moz-any(:-moz-broken,:-moz-user-disabled) > *|* {
   /*
     Inherit in the object's alignment so that if we aren't aligned explicitly
     we'll end up in the right place vertically.  See bug 36997.  Note that this
     is not !important because we _might_ be aligned explicitly.
   */
   vertical-align: inherit;
 }
 
 img:-moz-suppressed, input:-moz-suppressed, object:-moz-suppressed,
-embed:-moz-suppressed, applet:-moz-suppressed {
+embed:-moz-suppressed {
   /*
     Set visibility too in case the page changes display.  Note that we _may_
     want to just set visibility and not display, in general, if we find that
     display:none breaks too many layouts.  And if we decide we really do want
     people to be able to right-click blocked images, etc, we need to set
     neither one, and hack the painting code.... :(
    */
   display: none !important;