Bug 21187 - Reflections of input buttons display incorrectly
Summary: Reflections of input buttons display incorrectly
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2008-09-27 17:30 PDT by James A Baker
Modified: 2022-07-27 11:11 PDT (History)
7 users (show)

See Also:


Attachments
Discontinuity in Reflection of Input Button (11.27 KB, image/png)
2008-09-27 17:35 PDT, James A Baker
no flags Details
Reduction of HTML and CSS to minimums (488 bytes, application/xhtml+xml)
2008-09-27 17:43 PDT, James A Baker
no flags Details
Reference rendering of reduced HTML and CSS attachment (25.52 KB, image/png)
2008-09-27 17:50 PDT, James A Baker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James A Baker 2008-09-27 17:30:29 PDT
A simple input (type=submit) button on a form is displayed with a jagged, broken appearance within a box reflection.

The "lozenge" (aka un-styled) button appears (in the reflection) to be offset vertically through its middle by a few pixels, even though it does not appear that the text contained within it has been similarly offset.
Comment 1 James A Baker 2008-09-27 17:35:20 PDT
Created attachment 23884 [details]
Discontinuity in Reflection of Input Button

Sample rendering of page with an unstyled input button contained within a table, within a form, within a div which is defined as having a "below" reflection.
Comment 2 James A Baker 2008-09-27 17:43:10 PDT
Created attachment 23885 [details]
Reduction of HTML and CSS to minimums

This is a reduction of the necessary HTML and CSS code to reproduce the rendering bug.
Comment 3 James A Baker 2008-09-27 17:50:57 PDT
Created attachment 23886 [details]
Reference rendering of reduced HTML and CSS attachment

This is merely a reference rendering from my Mac (a  2x800MHz "Quicksilver" PPC, running WebKit r36882 on Mac OS X 10.4.11) of the attached HTML and CSS reductions.
Comment 4 Mark Rowe (bdash) 2008-09-28 17:17:44 PDT
<rdar://problem/6253252>
Comment 5 Ahmad Saleem 2022-07-27 09:42:23 PDT
I am unable to reproduce the buggy cut-off behavior from reference attached image in the test case from attachment in Safari 15.6 on macOS 12.5 and it is same in Chrome Canary 106.

Although I think Firefox Nightly 105 does not support -webkit-box-reflect and it just shows a simple button but then from out of thin air amend the "text" of button from 'Submit' to "SUBMIT QUERY" (by adding 'query' from no where). I think it might be bug in Firefox here but just wanted to share updated results. Thanks!
Comment 6 Ryosuke Niwa 2022-07-27 11:11:21 PDT
Yeah, this is working nnow.