Issue metadata
Sign in to add a comment
|
[V1] document.createElement() used with uppercase characters does not create defined custom element
Reported by
dominik....@gmail.com,
Jan 27 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Steps to reproduce the problem: 1. Define custom element 2. Create node with document.createElement using tag name with uppercase characters What is the expected behavior? document.createElement() should work regardless of using lowercase or uppercase letters (ex. "custom-element" or "CUSTOM-ELEMENT"). MDN for createElement says: When called on an HTML document, createElement() converts tagName to lower case before creating the element. What went wrong? Created node has HTMLElement as prototype (which normally would be HTMLUnknownElement) neither lifecycle events was not triggered. Did this work before? No Does this work in other browsers? N/A Chrome version: 55.0.2883.95 Channel: n/a OS Version: OS X 10.12.2 Flash Version: Shockwave Flash 24.0 r0
,
Jan 31 2017
Thanks for the bug report. I can't reproduce this in 56.0.2924.79 (Official Build) beta (64-bit). I think this was fixed in Issue 649279 . |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ranjitkan@chromium.org
, Jan 31 2017