Bug 124723
Summary: | Margins & Float positions calculated incorrectly for replaced elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Divya Manian <divya> |
Component: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brent Fulgham
Firefox and Chrome both handle the checkbox case properly, Safari does not.
Radar WebKit Bug Importer
<rdar://problem/96980226>
Ahmad Saleem
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 ***