Repository navigation
layout: Clear the quirk flag for definite aspect-ratio block sizes - #50271
Conversation
Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Euclid Ye <[email protected]>
| // TODO: Should we override `has_quirky_block_size` mode to false? | ||
| // It seems only Blink does, while WebKit doesn't. | ||
| // See https://github.com/servo/servo/pull/50247#issuecomment-7208906274 |
There was a problem hiding this comment.
/css/css-position/position-relative-aspect-ratio-002.html At least for position test, WebKit works fine in quirks mode. (No stretch involved)
There was a problem hiding this comment.
Interesting, I guess they use different mechanisms to prevent the percentage quirk from affecting stretch sizes vs insets.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
1 similar comment
This comment was marked as spam.
This comment was marked as spam.
| // TODO: Should we override `has_quirky_block_size` mode to false? | ||
| // It seems only Blink does, while WebKit doesn't. | ||
| // See https://github.com/servo/servo/pull/50247#issuecomment-7208906274 |
There was a problem hiding this comment.
I think it's fine to remove this comment and not mark the test as tentative.
If stretch works in standards mode, there is no reason for it to not work in quirks mode.
| // TODO: Should we override `has_quirky_block_size` mode to false? | ||
| // It seems only Blink does, while WebKit doesn't. | ||
| // See https://github.com/servo/servo/pull/50247#issuecomment-7208906274 |
There was a problem hiding this comment.
Interesting, I guess they use different mechanisms to prevent the percentage quirk from affecting stretch sizes vs insets.
Signed-off-by: Euclid Ye <[email protected]>
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#65795). |
…ervo#50271) (cherry picked from upstream 26c7868) Co-Authored-By: Jahanzaib Baigo <[email protected]>
Testing:
/css/css-position/position-relative-aspect-ratio-002.html, which is a position test in quirks mode about percentage resolution in presence of aspect-ratio.quirks-mode-stretch-block-size.tentative.htmlfor css-sizing, based on layout: Consider aspect-ratio block sizes when collapsing margins #50247 (review). It mimics the above newly passing test.Fixes: Part of #32802