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

Unified Diff: LayoutTests/fast/svg/foreign-object-case-sensitivity-expected.txt

Issue 1099963003: Support type selector for camel-cased SVG elements in HTML. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed review issues. Created 5 years, 7 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/svg/foreign-object-case-sensitivity.html ('k') | LayoutTests/svg/css/type-selector.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/svg/foreign-object-case-sensitivity-expected.txt
diff --git a/LayoutTests/fast/svg/foreign-object-case-sensitivity-expected.txt b/LayoutTests/fast/svg/foreign-object-case-sensitivity-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..824500aaf8540f33c66b1036e713b219159d4dd9
--- /dev/null
+++ b/LayoutTests/fast/svg/foreign-object-case-sensitivity-expected.txt
@@ -0,0 +1,55 @@
+Testing case-sensitivity for the svg:foreignObject tag in html.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Node.localName is normalized to camel-case inside <svg>, lower-case otherwise.
+
+PASS fo1.localName is "foreignobject"
+PASS fo2.localName is "foreignobject"
+PASS fo3.localName is "foreignObject"
+PASS fo4.localName is "foreignObject"
+
+Selectors API queries match case-insensitively for html and svg elements in html documents.
+(Should have matched case-sensitively for svg elements according to the html spec.)
+
+PASS queryAllLower.length is 4
+PASS queryAllLower[0].id is "fo1"
+PASS queryAllLower[1].id is "fo2"
+PASS queryAllLower[2].id is "fo3"
+PASS queryAllLower[3].id is "fo4"
+PASS queryAllCamel.length is 4
+PASS queryAllCamel[0].id is "fo1"
+PASS queryAllCamel[1].id is "fo2"
+PASS queryAllCamel[2].id is "fo3"
+PASS queryAllCamel[3].id is "fo4"
+
+getElementsByTagName matches case-insensitively for html elements, case-sensitively for svg elements in html documents.
+
+PASS byTagNameLower.length is 2
+PASS byTagNameLower[0].id is "fo1"
+PASS byTagNameLower[1].id is "fo2"
+PASS byTagNameCamel.length is 4
+PASS byTagNameCamel[0].id is "fo1"
+PASS byTagNameCamel[1].id is "fo2"
+PASS byTagNameCamel[2].id is "fo3"
+PASS byTagNameCamel[3].id is "fo4"
+
+Style rule matches case-insensitively for html and svg elements in html documents.
+(Should have matched case-sensitively for svg elements according to the html spec).
+
+PASS getComputedStyle(fo1).color is "rgb(0, 128, 0)"
+PASS getComputedStyle(fo1).fontWeight is "bold"
+PASS getComputedStyle(fo2).color is "rgb(0, 128, 0)"
+PASS getComputedStyle(fo2).fontWeight is "bold"
+PASS getComputedStyle(fo3).color is "rgb(0, 128, 0)"
+PASS getComputedStyle(fo3).fontWeight is "bold"
+PASS getComputedStyle(fo4).color is "rgb(0, 128, 0)"
+PASS getComputedStyle(fo4).fontWeight is "bold"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+This text should be green and bold
+This text should be green and bold
+This text should be green, not bold
+This text should be green, not bold
« no previous file with comments | « LayoutTests/fast/svg/foreign-object-case-sensitivity.html ('k') | LayoutTests/svg/css/type-selector.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698