You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<meta name="assert" content="This test checks that '::first-line' pseudo-element is ignored in anonymous grid items when applied to an inline grid container ancestors.">
<style>
.inline-grid {
display: inline-grid;
color: green;
}
body::first-line {
color: red;
}
</style>
<div class="inline-grid">
<div>
<p>This text should be <strong>green</strong> and body and paragraph margins should <strong>not collapse</strong>.</p>