Bug 124723

Summary: Margins & Float positions calculated incorrectly for replaced elements
Product: WebKit Reporter: Divya Manian <divya>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, bfulgham, robert, webkit-bug-importer, zoltan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://codepen.io/chrisbank/pen/HoLhk

Divya Manian
Reported 2013-11-21 10:14:38 PST
Margins on replaced elements are being incorrectly applied. Note that the checkbox has margin applied from its container's far left instead of being adjacent to the immediately floated element (of bgcolor indianred). Firefox does this correctly.
Attachments
Brent Fulgham
Comment 1 2022-07-13 16:27:20 PDT
Firefox and Chrome both handle the checkbox case properly, Safari does not.
Radar WebKit Bug Importer
Comment 2 2022-07-13 16:27:30 PDT
Ahmad Saleem
Comment 3 2024-06-27 15:05:32 PDT
It is fixed - I remember fixing it here - https://github.com/WebKit/WebKit/commit/7adc3dd2a2260a3dd133dbc2245a9be5b8b78772 *** This bug has been marked as a duplicate of bug 264770 ***
Note You need to log in before you can comment on or make changes to this bug.