-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the owner document for all element constructors
Fixes #1154, which originally covered only the undefined "document" variable in the HTMLElement constructor, but expanded on further investigation to reveal that the spec's current choice of node document for Audio, Image, and Option was strange and not implemented in browsers. While there, cleans up all three of these named constructors to correctly use "create an element," and to be in numbered algorithm form instead of giant-prose-block form.
- Loading branch information
Showing
1 changed file
with
87 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters