-
Notifications
You must be signed in to change notification settings - Fork 717
[css-text] Make ::first-letter { text-transform: capitalize } a no-op for text in languages that don't have letter case #2135
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
Comments
I also reported these related issues: Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1427032 Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=797571 |
Thanks for reporting the bugs. As for the spec, it is already specified here: https://www.w3.org/TR/css-text-3/#boundary-shaping |
The spec says "Text shaping must not be broken across inline box boundaries when there is no change in formatting." so it seems to me this is just a browser bug and not a spec bug. |
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: da69f9ccccc0a3e7c4dfc836c6d8ec7a554bc68a
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: 791c347d66c2a8ddab9261abeb63aa31239fbcac
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: da69f9ccccc0a3e7c4dfc836c6d8ec7a554bc68a
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: 791c347d66c2a8ddab9261abeb63aa31239fbcac
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: da69f9ccccc0a3e7c4dfc836c6d8ec7a554bc68a
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385 UltraBlame original commit: 791c347d66c2a8ddab9261abeb63aa31239fbcac
…rb shaping in arabic, a=testonly Automatic update from web-platform-tests [css-text] text-transform must not disturb shaping in arabic Related to w3c/csswg-drafts#2135 -- Merge pull request #13385 from frivoal/text-2135 [css-text] text-transform must not disturb shaping in arabic -- wpt-commits: a1e342c18c90f8386adf9e23495814ed6e7f2804, 9b22a2f64e0199794898ae88bf29ae558e2a2f5a wpt-pr: 13385
Consider the following code:
In the latest versions of Firefox and Chrome the rendering of the Arabic text in the section marked as "incorrect" is broken: the first letter is disconnected from the rest of the word. I guess that the rendering engines try to apply separate styling to the first letter and disconnect it, which is unnecessary because capitalization cannot work anyway.
While "first-letter" may have some useful meaning in all writing systems, "capitalize" is meaningless in writing systems that don't have letter case. Applying these rules to text in these writing systems should do nothing. I'm not sure how exactly this is supposed to be written, but this should be defined explicitly as a no-operation on the standards level.
The relevant standards section is probably
https://www.w3.org/TR/css-text-3/#text-transform-property
See the related discussion at https://lists.w3.org/Archives/Public/www-international/2017OctDec/0142.html
The text was updated successfully, but these errors were encountered: