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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Testing case-sensitivity for the svg:foreignObject tag in html.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Node.localName is normalized to camel-case inside <svg>, lower-case otherwise.
7
8 PASS fo1.localName is "foreignobject"
9 PASS fo2.localName is "foreignobject"
10 PASS fo3.localName is "foreignObject"
11 PASS fo4.localName is "foreignObject"
12
13 Selectors API queries match case-insensitively for html and svg elements in html documents.
14 (Should have matched case-sensitively for svg elements according to the html spe c.)
15
16 PASS queryAllLower.length is 4
17 PASS queryAllLower[0].id is "fo1"
18 PASS queryAllLower[1].id is "fo2"
19 PASS queryAllLower[2].id is "fo3"
20 PASS queryAllLower[3].id is "fo4"
21 PASS queryAllCamel.length is 4
22 PASS queryAllCamel[0].id is "fo1"
23 PASS queryAllCamel[1].id is "fo2"
24 PASS queryAllCamel[2].id is "fo3"
25 PASS queryAllCamel[3].id is "fo4"
26
27 getElementsByTagName matches case-insensitively for html elements, case-sensitiv ely for svg elements in html documents.
28
29 PASS byTagNameLower.length is 2
30 PASS byTagNameLower[0].id is "fo1"
31 PASS byTagNameLower[1].id is "fo2"
32 PASS byTagNameCamel.length is 4
33 PASS byTagNameCamel[0].id is "fo1"
34 PASS byTagNameCamel[1].id is "fo2"
35 PASS byTagNameCamel[2].id is "fo3"
36 PASS byTagNameCamel[3].id is "fo4"
37
38 Style rule matches case-insensitively for html and svg elements in html document s.
39 (Should have matched case-sensitively for svg elements according to the html spe c).
40
41 PASS getComputedStyle(fo1).color is "rgb(0, 128, 0)"
42 PASS getComputedStyle(fo1).fontWeight is "bold"
43 PASS getComputedStyle(fo2).color is "rgb(0, 128, 0)"
44 PASS getComputedStyle(fo2).fontWeight is "bold"
45 PASS getComputedStyle(fo3).color is "rgb(0, 128, 0)"
46 PASS getComputedStyle(fo3).fontWeight is "bold"
47 PASS getComputedStyle(fo4).color is "rgb(0, 128, 0)"
48 PASS getComputedStyle(fo4).fontWeight is "bold"
49 PASS successfullyParsed is true
50
51 TEST COMPLETE
52 This text should be green and bold
53 This text should be green and bold
54 This text should be green, not bold
55 This text should be green, not bold
OLDNEW
« 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