Commit 048aae96 authored by Mason Freed's avatar Mason Freed Committed by Commit Bot

Change deprecation message for :unresolved pseudo selector

This just changes the wording for the deprecation message for
the :unresolved pseudo selector. Instead of "will be removed",
it now just says "removed".

Bug: 937746
Change-Id: I694bcefabf34f9399000206d30da50b62fbf01b9
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514081Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Commit-Queue: Mason Freed <masonfreed@chromium.org>
Auto-Submit: Mason Freed <masonfreed@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823533}
parent b96b3493
......@@ -396,10 +396,6 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) {
"https://www.chromestatus.com/feature/5735596811091968 for more "
"details."};
#define kWebComponentsV0DeprecationPost \
"https://developers.google.com/web/updates/2019/07/" \
"web-components-time-to-upgrade"
case WebFeature::kHTMLImports:
return {"HTMLImports", kUnknown,
"The HTML Imports feature has been removed. See "
......@@ -419,12 +415,11 @@ DeprecationInfo GetDeprecationInfo(WebFeature feature) {
"details."};
case WebFeature::kCSSSelectorPseudoUnresolved:
return {"CSSSelectorPseudoUnresolved", kM80,
ReplacedWillBeRemoved(
":unresolved pseudo selector", ":not(:defined)", kM80,
"4642138092470272 and " kWebComponentsV0DeprecationPost)};
#undef kWebComponentsV0DeprecationPost
return {
"CSSSelectorPseudoUnresolved", kUnknown,
"The Custom Elements v0 API (:unresolved pseudo selector) has been "
"removed. See https://www.chromestatus.com/feature/4642138092470272 "
"for more details."};
case WebFeature::kLocalCSSFileExtensionRejected:
return {"LocalCSSFileExtensionRejected", kM64,
......
CONSOLE WARNING: line 10: :unresolved pseudo selector is deprecated and will be removed in M80, around February 2020. Please use :not(:defined) instead. See https://www.chromestatus.com/features/4642138092470272 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.
CONSOLE WARNING: line 10: The Custom Elements v0 API (:unresolved pseudo selector) has been removed. See https://www.chromestatus.com/feature/4642138092470272 for more details.
Use invalidation sets for :unresolved pseudo class.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
......
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