blob: 26a4f5c9dcc9175b974cae5e8ac4f5e6158878f6 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
#target1::first-letter {
background-color: lime;
}
#target5 {
background-color: lime;
}
#target7 {
background-color: lime;
}
#target12::first-letter {
background-color: blue !important;
}
#target16 > span {
background-color: lime;
}
</style>
</head>
<body>
<div>
<p id="target1">pseudo element outside :matches has effect.</p>
<p id="target2">pseudo element inside :matches has no effect.</p>
<p id="target3">pseudo element inside :matches has no effect.</p>
<p id="target4">pseudo element inside :matches has no effect.</p>
<p id="target5">pseudo element inside :matches has no effect, so the rest of the selectors should be checked.</p>
<p id="target6">pseudo element inside nested :matches should have no effect.</p>
<p id="target7">::before/after have no effect.</p>
<p id="target8">pseudo element inside :not doesn't have effect.</p>
<p id="target9">::first-line in non-rightmost fragment always unmatch.</p>
<p id="target10">:matches(::first-line) in non-rightmost fragment always unmatches.</p>
<p id="target11">pseudo element in non-rightmost fragment inside :matches always unmatches.</p>
<p id="target12">first-letter is colored blue.</p>
<p id="target13">non-rightmost pseudo element has no effect.</p>
<p id="target14"><span>non-rightmost pseudo element has no effect.</span></p>
<p id="target15"><span>non-rightmost pseudo element has no effect.</span></p>
<p id="target16"><span>matchType should be effective for normal element.</span></p>
</div>
</body>
</html>