Bug 609016 - Remove default style for :invalid. r=bz a=bsmedberg
authorMounir Lamouri <mounir.lamouri@gmail.com>
Wed, 24 Nov 2010 00:47:26 +0100
changeset 58142 0dccfde3b86c1e7d1aae75b0f941675c3d82412e
parent 58141 a26199cd24df75cd83fdce0439a77f722e0a7c0e
child 58143 80c5a5c971b9889a55576d5eeb2d008d59f6c283
push id17175
push usermlamouri@mozilla.com
push dateWed, 24 Nov 2010 10:15:50 +0000
treeherdermozilla-central@7f5cd850578e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz, bsmedberg
bugs609016
milestone2.0b8pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 609016 - Remove default style for :invalid. r=bz a=bsmedberg
layout/reftests/css-invalid/default-style/style.css
layout/style/forms.css
--- a/layout/reftests/css-invalid/default-style/style.css
+++ b/layout/reftests/css-invalid/default-style/style.css
@@ -1,6 +1,5 @@
 .invalid-ref {
-  box-shadow: 0 0 1.5px 1px red;
 }
 
 .barred-ref {
 }
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -620,19 +620,20 @@ optgroup:before {
 input[type="file"] > input[type="text"] {
   direction: ltr !important;
   text-align: inherit;
 }
 
 /**
  * Set default style for invalid elements.
  */
-:not(output):invalid {
+/* TODO: uncomment this with bug 609017.
+:not(output):-moz-ui-invalid {
   box-shadow: 0 0 1.5px 1px red;
-}
+}*/
 
 output:invalid {
   color: red;
 }
 
 @media print {
   input, textarea, select, button {
     -moz-user-input: none !important;