-
Notifications
You must be signed in to change notification settings - Fork 27
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
Input write mode consistency #167
Comments
additional context can be found here: openui/open-ui#600 |
There are lots of tests in https://wpt.fyi/results/css/css-writing-modes but finding the relevant ones is a challenge. Here's over 100 tests fitting the description of "Firefox renders these elements as expected in the correct writing-mode, while Webkit and Chromium based browsers do not", that is tests that pass in Firefox but fail in Chrome and Safari: |
There are some manual tests in https://wpt.live/css/css-writing-modes/ named form-controls-*, but they seem to all involve vertical text, I can't find a simple RTL test among them. But https://wpt.live/css/css-writing-modes/form-controls-srl-005.xht is at least a test that looks different in Firefox compared to Chrome and Safari. It looks like a bunch of work on a test list will be needed here. |
(i.e., this on WPT.fyi, though inevitably this includes very few of them) |
given the overwhelming majority of those are manual, see https://gist.github.com/gsnedders/cca2affaed6a5a68f0fb9ac750151aa8 for screenshots of them (but that still doesn't work for those that require interaction) |
Based on that, manually looking at writing-mode-vlr-forms-006-manual.html and writing-mode-vrl-forms-006-manual.html and excluding writing-mode-vlr-012-manual.html, writing-mode-vlr-014-manual.html, writing-mode-vrl-012-manual.html, writing-mode-vrl-014-manual.html as they use form controls incidentally rather than testing them:
|
WPTs are being added in this directory: https://wpt.fyi/results/css/css-writing-modes/forms?label=master&label=experimental&aligned&view=subtest |
A lot of tests have been mentioned in this issue and I'm not sure which ones are part of the proposal. Is it just the ones in https://wpt.fyi/results/css/css-writing-modes/forms in the end? |
Practically |
The manual ones were moved into css-writing-modes/forms/manual too |
Thank you for proposing updated input write mode consistency tests for inclusion in Interop 2023. We are pleased to let you know that this proposal was accepted as part of the existing Forms focus area. You can follow the progress of this Focus Areas on the Interop 2023 dashboard. For an overview of our process, see the proposal selection summary. Thank you for contributing to Interop 2023! Posted on behalf of the Interop team. |
Description
Inputs, buttons, and select menus currently don’t respect
writing-mode
in all browsers. Firefox renders these elements as expected in the correct writing-mode, while Webkit and Chromium based browsers do not.Rationale
When
writing-mode
isn’t respected it can create a disjointed and difficult to read experience. This also creates an inconsistent UI for developers to style that can not adequately be targeted with@supports
.Specification
https://drafts.csswg.org/css-writing-modes-4/#block-flow
Tests
No response
The text was updated successfully, but these errors were encountered: