Re: [csswg-drafts] [css-align] Percentage gaps are underspecified

Here's the corresponding example in block layout:
span { display:inline-block; width:50px; height:10px; background:lime }
<div style="display:inline-block; border:1px solid;">
  <span style="margin-right:calc(10px + 20%)"></span><span></span>
In Chome - the width of the `<div>` is 100px and the right margin for the `<span>` is 30px, i.e. `(10px + 0.2*100px)`. What you're suggesting is that the width should be 110px and the margin should be `30px + 0.2*110px`.  So are you saying that the block's intrinsic size here is wrong in Chrome?

(Firefox is still back-computing percentages in these cases, but we're [removing]( that to comply with the recent CSSWG [resolution](

GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 14 February 2018 23:44:25 UTC