LibWeb: Add ref-test cases for reordered keywords in CSS positions

Where if 'center' is present the horizontal or vertical values must be
used to infer whether center is X or Y.
This commit is contained in:
Shannon Booth 2024-01-06 11:41:24 +13:00 committed by Sam Atkins
parent 5b9a0e3fe7
commit 72d0257a19
2 changed files with 4 additions and 0 deletions

View file

@ -32,6 +32,10 @@
<!-- Two values: side side -->
<div class="example" style="background-position: top left"></div>
<div class="example" style="background-position: left top"></div>
<div class="example" style="background-position: center right"></div>
<div class="example" style="background-position: right center"></div>
<div class="example" style="background-position: center top"></div>
<div class="example" style="background-position: top center"></div>
<div class="example" style="background-position-x: left; background-position-y: top"></div>
<!-- Two values: side offset -->

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6 KiB