-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
HTML: vertical switch #43664
HTML: vertical switch #43664
Conversation
https://bugs.webkit.org/show_bug.cgi?id=266412 Reviewed by Aditya Keerthi. Imports web-platform-tests/wpt#43664 and changes made before. This resulted in some surrounding cleanup, presumably due to import-w3c-tests not being used last time around. * LayoutTests/imported/w3c/resources/resource-files.json: * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-switch-input-computed-style.tentative-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-switch-input-computed-style.tentative.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-appearance-none-vertical-lr.optional-expected.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-appearance-none-vertical-rl.optional-expected-mismatch.html: Added. * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/select-multiple-keyboard-selection.optional.html: * LayoutTests/imported/w3c/web-platform-tests/css/css-writing-modes/forms/w3c-import.log: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-switch-input-computed-style.tentative-expected.txt: Added. * LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-writing-modes/forms/checkbox-switch-input-computed-style.tentative-expected.txt: Added. Canonical link: https://commits.webkit.org/272047@main
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.
LGTM
I think this looks ok, if switches will be rotated like the text, which i assume is fair. An interesting aside question will be which way to rotate them (left or right). (In fact for Japanese & Chinese folks there is currently a difference in opinion about this for range controls.) cc @xfq |
Our plan is for the logical left to be on top when rendered vertically. |
Logical 'left' in LTR text. I suppose there's also the question about whether the logical movement for RTL text is reversed. See w3c/alreq#259, where i added a question about this. |
For RTL the switch control is reversed, at least on Apple platforms. |
For http://github.com/whatwg/html/pull/9546.