Skip to content
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

Added support for more HTML attributes: summary #4607

Merged
merged 1 commit into from
Aug 14, 2015

Conversation

hekar
Copy link
Contributor

@hekar hekar commented Aug 11, 2015

Added support for the summary attribute to the <table></table> element.

See issue #4603

@@ -150,6 +150,7 @@ var HTMLDOMPropertyConfig = {
sizes: MUST_USE_ATTRIBUTE,
span: HAS_POSITIVE_NUMERIC_VALUE,
spellCheck: null,
summary: MUST_USE_ATTRIBUTE,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just did a quick test - looks like this can be set with a property or attribute, so let's make this null to retain option value (MUST_USE_* denotes that only 1 way of setting the value is possible so we can't use the other even if it's faster).

PS, thanks for jumping on this quickly :)

@hekar
Copy link
Contributor Author

hekar commented Aug 14, 2015

Couldn't test yesterday, because was setting up a new development machine.

Gave it a quick test and it looks good. Thanks for the help

This attribute is used on <table> to support screen readers.
It is deprecated, so take a look at <caption> instead.
@zpao
Copy link
Member

zpao commented Aug 14, 2015

Thanks!

zpao added a commit that referenced this pull request Aug 14, 2015
Added support for more HTML attributes: `summary`
@zpao zpao merged commit 6708059 into facebook:master Aug 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants