Bug 609017 - Default style for :-moz-ui-invalid. r=bz ui-r=limi a=sicking

This commit is contained in:
Mounir Lamouri 2010-11-24 00:51:43 +01:00
parent 657ad4eaa4
commit f047fa2dbd
11 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<!DOCTYPE>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{

View File

@ -1,5 +1,6 @@
<!DOCTYPE>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{

View File

@ -1,5 +1,6 @@
<!DOCTYPE>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{

View File

@ -1,5 +1,6 @@
<!DOCTYPE>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{

View File

@ -1,3 +1,7 @@
:-moz-ui-invalid {
box-shadow: none;
}
.invalid-ref {
}

View File

@ -1,5 +1,6 @@
<!DOCTYPE>
<html class="reftest-wait">
<link rel='stylesheet' type='text/css' href='style.css'>
<script>
function onloadHandler()
{

View File

@ -3,6 +3,7 @@
<head>
<style>
:-moz-submit-invalid { display: none; }
:-moz-ui-invalid { box-shadow: none; }
</style>
</head>
<script>

View File

@ -3,6 +3,7 @@
<head>
<style>
:-moz-submit-invalid { display: none; }
:-moz-ui-invalid { box-shadow: none; }
</style>
</head>
<script>

View File

@ -3,6 +3,7 @@
<head>
<style>
:-moz-submit-invalid { display: none; }
:-moz-ui-invalid { box-shadow: none; }
</style>
</head>
<script>

View File

@ -1,4 +1,5 @@
.invalid-ref {
box-shadow: 0 0 1.5px 1px red;
}
.barred-ref {

View File

@ -625,10 +625,9 @@ input[type="file"] > input[type="text"] {
/**
* Set default style for invalid elements.
*/
/* TODO: uncomment this with bug 609017.
:not(output):-moz-ui-invalid {
box-shadow: 0 0 1.5px 1px red;
}*/
}
output:invalid {
color: red;