Bug 41167 - layout of inline elements inside button different then other tags
Summary: layout of inline elements inside button different then other tags
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-24 10:29 PDT by Randy Roesler
Modified: 2010-06-24 10:29 PDT (History)
0 users

See Also:


Attachments
HTML and CSS demonstrating layout insconsistancies (1.07 KB, text/html)
2010-06-24 10:29 PDT, Randy Roesler
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Roesler 2010-06-24 10:29:37 PDT
Created attachment 59671 [details]
HTML and CSS demonstrating layout insconsistancies 

"You are currently using: 533.4"

While trying to implement a popular technique for png scalable buttons, I noticed that the layout engine was behaving differently for anchors and for buttons.
The attached HTML file demonstrates the bug.  All three <p> should display the same.  

For reference, IE 8 (in this case) displays the page correctly.

For reference only, this link documents the png technique. 
http://monc.se/kitchen/59/scalable-css-buttons-using-png-and-background-colors