Add <input> element [WIP – Do Not Merge]#1698
Conversation
|
This needs a thorough review before merging. In particular, we need to check that added support for some combination of values of type and other attributes are properly described. |
|
I've been thinking a bit, and talking with @Elchi3 and @chrisdavidmills , about how we should represent Logically, what we're looking at with So for example, The simplistic logical approach to this is to model it as a single element with multiple attributes: ...and then try to deal with the interrelationships. But I don't think this is going to be very useful for our users. From the user's point of view, I feel like we should tend to represent things more or less as if the different This is because users don't go
They go
So I think we should model this in the data, like: (I guess we should split each type into its own file, but logically the tree would be like that.) There are some drawbacks and questions about this. The obvious drawback is that the data will be quite big and repetitive. The (related) question is whether we should explicitly enumerate all attributes, even ones whose compat story is the same as "Basic support". Or should we only enumerate ones whose compat story is different from the "Basic support" row? (I think probably we should not enumerate all attributes, but I'm not sure about this.) But I think overall this kind of approach will be more useful for users. I'll start making a PR along these lines, to see what it looks like. |
|
We could add a dependency on #1799, which should minimise the amount of duplication where the support information is identical. |
|
I’m closing this PR as HTML |
|
We should probably still have a PR for adding an |
|
Yes! Updated the check list at #911 to track the remaining work. |
This adds the browser compatibility table data for the
<input>HTML element.Fixes #911