Index: LayoutTests/fast/css/css-set-selector-text.html |
=================================================================== |
--- LayoutTests/fast/css/css-set-selector-text.html (revision 102657) |
+++ LayoutTests/fast/css/css-set-selector-text.html (working copy) |
@@ -114,26 +114,34 @@ |
debug(''); |
-testSelectorRoundTrip("::-webkit-file-upload-button"); |
-testSelectorRoundTrip("::-webkit-search-cancel-button"); |
-testSelectorRoundTrip("::-webkit-search-decoration"); |
-testSelectorRoundTrip("::-webkit-search-results-button"); |
-testSelectorRoundTrip("::-webkit-search-results-decoration"); |
-testSelectorRoundTrip("::-webkit-slider-thumb"); |
+shouldBe("setThenReadSelectorText('::-webkit-file-upload-button')", "'*::-webkit-file-upload-button'"); |
+shouldBe("setThenReadSelectorText('::-webkit-search-cancel-button')", "'*::-webkit-search-cancel-button'"); |
+shouldBe("setThenReadSelectorText('::-webkit-search-decoration')", "'*::-webkit-search-decoration'"); |
+shouldBe("setThenReadSelectorText('::-webkit-search-results-button')", "'*::-webkit-search-results-button'"); |
+shouldBe("setThenReadSelectorText('::-webkit-search-results-decoration')", "'*::-webkit-search-results-decoration'"); |
+shouldBe("setThenReadSelectorText('::-webkit-slider-thumb')", "'*::-webkit-slider-thumb'"); |
debug(''); |
testSelectorRoundTrip("a::-webkit-slider-thumb"); |
-testSelectorRoundTrip("a ::-webkit-slider-thumb"); |
+shouldBe("setThenReadSelectorText('a ::-webkit-slider-thumb')", "'a *::-webkit-slider-thumb'"); |
testSelectorRoundTrip("[a]::-webkit-slider-thumb"); |
-testSelectorRoundTrip("[a] ::-webkit-slider-thumb"); |
+shouldBe("setThenReadSelectorText('[a] ::-webkit-slider-thumb')", "'[a] *::-webkit-slider-thumb'"); |
testSelectorRoundTrip(".a::-webkit-slider-thumb"); |
-testSelectorRoundTrip(".a ::-webkit-slider-thumb"); |
+shouldBe("setThenReadSelectorText('.a ::-webkit-slider-thumb')", "'.a *::-webkit-slider-thumb'"); |
testSelectorRoundTrip("#a::-webkit-slider-thumb"); |
-testSelectorRoundTrip("#a ::-webkit-slider-thumb"); |
+shouldBe("setThenReadSelectorText('#a ::-webkit-slider-thumb')", "'#a *::-webkit-slider-thumb'"); |
+shouldBe("setThenReadSelectorText('* ::-webkit-slider-thumb')", "'* *::-webkit-slider-thumb'"); |
debug(''); |
+testSelectorRoundTrip("a[b]::-webkit-slider-thumb"); |
+testSelectorRoundTrip("a.b::-webkit-slider-thumb"); |
+testSelectorRoundTrip("a#b::-webkit-slider-thumb"); |
+testSelectorRoundTrip("a[b].c#d::-webkit-slider-thumb"); |
+ |
+debug(''); |
+ |
testSelectorRoundTrip('input:not([type="file"]):focus'); |
testSelectorRoundTrip(':-webkit-any([type="file"])'); |
testSelectorRoundTrip(':-webkit-any(:hover)'); |