LibWeb: Add ::slotted() pseudo-element support

Implements `::slotted()` to enough extent we could pass the imported WPT
test and make substantial layout correctness improvement on
https://www.rottentomatoes.com/
This commit is contained in:
Aliaksandr Kalenik
2025-09-03 14:58:35 +02:00
committed by Sam Atkins
parent 8986e1f1ec
commit 4c7da460dc
Notes: github-actions[bot] 2025-09-04 08:52:46 +00:00
8 changed files with 115 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS Scoping Module Level 1 - A green box reference</title>
<link rel="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"/>
</head>
<body>
<p>Test passes if you see a single 100px by 100px green box below.</p>
<div style="width: 100px; height: 100px; background: green;"></div>
</body>
</html>