mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb/CSS: Allow descriptors to be shorthands
I was wrong when I added those notes before about this being impossible, it's *very* possible, for example with the `@page margin` descriptor. However, until we have a large number of these shorthands and not just a single example, we can get away with hard-coding support for it.
This commit is contained in:
Notes:
github-actions[bot]
2025-05-15 08:54:36 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/d8c6b872a3f Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4735
@@ -2,9 +2,8 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
3 Pass
|
||||
1 Fail
|
||||
4 Pass
|
||||
Pass There should be 3 @page rules.
|
||||
Pass Rule #0
|
||||
Pass Rule #1
|
||||
Fail Rule #2
|
||||
Pass Rule #2
|
||||
@@ -2,6 +2,6 @@ Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Fail
|
||||
Fail Add declarations
|
||||
Fail Remove declarations
|
||||
2 Pass
|
||||
Pass Add declarations
|
||||
Pass Remove declarations
|
||||
Reference in New Issue
Block a user