Is this expected behavior or the support is still lacking?

I have this declared in CSS  for HTML5 required attributed:

<input type=email name=email id=email required>


[required]{background-color:#FFFFE0}

input:focus, texture:focus
{background: #464646;color: #fff;border-color: #C12D2D}


Color and border are correctly working when focused, but background image 
isn't. My test showed that it isn't the HTML5 required attribute causing it but 
the CSS3 [required].

If I remove [required]{background-color:#FFFFE0} and target ID instead 
(input#email {background-color:#FFFFE0} ) then the background color works when 
focused.

Tested in Opera, FF, Safari and Chrome, all show consistent result.


tee



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to