Bug 263596
| Summary: | :dir invalidation for input elements does not work correctly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anne van Kesteren <annevk> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, mike, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Anne van Kesteren
Bug 261941 added some invalidation logic, but it seems it's not being hit for a number of cases. This might be related to InputType::createIfDifferent() as that is the only thing that can cause HTMLInputElement::updateType() to return early, but I was not able to figure it out in the time I gave myself for this.
The test in LayoutTests/imported/w3c/web-platform-tests/css/selectors/dir-pseudo-on-input-element.html for dynamic changes can easily be made more general by setting input.type to each of the types in the for of loop surrounding the next test.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117748112>