summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/begin-end-contain-selector-empty-value.html
blob: afa62d153214ff7219b970256ea0a1c702535f9f (plain)
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<style type="text/css">
div[foo1^=""] { background-color: red; }
div[foo2$=""] { background-color: red; }
div[foo3*=""] { background-color: red; }
</style>
<div foo1="">[^=] attribute selector looking for empty string in empty attribute (the text should not have red background)</div>
<div foo2="">[$=] attribute selector looking for empty string in empty attribute (the text should not have red background)</div>
<div foo3="">[*=] attribute selector looking for empty string in empty attribute (the text should not have red background)</div>