- From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Feb 2018 23:44:23 +0000
- To: public-css-archive@w3.org
Here's the corresponding example in block layout: ```html <style> span { display:inline-block; width:50px; height:10px; background:lime } </style> <div style="display:inline-block; border:1px solid;"> <span style="margin-right:calc(10px + 20%)"></span><span></span> </div> ``` 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](https://bugzilla.mozilla.org/show_bug.cgi?id=1434478) that to comply with the recent CSSWG [resolution](https://github.com/w3c/csswg-drafts/issues/347).) -- GitHub Notification of comment by MatsPalmgren Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2297#issuecomment-365782470 using your GitHub account
Received on Wednesday, 14 February 2018 23:44:25 UTC