-
Notifications
You must be signed in to change notification settings - Fork 8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[zh-cn] init translation of html attribute required #22801
Conversation
Preview URLs Flaws (12)URL:
(comment last updated: 2024-08-09 01:19:42) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions:
|
||
{{HTMLElement("input/range", "range")}} 和 {{HTMLElement("input/color", "color")}} 不支持该属性,也与之无关,因为两者都有默认值。{{HTMLElement("input/hidden", "hidden")}} 也不支持该属性,因为用户不可能填写隐藏的表单。也不支持任何按钮类型,包括 `image`。 | ||
|
||
注意,`color` 和 `range` 也不支持 `required`,因为它们都总是有一个值。`color` 类型默认为 `#000000`。`range` 的默认值是 `min` 和 `max` 之间的中点,如果没有声明,在大多数浏览器中,`min` 和 `max` 的默认值分别是 0 和 100。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhat duplicated with the previous paragraph, could you fix it in mdn/content first :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhat duplicated with the previous paragraph, could you fix it in mdn/content first :)
proposed mdn/content#35318
Co-authored-by: A1lo <[email protected]>
Description
part of #17632
Motivation
Additional details
Related issues and pull requests