Chromium Code Reviews| Index: LayoutTests/fast/css/css-escaped-identifier.html |
| diff --git a/LayoutTests/fast/css/css-escaped-identifier.html b/LayoutTests/fast/css/css-escaped-identifier.html |
| index c2e1190945e08188ca7aab73cc274f72b61f3a33..e73841352441bc264df37ea08e9901a519650fe5 100644 |
| --- a/LayoutTests/fast/css/css-escaped-identifier.html |
| +++ b/LayoutTests/fast/css/css-escaped-identifier.html |
| @@ -21,8 +21,8 @@ |
| assert_equals(rules.length, 4, "cssRules.length == 4"); |
| assert_equals(rules[0].selectorText, "d\ueeeex", "Lowercase identifier with escapes"); |
| assert_equals(rules[1].selectorText, "d\ueeeex", "Uppercase identifier with escapes"); |
| - assert_equals(rules[2].style.cssText, "background-image: url(http://w/%EA%AA%AA/1b%EA%AA%AA.gif);", "Escaped url string"); |
| - assert_equals(rules[3].style.cssText, "background-image: url(http://w/%EA%AA%AA/1b%EA%AA%AA.gif);", "Escaped url without string"); |
| + assert_equals(rules[2].style.cssText, "background-image: url(http://w/" + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + ".gif);", "Escaped url string"); |
|
Timothy Loh
2015/09/15 12:20:47
The patch description should probably mention this
nainar
2015/09/16 07:16:48
The resulting output is consistent with FF. Changi
|
| + assert_equals(rules[3].style.cssText, "background-image: url(http://w/" + decodeURIComponent("%EA%AA%AA") + "/1b" + decodeURIComponent("%EA%AA%AA") + ".gif);", "Escaped url without string"); |
| }, "Correctly parsed identifier with escapes"); |
| </script> |
| </head> |