| Commit-Queue | +1 |
Jihad HannaUsing `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 comesJihad HannaPlease wrap a paragraph in 72 columns.
Done
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:
if (IsAllAscii(chars)) {Jihad HannaWe have `StringImpl::ContainsOnlyAsciiOrEmpty()`, and it can be much faster than this.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
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. |