mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
23 lines
351 B
HTML
23 lines
351 B
HTML
<html>
|
|
<head>
|
|
<title>:last-child test</title>
|
|
<style>
|
|
p:last-child {
|
|
color: lime;
|
|
background-color: black;
|
|
padding: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<p>This text isn't selected.</p>
|
|
<p>This text is selected!</p>
|
|
</div>
|
|
|
|
<div>
|
|
<p>This text isn't selected.</p>
|
|
<h2>This text isn't selected: it's not a `p`.</h2>
|
|
</div>
|
|
</body>
|
|
</html>
|