Commit 3f3a848
authored
Treat a null elementNs in getPropertyType/geAtributeType as the HTML namespace (#557)
This is the behavior that Chromium and WebKit currently implement, see
https://phabricator.services.mozilla.com/D226547
Currently, it seems that the "interface for localName and elementNs"
would fallback to `Element`, similarly to what happens with
`document.createElementNS(null, "div")` for example.
Note that a null attrNs is already handled by the spec.
See also #553 for details.1 parent e5717b9 commit 3f3a848
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
676 | 676 | | |
677 | 677 | | |
678 | 678 | | |
679 | | - | |
| 679 | + | |
680 | 680 | | |
681 | 681 | | |
682 | 682 | | |
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
| 717 | + | |
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
| |||
0 commit comments