blob: 08376f0aec9bebf5ee40a6e3d84f4864c5163440 [file] [log] [blame]
<!doctype html>
<html>
<head>
<style>
:nth-last-child(3n+1 of .target) {
background-color: lime;
}
</style>
</head>
<body>
<p>Test that style-sharing does not ignore cases matching :nth-last-child(An+B of selector list).</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
<p class="target">Target</p>
</body>
</html>