mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-17 16:28:06 +03:00
LibWeb: Add ref-tests for 3-value background positions with center
This commit is contained in:
parent
d95461ebe1
commit
faccca7b32
Notes:
sideshowbarker
2024-07-17 23:00:03 +09:00
Author: https://github.com/shannonbooth Commit: https://github.com/SerenityOS/serenity/commit/faccca7b32 Pull-request: https://github.com/SerenityOS/serenity/pull/22682 Issue: https://github.com/SerenityOS/serenity/issues/22401
@ -63,6 +63,8 @@
|
||||
<div class="example" style="background-position: left 25% top"></div>
|
||||
<div class="example" style="background-position: top left 25%"></div>
|
||||
<div class="example" style="background-position-x: left 25%; background-position-y: top"></div>
|
||||
<div class="example" style="background-position: center left 25%"></div>
|
||||
<div class="example" style="background-position-x: left 25%; background-position-y: center"></div>
|
||||
|
||||
<!-- Three values: side side offset -->
|
||||
<div class="example" style="background-position: left top 10px"></div>
|
||||
@ -71,6 +73,8 @@
|
||||
<div class="example" style="background-position: left top 25%"></div>
|
||||
<div class="example" style="background-position: top 25% left"></div>
|
||||
<div class="example" style="background-position-x: left; background-position-y: top 25%"></div>
|
||||
<div class="example" style="background-position: center top 10px"></div>
|
||||
<div class="example" style="background-position-x: center; background-position-y: top 25%"></div>
|
||||
|
||||
<!-- Four values: side offset side offset -->
|
||||
<div class="example" style="background-position: left 10px top 25%"></div>
|
||||
@ -92,6 +96,10 @@
|
||||
<div class="example" style="background-position-y: left"></div>
|
||||
<div class="example" style="background-position-y: right"></div>
|
||||
|
||||
<!-- Three values: center followed by <length-percentage> -->
|
||||
<div class="example" style="background-position: center 25% top"></div>
|
||||
<div class="example" style="background-position: top center 25%"></div>
|
||||
|
||||
<!-- No trailing tokens -->
|
||||
<div class="example" style="background-position: top left yellow"></div>
|
||||
<div class="example" style="background-position: 10px 25% 0"></div>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.6 KiB |
Loading…
Reference in New Issue
Block a user