Summary: | REGRESSION (Safari 4 - 5): Buttons are badly rendered when added dynamically from JavaScript | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Marius Florea <zmeuldumy> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||
Severity: | Major | CC: | ahmad.saleem792, ap, mitz | ||||
Priority: | P1 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://incubator.myxwiki.org/xwiki/bin/view/Test/SafariButtonRenderinBug?xpage=plain | ||||||
Attachments: |
|
The added button is entirely hidden if the container has a fixed height. Confirmed with shipping Safari 5 and with ToT. Works fine in Safari 4. I am not able to reproduce this in Safari 16.2, STP160 where the "Action" button is partially or completely hidden and it matches with Chrome Canary 111 and Firefox Nightly 110 in rendering. I am marking this as "RESOLVED CONFIGURATION CHANGED", please reopen if it is still an issue. |
Created attachment 60552 [details] HTML code snippet to reproduce the bug Buttons added from JavaScript to an HTML element (the container) that doesn't have a fixed size are badly displayed: some parts of the button are not displayed. The amount of hidden content seems to be proportional with the padding of the container. Scrolling or resizing the browser window forces the page to be redrawn and the button is then displayed correctly. I'm able to reproduce the problem both on WinXP+Safari5.0(7533.16) and MacOS+Safari5.