-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[atoms] Fixing getText atom for capitalized text to better match what…
… a user sees. CSS specifiaton leaves the "word" meaning undefined, https://drafts.csswg.org/css-text/#text-transform-property reads "For capitalize, what constitutes a “word“ is UA-dependent; [UAX29] is suggested (but not required) for determining such word boundaries." getText atom was initially developed with Firefox behaviour in mind. But today it's the only browser that shows "Bla-bla-BLA", other browsers (Chrome, IE, Safari) consider "-" as a word boundary.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters