| Summary: | [InputElement] Return empty string for an invalid floating-point number that ends with "." | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zsun | ||||||
| Component: | Forms | Assignee: | zsun | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, changseok, darin, esprehn+autocc, ews-watchlist, gyuyoung.kim, webkit-bug-importer, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
zsun
2022-02-16 02:44:46 PST
Created attachment 452166 [details]
Patch
Created attachment 452195 [details]
Patch
Comment on attachment 452195 [details]
Patch
r=me
Committed r290124 (247468@main): <https://commits.webkit.org/247468@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 452195 [details]. Comment on attachment 452195 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=452195&action=review > Source/WebCore/html/parser/HTMLParserIdioms.cpp:134 > + if (string.endsWith('.')) > + return fallbackValue; Would be natural to have a comment here just like the one on the code paragraph above. |