mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Resolve percentages for opacity properties at parse time
This commit is contained in:
parent
86c8dbbf90
commit
269d5bb40e
Notes:
github-actions[bot]
2025-06-19 08:28:47 +00:00
Author: https://github.com/tcl3
Commit: 269d5bb40e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5137
Reviewed-by: https://github.com/gmta ✅
6 changed files with 87 additions and 4 deletions
|
@ -138,8 +138,8 @@ ry: 'calc(2%)' -> '2%'
|
|||
ry: 'calc(2% * var(--n))' -> 'calc(2 * 2%)'
|
||||
stop-opacity: 'calc(2)' -> '2'
|
||||
stop-opacity: 'calc(2 * var(--n))' -> '4'
|
||||
stroke-opacity: 'calc(2%)' -> '2%'
|
||||
stroke-opacity: 'calc(2% * var(--n))' -> '4%'
|
||||
stroke-opacity: 'calc(2%)' -> '0.02'
|
||||
stroke-opacity: 'calc(2% * var(--n))' -> '0.04'
|
||||
stroke-width: 'calc(2px)' -> '2px'
|
||||
stroke-width: 'calc(2px * var(--n))' -> '4px'
|
||||
tab-size: 'calc(2px)' -> '2px'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue