Bug 124723 - Margins & Float positions calculated incorrectly for replaced elements
Summary: Margins & Float positions calculated incorrectly for replaced elements
Status: RESOLVED DUPLICATE of bug 264770
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: http://codepen.io/chrisbank/pen/HoLhk
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-11-21 10:14 PST by Divya Manian
Modified: 2024-06-27 15:05 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Divya Manian 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.
Comment 1 Brent Fulgham 2022-07-13 16:27:20 PDT
Firefox and Chrome both handle the checkbox case properly, Safari does not.
Comment 2 Radar WebKit Bug Importer 2022-07-13 16:27:30 PDT
<rdar://problem/96980226>
Comment 3 Ahmad Saleem 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 ***