mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00

This gets us 37 new subtest passes in css/css-values, and 13 passes in our other in-tree tests (and probably some random other ones!) As noted in comments, a few parts of this algorithm have ad-hoc behaviour to handle some issues in the spec.
18 lines
468 B
Text
18 lines
468 B
Text
inline: center center
|
|
computed: 50% 50%
|
|
inline: left bottom
|
|
computed: 0% 100%
|
|
inline: center top
|
|
computed: 50% 0%
|
|
inline: center top 20%
|
|
computed: 50% 20%
|
|
inline: left 10px top 20%
|
|
computed: 10px 20%
|
|
inline: 10px top
|
|
computed: 10px 0%
|
|
inline: right 10px bottom 20%
|
|
computed: calc(100% - 10px) 80%
|
|
inline: center center, left bottom
|
|
computed: 50% 50%, 0% 100%
|
|
inline: left 10px bottom 20%, right 10px top 20%
|
|
computed: 10px 80%, calc(100% - 10px) 20%
|