Fix corner clipping typos in layout-2020

inner_radii() had a minus sign that shouldn't be there.

And padding_edge_clip() and content_edge_clip() clearly need to to use
the padding_rect() and content_rect() instead of border_rect.

Tests:
  - css/css-backgrounds/background-clip-padding-box-with-border-radius.html
  - css/css-backgrounds/background-rounded-image-clip.html
This commit is contained in:
Oriol Brufau 2023-04-29 07:24:13 +02:00
parent 7eca93bb7a
commit 88b9ecea3c
3 changed files with 3 additions and 7 deletions

View file

@ -1,2 +0,0 @@
[background-clip-padding-box-with-border-radius.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[background-rounded-image-clip.html]
expected: FAIL