Skip to content

Commit 9f9dfdb

Browse files
authored
Merge pull request #176 from RitwikGupta/master
Added seamless boolean attribute for iframe
2 parents 194e101 + 27122c6 commit 9f9dfdb

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

AUTHORS.rst

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Patches and suggestions
3232
- Andreas Madsack
3333
- Karim Valiev
3434
- Marc DM
35+
- Ritwik Gupta
3536
- Tony Lopes
3637
- lilbludevil
3738
- Simon Sapin

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change Log
44
unreleased
55
~~~~~~~~~~~~~~~~~~
66

7+
* Added the seamless attribute for iframes.
78
* Added `itemscope` as boolean attribute
89
https://github.com/html5lib/html5lib-python/issues/194
910

html5lib/constants.py

+1
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,7 @@
606606
"input": frozenset(["disabled", "readonly", "required", "autofocus", "checked", "ismap"]),
607607
"select": frozenset(["disabled", "readonly", "autofocus", "multiple"]),
608608
"output": frozenset(["disabled", "readonly"]),
609+
"iframe": frozenset(["seamless"]),
609610
}
610611

611612
# entitiesWindows1252 has to be _ordered_ and needs to have an index. It

0 commit comments

Comments
 (0)