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

Unified Diff: LayoutTests/fast/dom/script-tests/event-attribute-availability.js

Issue 144733003: Let svg event attributes be reflected the same as html event attributes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | « LayoutTests/fast/dom/global-event-handlers-expected.txt ('k') | Source/core/html/HTMLElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/script-tests/event-attribute-availability.js
diff --git a/LayoutTests/fast/dom/script-tests/event-attribute-availability.js b/LayoutTests/fast/dom/script-tests/event-attribute-availability.js
index a0d5f22bc6fc363b1c6eb25a33c66a44a0cd2616..19fc825692f2e5eacec79ff009f8dd03ead12c7f 100644
--- a/LayoutTests/fast/dom/script-tests/event-attribute-availability.js
+++ b/LayoutTests/fast/dom/script-tests/event-attribute-availability.js
@@ -71,3 +71,15 @@ for (var i = 0; i < elementAndDocumentProperties.length; ++i) {
for (var i = 0; i < bodyAndFrameSetProperties.length; ++i) {
shouldBeTrue("'" + bodyAndFrameSetProperties[i] + "' in frameSet");
}
+
+debug("\nTest SVGPathElement");
+var pathelement = document.createElementNS("http://www.w3.org/2000/svg", "path");
+for (var i = 0; i < elementAndDocumentProperties.length; ++i) {
+ shouldBeTrue("'" + elementAndDocumentProperties[i] + "' in pathelement");
+}
+
+debug("\nTest SVGSVGElement");
+var svgelement = document.implementation.createDocument("http://www.w3.org/2000/svg", "svg").documentElement;
+for (var i = 0; i < elementAndDocumentProperties.length; ++i) {
+ shouldBeTrue("'" + elementAndDocumentProperties[i] + "' in svgelement");
+}
« no previous file with comments | « LayoutTests/fast/dom/global-event-handlers-expected.txt ('k') | Source/core/html/HTMLElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698