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

Re: [csswg-drafts] [css-sizing-4] Can we Implement Different Values for Horizontal & Vertical Box? (#5142)

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Jun 2020 09:11:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-636722938-1591002715-sysbot+gh@w3.org>
> Today I found a use case where if I could change only vertical box-sizing to content-box, I could solve my issue only via CSS. Though for now I have to use JS.

And could you please explain that use case?

> why not padding-box is implemented?

`padding-box` was specified in an earlier version of the specification, though dropped due to missing implementation interest, see https://www.w3.org/TR/2015/CR-css-ui-3-20150707/#changes-since-2015-05 and https://github.com/w3c/csswg-drafts/commit/f6b3530f556e91bd8e0759f58049690695030b1c.

I guess that decision was also based on missing use cases. So if you can come up with one, it may be discussed again. Though for that you should open a separate issue.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5142#issuecomment-636722938 using your GitHub account
Received on Monday, 1 June 2020 09:11:58 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:27 UTC