wpt / css / selectors / crashtests / empty-pseudo-with-first-line.html

Status: PASS | Duration: 1ms | Subtests: 1/1 | Open test on wpt.live | wpt.fyi

/css/selectors/crashtests/empty-pseudo-with-first-line.html

<!DOCTYPE html>
<meta charset="utf-8">
<title>:empty pseudo-class with ::first-line should not crash during parsing</title>
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=53316">
<style>
*:empty::first-line { background: red; }
</style>
<div>
<button autofocus></button>
</div>