| Commit-Queue | +1 |
Hey, I'm not sure who would be the best reviewer for this CL, so I looked at the closest OWNERS file to the modified directory.
If someone else would be a better reviewer feel free to re-assign, thank you!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
I saw that Kent had authored/reviewed many of the recent changes to `string_impl.cc`, so perhaps a better pick.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Using `FoldCase()` is an implementation detail of `<datalist>`, and might be changed in the future. Would you add a unit test of `HTMLInputElement::FilteredDataListOptions()` too please?
This CL fixes an issue where typing in a field results in a different outcome than copy-pasting the typed text into the field, when it comesPlease wrap a paragraph in 72 columns.
This CL attempts to close the gap between 8-bit and 16-bitDoes this CL affect CSS `text-transform:lowercase` ?
if (IsAllAscii(chars)) {We have `StringImpl::ContainsOnlyAsciiOrEmpty()`, and it can be much faster than this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Using `FoldCase()` is an implementation detail of `<datalist>`, and might be changed in the future. Would you add a unit test of `HTMLInputElement::FilteredDataListOptions()` too please?
Done
This CL fixes an issue where typing in a field results in a different outcome than copy-pasting the typed text into the field, when it comesPlease wrap a paragraph in 72 columns.
Done
This CL attempts to close the gap between 8-bit and 16-bitDoes this CL affect CSS `text-transform:lowercase` ?
It does not seem so:
We have `StringImpl::ContainsOnlyAsciiOrEmpty()`, and it can be much faster than this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This CL attempts to close the gap between 8-bit and 16-bitJihad HannaDoes this CL affect CSS `text-transform:lowercase` ?
It does not seem so:
- `text-tranform` calls `ComputedStyle::ApplyTextTransform()`
- The lowercase branch calls `CaseMap::ToLower()`
- I couldn't find a usage of `StringImpl::FoldCase()` from there.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fix blink::StringImpl::FoldCase()
This CL fixes an issue where typing in a field results in a different
outcome than copy-pasting the typed text into the field, when it comes
to datalist option filtering. (Details in the bug report).
There's an case-inconsistency in `blink::StringImpl::FoldCase()`:
1) 16-bit Strings
When a string is represented as 16-bit (which can be the case during
copy-paste), `FoldCase()` used ICU's `u_strFoldCase` (Unicode Full
Case Folding). Under full case folding, `'ß'` (U+00DF) expands to
`"ss"`.
2) 8-bit Strings
When a string is represented as 8-bit (which can be the case for
inline text in the document or typed text), `FoldCase()` simply
performed lowercasing. Under lowercasing, `'ß'` remains `'ß'`.
This CL attempts to close the gap between 8-bit and 16-bit
implementations of the function.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |