W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

Re: [csswg-drafts] [css-display] What are "form controls"?

From: SelenIT via GitHub <sysbot+gh@w3.org>
Date: Wed, 15 Feb 2017 13:36:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-280012153-1487165809-sysbot+gh@w3.org>
Shouldn't the term 'replaced elements' be clarified, too? The 
["Rendering" section of HTML 
spec](https://html.spec.whatwg.org/multipage/rendering.html) clearly 
places "Form controls" into "Non-replaced elements" list. Also, 
according to the current definition from CSS2.1+

> An element whose content is outside the scope of the CSS formatting 
model

the `button` element, for example, doesn't fit to the replaced element
 definition, since its content is the regular HTML DOM subtree, styled
 with normal CSS by the CSS formatting rules. Moreover, form controls 
internally presented as UA Shadow DOM components styled with UA 
built-in styles still belong to the CSS formatting model, and 
therefore don't completely match the definition of 'replaced 
elements'.

Doesn't the CSS definition of "replaced elements" need to be updated?

-- 
GitHub Notification of comment by SelenIT
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1024#issuecomment-280012153
 using your GitHub account
Received on Wednesday, 15 February 2017 13:36:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:29 UTC