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

> 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