Skip to content

Commit 8427932

Browse files
committed
Remove sentence about how document.createElement() should have been Element.create()
Consensus was that it may be confusing to have this in the design principles document.
1 parent 79c71ef commit 8427932

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

index.bs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,9 +1132,6 @@ closest common base subclass of the returned result.
11321132
The {{Document/createElement}} method is an example of a
11331133
factory method that could not have been implemented as a constructor,
11341134
as its result can be any of a number of subclasses of {{Element}}.
1135-
If it were designed today, it may have been better to
1136-
use a static method on {{Element}} (e.g. `Element.create()`)
1137-
with the document the element is associated with passed in as a parameter.
11381135
</div>
11391136

11401137
<div class="example">

0 commit comments

Comments
 (0)