<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>124723</bug_id>
          
          <creation_ts>2013-11-21 10:14:38 -0800</creation_ts>
          <short_desc>Margins &amp; Float positions calculated incorrectly for replaced elements</short_desc>
          <delta_ts>2024-06-27 15:05:32 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>264770</dup_id>
          
          <bug_file_loc>http://codepen.io/chrisbank/pen/HoLhk</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Divya Manian">divya</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>robert</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>953156</commentid>
    <comment_count>0</comment_count>
    <who name="Divya Manian">divya</who>
    <bug_when>2013-11-21 10:14:38 -0800</bug_when>
    <thetext>Margins on replaced elements are being incorrectly applied. Note that the checkbox has margin applied from its container&apos;s far left instead of being adjacent to the immediately floated element (of bgcolor indianred). Firefox does this correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883442</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 16:27:20 -0700</bug_when>
    <thetext>Firefox and Chrome both handle the checkbox case properly, Safari does not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883443</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-13 16:27:30 -0700</bug_when>
    <thetext>&lt;rdar://problem/96980226&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2043475</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-06-27 15:05:32 -0700</bug_when>
    <thetext>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 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>