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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/css-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-selector-text.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/css-selector-text.html b/third_party/WebKit/LayoutTests/fast/css/css-selector-text.html
index 20bdcedf784ef18f163af21015b9e88f1d6cc600..f2f87f6c4b6a9123a3e60ad4f2933512c0f202fe 100644
--- a/third_party/WebKit/LayoutTests/fast/css/css-selector-text.html
+++ b/third_party/WebKit/LayoutTests/fast/css/css-selector-text.html
@@ -69,6 +69,7 @@ testSelectorRoundTrip(":enabled");
testSelectorRoundTrip(":first-child");
testSelectorRoundTrip(":first-of-type");
testSelectorRoundTrip(":focus");
+testSelectorRoundTrip(":focus-within");
testSelectorRoundTrip(":hover");
testSelectorRoundTrip(":indeterminate");
testSelectorRoundTrip(":link");
@@ -129,6 +130,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');
@@ -145,6 +147,7 @@ testSelectorRoundTrip("|a");
debug('');
shouldBe("parseThenSerializeRule('input[type=file]:focus { }')", "'input[type=\"file\"]:focus { }'");
+shouldBe("parseThenSerializeRule('input[type=file]:focus-within { }')", "'input[type=\"file\"]:focus-within { }'");
debug('');

Powered by Google App Engine
This is Rietveld 408576698