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

Add playsInline as an allowed HTML property #7519

Merged
merged 1 commit into from
Aug 23, 2016

Conversation

reaperhulk
Copy link
Contributor

This patch allows playsInline as an attribute.

The WHATWG has unprefixed -webkit-playsinline as playsinline (see: whatwg/html#1444) and iOS 10 now uses it (https://webkit.org/blog/6784/new-video-policies-for-ios/).

The WHATWG has unprefixed `-webkit-playsinline` as `playsinline` (see: whatwg/html#1444) and iOS 10 intends to use it (https://webkit.org/blog/6784/new-video-policies-for-ios/).
@ghost
Copy link

ghost commented Aug 18, 2016

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@reaperhulk
Copy link
Contributor Author

bot appears to be a bit out of date, I signed the CLA about 15 minutes before submitting the PR 😄

@ghost ghost added the CLA Signed label Aug 18, 2016
@ghost
Copy link

ghost commented Aug 18, 2016

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

optimum pattern placeholder playsInline poster preload profile radioGroup
readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling
seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet
start step style summary tabIndex target title type useMap value width wmode wrap
Copy link
Member

Choose a reason for hiding this comment

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

Can you actually revert the docs change? You have the right idea, we just try to do it in batches around releases (we can update all translations all at once more easily that way)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No problem, I will revert it. I noticed that referrerPolicy appears to have been missed in this list (it was added in the 15.3 release) so you'll want to add that in addition to playsInline the next time you update these docs.

@reaperhulk
Copy link
Contributor Author

Do reviewers need anything from me?

@zpao
Copy link
Member

zpao commented Aug 23, 2016

Nope, all looks good. Thanks for following up!

@zpao zpao merged commit 7b11aa9 into facebook:master Aug 23, 2016
@zpao zpao added this to the 15-next milestone Aug 23, 2016
@reaperhulk
Copy link
Contributor Author

@zpao Thanks, this was a pleasant contributing experience! 👍

@reaperhulk reaperhulk deleted the reaperhulk-patch-1 branch August 24, 2016 00:37
@zpao zpao modified the milestones: 15.3.2, 15-next Sep 8, 2016
zpao pushed a commit that referenced this pull request Sep 15, 2016
The WHATWG has unprefixed `-webkit-playsinline` as `playsinline` (see: whatwg/html#1444) and iOS 10 intends to use it (https://webkit.org/blog/6784/new-video-policies-for-ios/).
(cherry picked from commit 7b11aa9)
@ArmorDarks
Copy link

I know that it isn't appropriate place to ask, but since it is related — I wonder, why in React has been opted to use this horrible idea of conversion of all HTML attributes to camel case?

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.

4 participants