Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Side by Side Diff: LayoutTests/fast/dom/custom/custom-element-name-sensivity.html

Issue 442343002: Creating custom element should not be case sensitive (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/custom-element-name-sensivity-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <script>
5 test(function () {
6 var A = document.registerElement('mixed-CASE-custom-TAG');
7 assert_true(document.createElement('MIXED-case-CUSTOM-tag') instanceof A);
8 assert_true(
9 document.createElement('MIXED-case-CUSTOM-tag', null) instanceof A);
10 }, 'createElement is case insensitive for custom tags');
11
12 test(function () {
13 var B = document.registerElement('mixed-CASE-type-EXTENSION', {extends: 'spa n'});
14 assert_true(document.createElement('span', 'MIXED-case-TYPE-extension')
15 instanceof B);
16 }, 'createElement is case insensitive for type extensions');
17 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/custom-element-name-sensivity-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698