Re: [csswg-drafts] [css-sizing] percentage [max-]width|height and intrinsic sizes

I'm certainly OK with trying the first set of edits.

The biggest issue with them is that they need a clearer definition of replaced element.  This is the definition of replaced elements that includes not only the ones that honor CSS 2.1's rules on sizing of replaced elements, but also includes most form controls, but *not* buttons.  So I think it's <input> with type other than button/submit/reset, and also <select>, <textarea>, <progress>, and <meter>.  I'm not sure about <output>, and I *think* <fieldset> doesn't count (but it's probably worth testing).  The fact that buttons are *not* included means there isn't an appropriate canned definition floating around.

Another note is that if your testcase determined that Firefox zeroes out only the percentage, then your testcase is wrong, since the last time we talked about this I wrote a patch (still unlanded) to change that.

Also, I filed a [Mozilla bug 1388840](https://bugzilla.mozilla.org/show_bug.cgi?id=1388840) on updating the behavior.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/765#issuecomment-321351699 using your GitHub account

Received on Wednesday, 9 August 2017 19:06:31 UTC