DescriptionImplement CustomElement::isValidName()
This patch implements CustomElement::IsValidName().
A valid custom element name is PotentialCustomElementName except all
hyphen-containing element names from the applicable specifications,
according to the spec below:
https://html.spec.whatwg.org/multipage/scripting.html#valid-custom-element-name
BUG=594918
Committed: https://crrev.com/53c4c0ac74bf3fbe6d1fcda1ee798b5d3817e1f3
Cr-Commit-Position: refs/heads/master@{#390308}
Patch Set 1 #
Total comments: 4
Patch Set 2 : dominicc review #Patch Set 3 : Rebase #
Messages
Total messages: 12 (5 generated)
|