Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="match" href="block-in-inline-first-line-001-ref.html"/>
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org" />
<style>
div::first-line {
background: orange;
}
</style>
<body>
<div>
<span>
First line.<br>
Second line.
<div>
First line in 1st block box.<br>
Second line.
</div>
<div>
First line in 2nd block box.<br>
Second line.
</div>
First line after block-in-inline is not ::first-line.<br>
Second line.
</span>
</div>
</body>