-
Notifications
You must be signed in to change notification settings - Fork 658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-ruby] ruby base container as containing block #6324
Comments
And probably the tests should be made a little less confusing... relying on cancelling 50px half-leading inside the abspos by using a -1em offset is pretty convoluted. @_@ |
I don't fully recall all the details of how I came up with this testcase, but I believe it's basically treating the ruby box as normal inline box in the term of abspos children, which I think makes sense. Also the change originally came from a compat issue that someone trying to use abspos in ruby, and Firefox didn't show anything at that time (because I didn't think about it so missed something). This test is basically just checking that abspos in ruby does show up. |
" I have old CSS2.x tests on this: I remember reporting that some of tests in the CSS2.1 test suite regarding an abs. pos. inline inside a rel. pos. inline had various problems: |
What I am trying to say is this: an absolutely positioned inline inside a relatively positioned inline is a complex code scenario and current browsers (Firefox, Chromium, Safari) do not implement, do not comply with past and current spec. Chromium 90.0.4430.212 fails the containing-block-032 test but passes the other 3 tests. In CSS2.1 test suite, we have a few tests, most of them are weak, I'd say. The only browser which was very good at positioning an abs. pos.inline inside |
Indeed, Firefox 78.11.0 ESR does not show the X in abs-in-ruby-base-container.html and in abs-in-ruby-container.html but Firefox 91.0a1 buildID=20210625093436 does. Okay. Xidorn, I can not approve or disapprove your |
See also web-platform-tests/wpt#29482 |
@TalbotG recently asked about this test from @upsuper http://wpt.live/css/css-ruby/abs-in-ruby-base-container.html which... I'm not really sure what it's trying to assert.
I don't think our spec is clear what happens when various ruby boxes are relpos'ed, do they form containing blocks for abspos descendants or no, and we should figure out what we should be doing and clarify it.
The text was updated successfully, but these errors were encountered: