-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Added 24 tests and 6 references to cover issue 3066 #18122
Added 24 tests and 6 references to cover issue 3066 #18122
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The two margins added to the div in tests -033, -037 are wrong: they make the test pass in error cases, and they should be removed. If the writing-mode is propagated from the body to the html element, then the box and the text will be aligned correctly without any margin. If it is not propagated, they will not align correctly, but we should not compensate, we should just let the test fail.
- test -047 passes if sideways-lr is supported even if it is not propagated. Just like we fixed -042, we should add this too (sorry for not catching it the first time):
html::before { content: "This text must be written sideways: vertically, with letters rotated 90 degrees."; text-orientation: upright; /* this has no effect with sideways-rl, but does with vertical-rl*/ }
Switch the "this text must be vertical[...]" on the inside, rather than on the outside of the document, to avoid making the text about the image having to be on the corner ambiguous.
The fixes are quite small, I'm doing them myself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the fixes I suggested, plus some cosmetic adjustments.
|
After a long examination, you are correct! There may be another problem with -033-ref : there should be no gap between the orange square and the image that says "Test passes if there is an orange square in the upper-left corner of the page." This file |
Good catch. -033-ref is used by a few more files, which did use it correctly, so I found it easier to fix -033 and -037 than the ref and -040, -041, -048, -050, and -052. Fixing this with #18141 |
This is best. Thank you! :) |
…ts#18122) Added 24 tests and 7 references to cover issue w3c/csswg-drafts#3066
This is a followup-to PR 18112.
These 24 tests, 6 reference files and 1 support file are closely related to the resolving of
Issue 3066: [css-writing-modes] Does vertical writing mode of an HTML body element cause an orthogonal flow?
@frivoal Florian,
I have adopted each and all of your corrections and suggestions listed in PR 18112. I wanted to continue to use pull request 18112 to make those modifications but could not (I am not mastering github yet) .
Again, once this pull request has been reviewed, approved and merged, then I (or someone else) can delete the following 5 unneeded tests and 1 reference file:
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-006.xht
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-008.xht
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-010.xht
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-011.xht
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-015.xht
http://web-platform-tests.live/css/css-writing-modes/wm-propagation-body-003-ref.xht