OLD | NEW |
(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, case-sensitively for sv
g. |
| 14 |
| 15 PASS queryAllLower.length is 2 |
| 16 PASS queryAllLower[0].id is "fo1" |
| 17 PASS queryAllLower[1].id is "fo2" |
| 18 PASS queryAllCamel.length is 4 |
| 19 PASS queryAllCamel[0].id is "fo1" |
| 20 PASS queryAllCamel[1].id is "fo2" |
| 21 PASS queryAllCamel[2].id is "fo3" |
| 22 PASS queryAllCamel[3].id is "fo4" |
| 23 |
| 24 getElementsByTagName matches case-insensitively for html, case-sensitively for s
vg. |
| 25 |
| 26 PASS byTagNameLower.length is 2 |
| 27 PASS byTagNameLower[0].id is "fo1" |
| 28 PASS byTagNameLower[1].id is "fo2" |
| 29 PASS byTagNameCamel.length is 4 |
| 30 PASS byTagNameCamel[0].id is "fo1" |
| 31 PASS byTagNameCamel[1].id is "fo2" |
| 32 PASS byTagNameCamel[2].id is "fo3" |
| 33 PASS byTagNameCamel[3].id is "fo4" |
| 34 |
| 35 Style rule matches case-insensitively for html, case-sensitively for svg. |
| 36 |
| 37 PASS getComputedStyle(fo1).color is "rgb(0, 128, 0)" |
| 38 PASS getComputedStyle(fo1).fontWeight is "bold" |
| 39 PASS getComputedStyle(fo2).color is "rgb(0, 128, 0)" |
| 40 PASS getComputedStyle(fo2).fontWeight is "bold" |
| 41 PASS getComputedStyle(fo3).color is "rgb(0, 128, 0)" |
| 42 PASS getComputedStyle(fo3).fontWeight is "normal" |
| 43 PASS getComputedStyle(fo4).color is "rgb(0, 128, 0)" |
| 44 PASS getComputedStyle(fo4).fontWeight is "normal" |
| 45 PASS successfullyParsed is true |
| 46 |
| 47 TEST COMPLETE |
| 48 This text should be green and bold |
| 49 This text should be green and bold |
| 50 This text should be green, not bold |
| 51 This text should be green, not bold |
OLD | NEW |