<?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>120003</bug_id>
          
          <creation_ts>2013-08-19 01:56:47 -0700</creation_ts>
          <short_desc>Spec change: margins/paddings inside a flex container are relative to their respective dimension, not always the inline dimension (as in block layout)</short_desc>
          <delta_ts>2013-08-22 16:03:16 -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>113519</dup_id>
          
          <bug_file_loc>http://jsfiddle.net/m_gol/uVVFn/7/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cbiesinger</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>918579</commentid>
    <comment_count>0</comment_count>
    <who name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</who>
    <bug_when>2013-08-19 01:56:47 -0700</bug_when>
    <thetext>According to the spec change from March 2013:
http://lists.w3.org/Archives/Public/www-style/2013Mar/0688.html
margins/paddings inside a flex container should be relative to their respective dimensions, e.g. padding-top: 50% sets padding to 50% of height, not width as it is in block layout.

So far only Firefox has implemented the change which makes it impossible to use percentages for paddings in flex containers on the web. :(

Related Chromium ticket: https://code.google.com/p/chromium/issues/detail?id=275327</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918582</commentid>
    <comment_count>1</comment_count>
    <who name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</who>
    <bug_when>2013-08-19 02:03:11 -0700</bug_when>
    <thetext>Related spec fragment: http://dev.w3.org/csswg/css-flexbox/#item-margins</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918585</commentid>
    <comment_count>2</comment_count>
    <who name="Michał Gołębiowski-Owczarek">m.goleb+bugzilla</who>
    <bug_when>2013-08-19 02:10:25 -0700</bug_when>
    <thetext>Related Internet Explorer ticket: https://connect.microsoft.com/IE/feedback/details/797724</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>920001</commentid>
    <comment_count>3</comment_count>
    <who name="Christian Biesinger">cbiesinger</who>
    <bug_when>2013-08-22 16:03:16 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 113519 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>