Bug 8544 - list-item set to display inline ignores padding with transitional doctype
Summary: list-item set to display inline ignores padding with transitional doctype
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 417.x
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-23 04:54 PDT by Philippe Wittenbergh
Modified: 2020-12-22 09:56 PST (History)
1 user (show)

See Also:


Attachments
test case (2.73 KB, text/html)
2006-04-23 04:56 PDT, Philippe Wittenbergh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Wittenbergh 2006-04-23 04:54:45 PDT
A list item (<li>) is set to display:inline. Padding is assigned but totally ignored. It works fine with a Strict Doctype. Applies to safari 1.3x, Safari 2.03x and Nightly webkit builds.
Web Inspector does report the padding correctly.
Comment 1 Philippe Wittenbergh 2006-04-23 04:56:51 PDT
Created attachment 7920 [details]
test case

testcase with html 4.01 transitional doctype. XHTML 1.0 trans gives the same result.
Comment 2 Dave Hyatt 2006-04-23 21:57:38 PDT
This is strange.  Not sure why this would be happening.
Comment 3 Dave Hyatt 2006-04-23 21:59:57 PDT
I think this may be a bug in the line box model quirk that attempts to cull out descenders.
Comment 4 Sam Sneddon [:gsnedders] 2020-12-22 09:56:47 PST
Can't repro nowadays; presumably this got fixed at some point