W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-text] Percentage of 'text-indent' against intrinsically sized box?

From: Mats Palmgren via GitHub <sysbot+gh@w3.org>
Date: Wed, 06 Jun 2018 12:13:30 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-395047056-1528287209-sysbot+gh@w3.org>
The CSSWG has already resolved ["Make text indent percentage relative to the content box of the element"](https://github.com/w3c/csswg-drafts/issues/2394#issuecomment-380429078). Using the parent's size contradicts that.  It makes more sense to me to always use the content box size of the element itself and thus resolve against zero when calculating its intrinsic size and then resolve against that during layout, like we do for other [percentages](https://drafts.csswg.org/css-sizing-3/#percentage-sizing).

CC @dbaron 

-- 
GitHub Notification of comment by MatsPalmgren
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1597#issuecomment-395047056 using your GitHub account
Received on Wednesday, 6 June 2018 12:13:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 08:16:44 UTC