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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html

Issue 2795143004: [selectors4] Implement :focus-within pseudo-class (Closed)
Patch Set: Rebased patch Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html b/third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html
index 8df5518df4eba2ede48f2d45459bba03433ef709..f3d5e41d5d4045589106da788ebcbc641c3c2a2f 100644
--- a/third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html
+++ b/third_party/WebKit/LayoutTests/fast/css/css-set-selector-text.html
@@ -88,6 +88,7 @@ testSelectorRoundTrip(":enabled");
testSelectorRoundTrip(":first-child");
testSelectorRoundTrip(":first-of-type");
testSelectorRoundTrip(":focus");
+testSelectorRoundTrip(":focus-within");
testSelectorRoundTrip(":hover");
testSelectorRoundTrip(":indeterminate");
testSelectorRoundTrip(":link");
@@ -148,6 +149,7 @@ testSelectorRoundTrip("a[b].c#d::-webkit-slider-thumb");
debug('');
testSelectorRoundTrip('input:not([type="file"]):focus');
+testSelectorRoundTrip('input:not([type="file"]):focus-within');
testSelectorRoundTrip(':-webkit-any([type="file"])');
testSelectorRoundTrip(':-webkit-any(:hover)');
testSelectorRoundTrip('input:-webkit-any([type="file"],:hover,:focus):enabled');
@@ -164,6 +166,7 @@ testSelectorRoundTrip("|a");
debug('');
shouldBe("setThenReadSelectorText('input[type=file]:focus')", "'input[type=\"file\"]:focus'");
+shouldBe("setThenReadSelectorText('input[type=file]:focus-within')", "'input[type=\"file\"]:focus-within'");
debug('');

Powered by Google App Engine
This is Rietveld 408576698