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 works as expected if it is applied directly to a grid item within an inline grid.">
<style>
.inline-grid {
display: inline-grid;
color: red;
}
.item::first-line {
color: green;
}
</style>
<div class="inline-grid">
<p class="item">
This text should be <strong>green</strong> and body and paragraph margins should <strong>not collapse</strong>.