Bug 605125 (3/5) - :-moz-ui-valid shouldn't apply if the element hasn't been modified. r=bz a=jst
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html class='reftest-wait'>
|
||||
<!-- Test: if input is valid and its value has been changed,
|
||||
it should be affected by :-moz-ui-valid pseudo-class. -->
|
||||
<link rel='stylesheet' type='text/css' href='style.css'>
|
||||
<body onload="document.getElementById('i').value = 'http://mozilla.org/';
|
||||
document.documentElement.className = '';">
|
||||
<input id='i' class='valid' type='url'>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user