mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Ensure lang
pseudoclass matches multiple segment subcodes
This commit is contained in:
parent
74c803c87b
commit
04fde1c550
Notes:
github-actions[bot]
2025-04-28 10:30:44 +00:00
Author: https://github.com/tcl3
Commit: 04fde1c550
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4495
Reviewed-by: https://github.com/AtkinsSJ ✅
4 changed files with 109 additions and 5 deletions
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
|
||||
<p class="green">This line should be green <em>and this should be green too</em></p>
|
||||
<div><p class="green">This line should be green</p>This line should NOT be green</div>
|
||||
<p>This line should NOT be green <em class="green">but this should be green</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue