Tutorials Bugs Masterclass Free stuff Test pages Proposals

Core tests

Advanced tests

This test

RichInStyle.com tests: the attribute selector

Should be red

  1. <P lang=""> [lang] {color: red}

  2. #id {color: red} [id=id] {color: green}). (#ID has specificity of 100, attribute has 10)

  3. class="red" P[class=red]

  4. title="space" P[title =space]

  5. title="space2" P[title= space2]

  6. title="doggedly" [title=doggedly ]

Should be black

  1. No attribute set
  2. title="dogged" [title="dogged "]).