mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb/CSS: Treat x resolution unit separately from dppx
Tests show that we need to preserve whether x or dppx units were used, so the simplest way is to treat them separately.
This commit is contained in:
parent
443f9e5afb
commit
338282f74d
Notes:
github-actions[bot]
2025-05-17 06:54:37 +00:00
Author: https://github.com/AtkinsSJ
Commit: 338282f74d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4783
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 14 additions and 9 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
Dpi,
|
||||
Dpcm,
|
||||
Dppx,
|
||||
X,
|
||||
};
|
||||
|
||||
static Optional<Type> unit_from_name(StringView);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue