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

Unified Diff: LayoutTests/fast/dom/content-element-select-null.html

Issue 1235743004: select attribute for HTMLContentElement should not have [TreatNullAs=NullString] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | Source/core/html/HTMLContentElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/content-element-select-null.html
diff --git a/LayoutTests/fast/dom/content-element-select-null.html b/LayoutTests/fast/dom/content-element-select-null.html
new file mode 100644
index 0000000000000000000000000000000000000000..47034c6a80bced74115d615f2d0a032d0a5dbb58
--- /dev/null
+++ b/LayoutTests/fast/dom/content-element-select-null.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<title>content element test for select attribute, null and undefined arguments</title>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+<script>
+
+test(function() {
+ var element = document.createElement('content');
+ assert_equals(element.select, '');
+ element.select = null
+ assert_equals(element.select, 'null');
+ element.select = undefined
+ assert_equals(element.select, 'undefined');
+});
+</script>
« no previous file with comments | « no previous file | Source/core/html/HTMLContentElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698