Commit f2c4d52d authored by ericwilligers's avatar ericwilligers Committed by Commit Bot

CSS: Retire flag CSSSelectorsFocusWithin

The :focus-within pseudo-class shipped in Chrome 60.

The runtime flag is no longer needed.

BUG=617371

Change-Id: I12db298d40df458c24987e7928d85aea179e6046
Reviewed-on: https://chromium-review.googlesource.com/662984Reviewed-by: default avatarManuel Rego Casasnovas <rego@igalia.com>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#501599}
parent 03421a1f
...@@ -449,10 +449,6 @@ std::unique_ptr<CSSParserSelector> CSSSelectorParser::ConsumePseudo( ...@@ -449,10 +449,6 @@ std::unique_ptr<CSSParserSelector> CSSSelectorParser::ConsumePseudo(
bool has_arguments = token.GetType() == kFunctionToken; bool has_arguments = token.GetType() == kFunctionToken;
selector->UpdatePseudoType(value, *context_, has_arguments, context_->Mode()); selector->UpdatePseudoType(value, *context_, has_arguments, context_->Mode());
if (!RuntimeEnabledFeatures::CSSSelectorsFocusWithinEnabled() &&
selector->GetPseudoType() == CSSSelector::kPseudoFocusWithin)
return nullptr;
if (selector->Match() == CSSSelector::kPseudoElement && if (selector->Match() == CSSSelector::kPseudoElement &&
disallow_pseudo_elements_) disallow_pseudo_elements_)
return nullptr; return nullptr;
......
...@@ -284,10 +284,6 @@ ...@@ -284,10 +284,6 @@
name: "CSSScrollSnapPoints", name: "CSSScrollSnapPoints",
status: "test", status: "test",
}, },
{
name: "CSSSelectorsFocusWithin",
status: "stable",
},
{ {
name: "CSSSnapSize", name: "CSSSnapSize",
status: "experimental", status: "experimental",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment