-
Notifications
You must be signed in to change notification settings - Fork 294
Added seamless boolean attribute for iframe #176
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
Changes from 4 commits
1be9532
4dfe3cd
7fd79e3
01011c2
b47e3a1
27122c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
Change Log | ||
---------- | ||
|
||
* Added the seamless attribute for iframes. | ||
|
||
0.999999999/1.0b10 | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -588,24 +588,25 @@ | |
]) | ||
|
||
booleanAttributes = { | ||
"": frozenset(["irrelevant"]), | ||
"style": frozenset(["scoped"]), | ||
"img": frozenset(["ismap"]), | ||
"audio": frozenset(["autoplay", "controls"]), | ||
"video": frozenset(["autoplay", "controls"]), | ||
"script": frozenset(["defer", "async"]), | ||
"details": frozenset(["open"]), | ||
"datagrid": frozenset(["multiple", "disabled"]), | ||
"command": frozenset(["hidden", "disabled", "checked", "default"]), | ||
"hr": frozenset(["noshade"]), | ||
"menu": frozenset(["autosubmit"]), | ||
"fieldset": frozenset(["disabled", "readonly"]), | ||
"option": frozenset(["disabled", "readonly", "selected"]), | ||
"optgroup": frozenset(["disabled", "readonly"]), | ||
"button": frozenset(["disabled", "autofocus"]), | ||
"input": frozenset(["disabled", "readonly", "required", "autofocus", "checked", "ismap"]), | ||
"select": frozenset(["disabled", "readonly", "autofocus", "multiple"]), | ||
"output": frozenset(["disabled", "readonly"]), | ||
"": frozenset(("irrelevant",)), | ||
"style": frozenset(("scoped",)), | ||
"img": frozenset(("ismap",)), | ||
"audio": frozenset(("autoplay", "controls")), | ||
"video": frozenset(("autoplay", "controls")), | ||
"script": frozenset(("defer", "async")), | ||
"details": frozenset(("open",)), | ||
"datagrid": frozenset(("multiple", "disabled")), | ||
"command": frozenset(("hidden", "disabled", "checked", "default")), | ||
"hr": frozenset(("noshade")), | ||
"menu": frozenset(("autosubmit",)), | ||
"fieldset": frozenset(("disabled", "readonly")), | ||
"option": frozenset(("disabled", "readonly", "selected")), | ||
"optgroup": frozenset(("disabled", "readonly")), | ||
"button": frozenset(("disabled", "autofocus")), | ||
"input": frozenset(("disabled", "readonly", "required", "autofocus", "checked", "ismap")), | ||
"select": frozenset(("disabled", "readonly", "autofocus", "multiple")), | ||
"output": frozenset(("disabled", "readonly")), | ||
"iframe": frozenset(("seamless")), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 Can you fix this? I'd also prefer it if you switched these back to lists. There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
} | ||
|
||
# entitiesWindows1252 has to be _ordered_ and needs to have an index. It | ||
|
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.
This one is also missing a comma.
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.
This is a regression, and why we moved to lists. Presumably just copy/paste from the old branch?
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.
This was my fault, I chose the wrong revision when fixing the merge conflicts. Will fix!