Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>inline block ::before styles should apply inside ::first-line</title>
<link rel="match" href="first-line-with-inline-block-before-ref.html">
<style>
#target::first-line {
color: red;
}
#target::before {
content: "green";
color: green;
display: inline-block;
}
</style>
<div id="target">red</div>