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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/custom/custom-element-name-sensivity.html
diff --git a/LayoutTests/fast/dom/custom/custom-element-name-sensivity.html b/LayoutTests/fast/dom/custom/custom-element-name-sensivity.html
new file mode 100644
index 0000000000000000000000000000000000000000..36ff1dd567567af80988972530682ae36ce59498
--- /dev/null
+++ b/LayoutTests/fast/dom/custom/custom-element-name-sensivity.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<body>
+<script>var A = document.registerElement('mixed-CASE-custom-TAG');
dominicc (has gone to gerrit) 2014/08/11 06:05:27 Move this inside the test(...) since it is only us
deepak.sa 2014/08/11 10:32:49 Done.
+
+test(function () {
+ assert_true(document.createElement('MIXED-case-CUSTOM-tag') instanceof A);
+ assert_true(
+ document.createElement('MIXED-case-CUSTOM-tag', null) instanceof A);
+}, 'createElement is case insensitive for custom tags');
+</script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/custom/custom-element-name-sensivity-expected.txt » ('j') | Source/core/dom/Document.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698