Bug 41625

Summary: REGRESSION (Safari 4 - 5): Buttons are badly rendered when added dynamically from JavaScript
Product: WebKit Reporter: Marius Florea <zmeuldumy>
Component: Layout and RenderingAssignee: 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:
Description Flags
HTML code snippet to reproduce the bug none

Marius Florea
Reported 2010-07-05 10:17:08 PDT
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.
Attachments
HTML code snippet to reproduce the bug (392 bytes, text/html)
2010-07-05 10:17 PDT, Marius Florea
no flags
Marius Florea
Comment 1 2010-07-05 10:28:04 PDT
The added button is entirely hidden if the container has a fixed height.
Alexey Proskuryakov
Comment 2 2010-07-06 13:22:41 PDT
Confirmed with shipping Safari 5 and with ToT. Works fine in Safari 4.
Ahmad Saleem
Comment 3 2022-12-30 15:34:24 PST
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.
Note You need to log in before you can comment on or make changes to this bug.