WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
44357
Checkboxes don't get repainted when appended to a div
https://bugs.webkit.org/show_bug.cgi?id=44357
Summary
Checkboxes don't get repainted when appended to a div
Eddie Monge
Reported
2010-08-20 14:32:55 PDT
Checkboxes don't get repainted when appended to a div with height set to greater than 16px. If the box is click/changed, and the action is to append it to another div, the first append doesnt register.
Attachments
Add attachment
proposed patch, testcase, etc.
Eddie Monge
Comment 1
2010-08-20 14:35:14 PDT
<html> <head> <style type="text/css"> #box1, #box2 { border: 1px solid green; height: 17px; /* only appears when height is greater than 16px, but height needs to be set to reproduce */ } #box2 { border-color: red; } </style> </head> <body> <div id="box1"> <!-- reproducable with both onclick and onchange --> <input type="checkbox" onclick="box2.appendChild(this);" /> <input type="checkbox" onclick="box2.appendChild(this);" /> <input type="checkbox" onclick="box2.appendChild(this);" /> </div> <br/> <div id="box2"> </div> <script type="text/javascript"> window.box2 = document.getElementById('box2'); </script> </body> </html>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug