Bug 14826

Summary: weird layout using padding-right on inline element
Product: WebKit Reporter: Thierry Pierron <t.pierron>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, mitz, robert
Priority: P2 Keywords: HasReduction
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
Attachments:
Description Flags
inline span with padding-right that cause weird layout
none
inline span with padding-right that cause weird layout none

Thierry Pierron
Reported 2007-07-31 07:27:52 PDT
The example include a series of span displayed as inline element, where the padding-right property has been tweaked to make them displayed into column. It work almost well, except the first line, which is word-wrapped a little too early. Actually, trying to find the minimal bug show case, when I remove the <input type=checkbox> tags, the layout worked as expected.
Attachments
inline span with padding-right that cause weird layout (2.01 KB, text/html)
2007-07-31 07:29 PDT, Thierry Pierron
no flags
inline span with padding-right that cause weird layout (1.94 KB, text/html)
2007-07-31 07:33 PDT, Thierry Pierron
no flags
Thierry Pierron
Comment 1 2007-07-31 07:29:21 PDT
Created attachment 15757 [details] inline span with padding-right that cause weird layout
Thierry Pierron
Comment 2 2007-07-31 07:33:41 PDT
Created attachment 15758 [details] inline span with padding-right that cause weird layout
David Kilzer (:ddkilzer)
Comment 3 2007-07-31 07:59:19 PDT
Confirmed difference to Firefox 2.0.0.6 using a local debug build of WebKit r24792 with Safari 3 Public Beta v. 3.0.2 (522.12) on Mac OS X 10.4.10 (8R218). This is not a regression from shipping Safari 2.0.4 (419.3) with original WebKit as it has the same issue. The first row in the test case should have three items in it, but only has two.
Robert Hogan
Comment 4 2013-07-27 03:59:43 PDT
Bug description is a bit vague. The test case doesn't look problematic to me on ToT WebKit. Can you close if it looks fixed to you?
Brent Fulgham
Comment 5 2022-07-12 10:48:13 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note You need to log in before you can comment on or make changes to this bug.