mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Let getComputedStyle() show *used* values for margin/padding
We were incorrectly showing *computed* instead of *used* values for margin and padding when inspected via getComputedStyle().
This commit is contained in:
parent
cdd2ccac0b
commit
a706d0ebf4
Notes:
github-actions[bot]
2025-02-22 19:03:09 +00:00
Author: https://github.com/awesomekling
Commit: a706d0ebf4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3654
5 changed files with 100 additions and 10 deletions
|
@ -94,12 +94,12 @@ line-height: 'calc(2)' -> '32px'
|
|||
line-height: 'calc(2 * var(--n))' -> '64px'
|
||||
margin-bottom: 'calc(2px)' -> '2px'
|
||||
margin-bottom: 'calc(2px * var(--n))' -> '4px'
|
||||
margin-left: 'calc(2%)' -> '2%'
|
||||
margin-left: 'calc(2% * var(--n))' -> 'calc(2% * 2)'
|
||||
margin-left: 'calc(2%)' -> '15.67188px'
|
||||
margin-left: 'calc(2% * var(--n))' -> '31.375px'
|
||||
margin-right: 'calc(2px)' -> '2px'
|
||||
margin-right: 'calc(2px * var(--n))' -> '4px'
|
||||
margin-top: 'calc(2%)' -> '2%'
|
||||
margin-top: 'calc(2% * var(--n))' -> 'calc(2% * 2)'
|
||||
margin-top: 'calc(2%)' -> '15.67188px'
|
||||
margin-top: 'calc(2% * var(--n))' -> '31.375px'
|
||||
math-depth: 'calc(2)' -> '2'
|
||||
math-depth: 'calc(2 * var(--n))' -> '4'
|
||||
max-height: 'calc(2px)' -> '2px'
|
||||
|
@ -120,12 +120,12 @@ outline-width: 'calc(2px)' -> '2px'
|
|||
outline-width: 'calc(2px * var(--n))' -> '4px'
|
||||
padding-bottom: 'calc(2px)' -> '2px'
|
||||
padding-bottom: 'calc(2px * var(--n))' -> '4px'
|
||||
padding-left: 'calc(2%)' -> '2%'
|
||||
padding-left: 'calc(2% * var(--n))' -> 'calc(2% * 2)'
|
||||
padding-left: 'calc(2%)' -> '15.67188px'
|
||||
padding-left: 'calc(2% * var(--n))' -> '31.375px'
|
||||
padding-right: 'calc(2px)' -> '2px'
|
||||
padding-right: 'calc(2px * var(--n))' -> '4px'
|
||||
padding-top: 'calc(2%)' -> '2%'
|
||||
padding-top: 'calc(2% * var(--n))' -> 'calc(2% * 2)'
|
||||
padding-top: 'calc(2%)' -> '15.67188px'
|
||||
padding-top: 'calc(2% * var(--n))' -> '31.375px'
|
||||
r: 'calc(2px)' -> '2px'
|
||||
r: 'calc(2px * var(--n))' -> '4px'
|
||||
right: 'calc(2%)' -> '2%'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue