Skip to content

Commit

Permalink
Fix IE styling bug with required radio buttons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan Hawryluk committed May 17, 2012
1 parent 508d68d commit c949ab1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tests/html5Forms/css/validity.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ input[required] {
background:url("../images/asterisk_orange.png") no-repeat right top;
}

/* radio buttons are exempt from this styling */
input[type="checkbox"][required] {
background-image: none;
}



/*
Expand Down
2 changes: 1 addition & 1 deletion tests/html5Forms/errorMessageStyling.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<body id="myExample">
<div id="exampleBlurb">
<p>
This is an example of a HTML5 form which has a different error message style for each of its form <elements class=""></elements>
This is an example of a HTML5 form which has a different error message style for each of its form elements.
<a href="http://www.useragentman.com/blog/?p=4472">Back to User Agent Man HTML5 Forms article </a>
</p>
</div>
Expand Down

0 comments on commit c949ab1

Please sign in to comment.