Bug 9264

Summary: Quirksmode: Floated items with trailing whitespace lose padding-right
Product: WebKit Reporter: Adele Peterson <adele>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, ian, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: HasReduction, InRadar
Version: 420+   
Hardware: PC   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 9610    
Attachments:
Description Flags
test case
none
Safari 15.6 matches Chrome but differs from Firefox none

Adele Peterson
Reported 2006-06-02 14:54:36 PDT
http://www.quirksmode.org/bugreports/archives/safari/index.html "Safari will omit the right padding of an element in a floated container if that element has trailing whitespace. Workaround is to ensure any elements with padding have no whitespace before the closing tag. (ppknote: The test page is a mess in IE Mac, but the bug is not the same) Test page http://moshpit.org/quirksmode/safari_float.html Workaround is included Reported by: Alan Harder."
Attachments
test case (911 bytes, text/html)
2008-12-29 14:30 PST, Robert Blaut
no flags
Safari 15.6 matches Chrome but differs from Firefox (854.58 KB, image/png)
2022-07-22 09:38 PDT, Ahmad Saleem
no flags
Joost de Valk (AlthA)
Comment 1 2006-06-24 13:59:26 PDT
Changing component, confirming the bug.
Robert Blaut
Comment 2 2008-12-29 14:30:20 PST
Created attachment 26298 [details] test case
Ahmad Saleem
Comment 3 2022-07-22 09:38:44 PDT
Created attachment 461142 [details] Safari 15.6 matches Chrome but differs from Firefox I am not clear on expected result but based on rendering output Safari 15.6 on macOS 12.5 based on test case matches with Chrome Canary 105 but differs from Firefox Nightly 104 as can be seen from attached screenshot. Appreciate if someone else can share more input on what direction should Webkit take here. Thanks!
Radar WebKit Bug Importer
Comment 4 2022-07-22 14:49:56 PDT
Ryosuke Niwa
Comment 5 2022-07-22 21:42:23 PDT
Even though the rendering differs between WebKit/Blink and Gecko, the original bug being reported has been fixed -> Config Changed.
Note You need to log in before you can comment on or make changes to this bug.