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

Support onLoad event on link element #6815

Merged
merged 1 commit into from
May 21, 2016
Merged

Support onLoad event on link element #6815

merged 1 commit into from
May 21, 2016

Conversation

roderickhsiao
Copy link
Contributor

@roderickhsiao roderickhsiao commented May 20, 2016

According to the spec
https://developer.mozilla.org/en/docs/Web/HTML/Element/link

We should be able to use onload and onerror for link element.
http://codepen.io/anon/pen/mPZXMM

By adding the feature, we can support link attribute preload (w3c draft)
https://w3c.github.io/preload/

case 'img':
case 'form':
case 'link':
Copy link
Contributor Author

Choose a reason for hiding this comment

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

change is here, other just sort variable by alphabetical order

@jimfb
Copy link
Contributor

jimfb commented May 21, 2016

Thanks @roderickhsiao!

@jimfb jimfb merged commit fd589fc into facebook:master May 21, 2016
@zpao zpao added this to the 15-next milestone Jun 1, 2016
zpao pushed a commit to zpao/react that referenced this pull request Jun 8, 2016
zpao pushed a commit that referenced this pull request Jun 14, 2016
@zpao zpao modified the milestones: 15-next, 15.2.0 Jun 14, 2016
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.

3 participants