|
588 | 588 | ]) |
589 | 589 |
|
590 | 590 | booleanAttributes = { |
591 | | - "": frozenset(("irrelevant",)), |
592 | | - "style": frozenset(("scoped",)), |
593 | | - "img": frozenset(("ismap",)), |
594 | | - "audio": frozenset(("autoplay", "controls")), |
595 | | - "video": frozenset(("autoplay", "controls")), |
596 | | - "script": frozenset(("defer", "async")), |
597 | | - "details": frozenset(("open",)), |
598 | | - "datagrid": frozenset(("multiple", "disabled")), |
599 | | - "command": frozenset(("hidden", "disabled", "checked", "default")), |
600 | | - "hr": frozenset(("noshade")), |
601 | | - "menu": frozenset(("autosubmit",)), |
602 | | - "fieldset": frozenset(("disabled", "readonly")), |
603 | | - "option": frozenset(("disabled", "readonly", "selected")), |
604 | | - "optgroup": frozenset(("disabled", "readonly")), |
605 | | - "button": frozenset(("disabled", "autofocus")), |
606 | | - "input": frozenset(("disabled", "readonly", "required", "autofocus", "checked", "ismap")), |
607 | | - "select": frozenset(("disabled", "readonly", "autofocus", "multiple")), |
608 | | - "output": frozenset(("disabled", "readonly")), |
609 | | - "iframe": frozenset(("seamless")), |
| 591 | + "": frozenset(["irrelevant"]), |
| 592 | + "style": frozenset(["scoped"]), |
| 593 | + "img": frozenset(["ismap"]), |
| 594 | + "audio": frozenset(["autoplay", "controls"]), |
| 595 | + "video": frozenset(["autoplay", "controls"]), |
| 596 | + "script": frozenset(["defer", "async"]), |
| 597 | + "details": frozenset(["open"]), |
| 598 | + "datagrid": frozenset(["multiple", "disabled"]), |
| 599 | + "command": frozenset(["hidden", "disabled", "checked", "default"]), |
| 600 | + "hr": frozenset(["noshade"]), |
| 601 | + "menu": frozenset(["autosubmit"]), |
| 602 | + "fieldset": frozenset(["disabled", "readonly"]), |
| 603 | + "option": frozenset(["disabled", "readonly", "selected"]), |
| 604 | + "optgroup": frozenset(["disabled", "readonly"]), |
| 605 | + "button": frozenset(["disabled", "autofocus"]), |
| 606 | + "input": frozenset(["disabled", "readonly", "required", "autofocus", "checked", "ismap"]), |
| 607 | + "select": frozenset(["disabled", "readonly", "autofocus", "multiple"]), |
| 608 | + "output": frozenset(["disabled", "readonly"]), |
| 609 | + "iframe": frozenset(["seamless"]), |
610 | 610 | } |
611 | 611 |
|
612 | 612 | # entitiesWindows1252 has to be _ordered_ and needs to have an index. It |
|
0 commit comments