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:
parent
5b9a0e3fe7
commit
72d0257a19
Notes:
sideshowbarker
2024-07-17 01:04:03 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/72d0257a19 Pull-request: https://github.com/SerenityOS/serenity/pull/22611 Reviewed-by: https://github.com/AtkinsSJ
2 changed files with 4 additions and 0 deletions
|
@ -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 |
Loading…
Add table
Reference in a new issue