-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CSS field-sizing support for some elements
This covers: * input element as a text entry widget: size attribute is ignored if field-sizing: content is set. * input element with number state * input element as a file upload control (optional) * select element: size attribute is used only for dropdown/listbox switching if field-sizing: content is set * textarea element: cols/rows are ignored if field-sizing: content is set This also stops applying "presentational hints" and "user-agent-level style rule" for width and height properties in order to match to major browser behaviors. Fixes #6807. See also w3c/csswg-drafts#7542.
- Loading branch information
1 parent
055a678
commit ae80157
Showing
1 changed file
with
109 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters