mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibWeb/CSS: Discard unsupported style properties on pseudo-elements
Quite simply, ignore any declarations for properties we don't want, while computing a pseudo-element's style. I've imported a WPT test for this, which fails without this patch.
This commit is contained in:
Notes:
github-actions[bot]
2025-03-24 09:50:54 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/9e65291ebdf Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4021
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<style>
|
||||
.vertical {
|
||||
writing-mode: vertical-rl;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<input placeholder="placeholder">
|
||||
<input class="vertical" placeholder="placeholder">
|
||||
</body>
|
||||
Reference in New Issue
Block a user