CSS attribute selector testsheet

div[attr=value]

attr='value'
attr='foovalue'
attr='valuefoo'
attr='foovaluefoo'

div[lang=en]

lang='en'
lang='en-foo'

div[align=left]

align='left'
align='leftfoo'
align='fooleft'
align='fooleftfoo'

div[align=center]

align='center'
align='centerfoo'
align='foocenter'
align='foocenterfoo'

div[align=right] -- is not defined, but is matched by the first

align='right'
align='rightvalue'
align='valueright'
align='valuerightvalue'

oterAttribute='left'
oterAttribute='leftvalue'
oterAttribute='valueleft'
oterAttribute='valueleftvalue'