Fix the remaining todo test in test_parse_rule.html, which is invalid since ~= selectors never match anything containing spaces. (Bug 384672, patch 5) r=bzbarsky
authorL. David Baron <dbaron@dbaron.org>
Tue, 03 May 2011 13:19:19 -0700
changeset 68921 fde62ad9cd75004aa7e4dee0467f35f0bc2171cb
parent 68920 4dd57526d5f69957d89429e95b3a04fea06a9c65
child 68922 84af3e2c7ac35d94f4cdcca62c3c97c8e67b62d0
push id19800
push userdbaron@mozilla.com
push dateTue, 03 May 2011 20:19:51 +0000
treeherdermozilla-central@84af3e2c7ac3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs384672
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix the remaining todo test in test_parse_rule.html, which is invalid since ~= selectors never match anything containing spaces. (Bug 384672, patch 5) r=bzbarsky
layout/style/test/test_parse_rule.html
--- a/layout/style/test/test_parse_rule.html
+++ b/layout/style/test/test_parse_rule.html
@@ -43,17 +43,17 @@ base + "#a {color: rgb\n(255, 0, 0)}",
 "#a {font: \"Arial\n;color:green}",
 "#a {color: @charset{}\"\\\n'\"url(\na\na); color:green}",
 "#a\r{color:green}",
 "#a\n{color:green}",
 "#a\t{color:green}",
 "@threedee maroon url('asdf\n) ra('asdf\n); " + base,
 "@threedee {maroon url('asdf\n) ra('asdf\n);} " + base,
 "div[title='zxcv weeqweqeweasd\\D\\A a']{color:green}",
-"div[title~='weeqweqeweasd\\D\\A a']{color:green}",
+"div[title~='weeqweqeweasd']{color:green}",
 base + "#a\\\n{color:red}",
 base + "#a\v{color:red}",
 
 // CSS1 section 7.1
 "#a {color: green; rotation: 70deg;}",
 "#a {color: green;} #a{color:invalidValue;}",
 base + "#a {color: \"red\"}",
 base + "@three-dee {\n @background-lighting {\n  azimuth: 30deg;\n  elevation: 190deg;\n  }\n #a { color: red }\n }",
@@ -124,20 +124,17 @@ base + "/* #a {color: red} */",
 
 // CSS2.1 section 4.3.6
 base + "#a {color: rgb(255, 0, 0%)}",
 base + "#a {color: rgb(100%, 0, 0)}",
 base + "#a {color: rgb(255.0, 0, 0)}",
 "#a {color: rgb(0, 128, 0)}",
 "#a {color: rgb(0%, 50%, 0%)}",
 "#a {color: rgb(0%, 49.999999999999%, 0%)}",
-], prop: "color", pseudo: "",
-todo: {
-       "div[title~='weeqweqeweasd\\D\\A a']{color:green}" : 1
-      }
+], prop: "color", pseudo: ""
 },
 
 // Border tests
 // For testing lengths
 { base : base = "#a {border-style:solid}",
   tests : [
 // CSS1 section 7.1
 base + "#a {border-width: funny}",