Bug 263778

Summary: Subtle input element repaint issue when changing the type
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: akeerthi, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Anne van Kesteren 2023-10-27 06:50:18 PDT
Steps to reproduce:

1. Navigate to https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cinput%20type%3Dfoobar%3E%0A%3Cscript%3E%0Aonclick%20%3D%20()%20%3D%3E%20document.querySelector(%60input%60).type%20%3D%20%60checkbox%60%0A%3C%2Fscript%3E
2. Click in the nested document with the label "Rendered view" (for instance, next to the checkbox)

Expected: a checkbox.

Actual: a checkbox with behind it the remnants of a text box.
Comment 1 Radar WebKit Bug Importer 2023-11-03 06:51:14 PDT
<rdar://problem/117904003>
Comment 2 Anne van Kesteren 2024-01-04 02:22:46 PST
This appears to have been fixed.