HomePhabricator

Implement Document::createElement for HTML element types

Description

Implement Document::createElement for HTML element types

Create the appropriate HTMLElement subclass for a given HTML element
name. While we're at it, implement Document::getBody() and
Document::getHead() to test the appropriate subclass.

Change-Id: Ie85fa2e17902d85e2fadbc2bed457f75a0080db0

Details

Provenance
cscottAuthored on May 18 2021, 4:12 PM
Parents
rMLDO93157a49f97b: Optimize (and rename) Util::toAsciiLowercase/toAsciiUppercase
Branches
Unknown
Tags
Unknown
References
refs/changes/38/692638/2
ChangeId
Ie85fa2e17902d85e2fadbc2bed457f75a0080db0