mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
LibWeb: Create EdgeStyleValue for BackgroundPositionXY with no offset
When specifying either `background-position-x: right` or `background-position-y: bottom` without an offset value no EdgeStyleValue was created. However, the spec says the offset should be optional. Now, if you do not provide an offset, it creates the EdgeStyleValue with a default offset of 0 pixels.
This commit is contained in:
parent
016b31fae2
commit
3fd870a429
4 changed files with 28 additions and 1 deletions
2
Tests/LibWeb/Text/expected/background-position-xy.txt
Normal file
2
Tests/LibWeb/Text/expected/background-position-xy.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
right 0px
|
||||
bottom 0px
|
Loading…
Add table
Add a link
Reference in a new issue