Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-display] What are "form controls"? #1024
#540 introduced language like this:
The term "form controls" is not defined, so I have no idea how to go about implementing this.
More generally, though, I think this approach is not great: it inhibits sharing and caching of computed style data in nasty ways, because now you have to worry about which exact elements are being styled, not just the styles themselves, to determine whether you get the same computed styles given identical specified style inputs.
referenced this issue
Feb 10, 2017
This is what the CSSWG actually decided:
Shouldn't the term 'replaced elements' be clarified, too? The "Rendering" section of HTML spec clearly places "Form controls" into "Non-replaced elements" list. Also, according to the current definition from CSS2.1+
Doesn't the CSS definition of "replaced elements" need to be updated?
added a commit
Mar 9, 2017
Okay, pushed changes. The handwavy definition is “replaced elements, form controls (i.e. user interface elements whose element type can accept and/or submit user data, such as
Let me know if there's any problem with the changes. Closing until then. :)