<?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>252672</bug_id>
          
          <creation_ts>2023-02-21 09:57:12 -0800</creation_ts>
          <short_desc>[rhythmic-sizing] Add half of block-step-size (rounded up) space to each block margin for non-orthogonal in flow elements with display: block no margin collapsing</short_desc>
          <delta_ts>2023-03-06 09:58:40 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/38752</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>252357</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sammy Gill">sgill26</reporter>
          <assigned_to name="Sammy Gill">sgill26</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1935533</commentid>
    <comment_count>0</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-02-21 09:57:12 -0800</bug_when>
    <thetext>https://drafts.csswg.org/css-rhythm/#block-step-size

This is the simplest case for block-step-size
1.) We compute the rounded (up) value for the margin box that the box should have
2.) Compute the difference: this is the amount of margin needed so that the box margin box size is equal to the computed value from 1
3.) Split the difference equally between the block start and block end margins

Later properties will influence this slightly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1935534</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-21 09:57:36 -0800</bug_when>
    <thetext>&lt;rdar://problem/105731498&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936350</commentid>
    <comment_count>2</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-02-23 15:00:54 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/10618</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1937534</commentid>
    <comment_count>3</comment_count>
    <who name="Sammy Gill">sgill26</who>
    <bug_when>2023-02-28 13:55:33 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38752</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>