Bug 170918
| Summary: | Update semantics for selection in response to changing value in input/textarea | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Domenic Denicola <d> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | ahmad.saleem792, akeerthi, bdakin, cdumez, karlcow, rniwa, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Domenic Denicola
The spec was recently changed in https://github.com/whatwg/html/pull/2437. See the new spec at:
- https://html.spec.whatwg.org/multipage/forms.html#dom-input-value-value
- https://html.spec.whatwg.org/multipage/forms.html#dom-textarea-value
Web platform tests are available at http://w3c-test.org/html/semantics/forms/textfieldselection/selection-after-content-change.html
Note that browsers were previously rather non-interoperable and spec-compliant in this area, including WebKit; this change brings the spec more in line with WebKit for textarea, but less so for input.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/31683589>
Ahmad Saleem
We are passing all WPT tests:
https://wpt.fyi/results/html/semantics/forms/textfieldselection/selection-after-content-change.html?label=experimental&label=master&aligned=
Do we need to do anything more?
Karl Dubost
Probably it's fine.
Thanks Ahmad for the heads up.