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 seamless boolean attribute for iframe #176

Merged
merged 6 commits into from Nov 1, 2017

Conversation

RitwikGupta
Copy link
Contributor

Followed guidelines (I think) for the CHANGES and AUTHORS file

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/3275

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@willkg
Copy link
Contributor

willkg commented Oct 3, 2017

@RitwikGupta I apologize that this has been sitting around for so long. Can you take some time to update it? If not, let me know and I can do that. Thank you!

@willkg willkg added this to the 1.0 milestone Oct 3, 2017
@RitwikGupta
Copy link
Contributor Author

That should resolve the merge conflicts. My CHANGES commit may be incorrect, sorry about that! Unsure of the format.

@willkg
Copy link
Contributor

willkg commented Oct 5, 2017

This is failing for Python 3.4 test runs with weirdo errors. I'm going to try some Travis fiddling and if that doesn't work, look into it more carefully.

"input": frozenset(("disabled", "readonly", "required", "autofocus", "checked", "ismap")),
"select": frozenset(("disabled", "readonly", "autofocus", "multiple")),
"output": frozenset(("disabled", "readonly")),
"iframe": frozenset(("seamless")),
Copy link
Contributor

Choose a reason for hiding this comment

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

Two things:

First, you changed all the lists to tuples. I'm not sure why you did that. One problem tuples has is that in order to make something a one-item tuple, you need a comma. Forgetting it causes problems ...

Which brings me to the second thing--this one is missing that comma. So this is creating a frozenset of ['s', 'e', 'a', 'm', 'l', 'e', 's', 's'] which is not what we want.

Can you fix this? I'd also prefer it if you switched these back to lists.

Copy link
Member

Choose a reason for hiding this comment

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

We switched them all over to lists ages ago to avoid the missing-comma issue.

"details": frozenset(("open",)),
"datagrid": frozenset(("multiple", "disabled")),
"command": frozenset(("hidden", "disabled", "checked", "default")),
"hr": frozenset(("noshade")),
Copy link
Contributor

Choose a reason for hiding this comment

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

This one is also missing a comma.

Copy link
Member

Choose a reason for hiding this comment

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

This is a regression, and why we moved to lists. Presumably just copy/paste from the old branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was my fault, I chose the wrong revision when fixing the merge conflicts. Will fix!

@willkg
Copy link
Contributor

willkg commented Oct 5, 2017

Travis fiddling didn't help. We're hitting this issue here:

pypa/setuptools#951

That issue is unrelated to this PR, though, so once this PR is set to go, I'll merge it.

@RitwikGupta If you could fix that comma issue, that'd be super. Thank you for working on this!

@RitwikGupta
Copy link
Contributor Author

I switched over to the lists. I omitted the comma here as stated by @gsnedders, so this should be good to go.

@willkg
Copy link
Contributor

willkg commented Oct 31, 2017

Everything looks good, except there's a new merge conflict.

@RitwikGupta Can you fix the merge conflict? If not, I can get to it. I'm really sorry about this.

@RitwikGupta
Copy link
Contributor Author

RitwikGupta commented Nov 1, 2017

No problem! Should be good to go here. Sorry for the bad commit message there 😄

Copy link
Contributor

@willkg willkg left a comment

Choose a reason for hiding this comment

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

Thank you!

@willkg willkg merged commit 9f9dfdb into html5lib:master Nov 1, 2017
@craigbarnes
Copy link

It seems this attribute has been removed from the spec. It was never supported in Firefox or IE and has been removed from Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants