From 5f56a84ea831eeb0243c03480adb37389df1badf Mon Sep 17 00:00:00 2001 From: Onkar Ruikar <87750369+OnkarRuikar@users.noreply.github.com> Date: Sat, 28 Oct 2023 01:13:46 +0530 Subject: [PATCH] fix(css): add 'auto' value outline-color (#29798) * fix(css): add 'auto' value outline-color * Apply suggestions from code review Co-authored-by: Estelle Weyl --------- Co-authored-by: Estelle Weyl --- files/en-us/web/css/outline-color/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/en-us/web/css/outline-color/index.md b/files/en-us/web/css/outline-color/index.md index 4da162adeb32995..666a935ec8ceb30 100644 --- a/files/en-us/web/css/outline-color/index.md +++ b/files/en-us/web/css/outline-color/index.md @@ -20,7 +20,7 @@ outline-color: rgb(30, 222, 121); outline-color: blue; /* Keyword value */ -outline-color: invert; +outline-color: auto; /* Global values */ outline-color: inherit; @@ -36,8 +36,8 @@ The `outline-color` property is specified as any one of the values listed below. - {{cssxref("<color>")}} - : The color of the outline, specified as a ``. -- `invert` - - : To ensure the outline is visible, performs a color inversion of the background. Note that browsers are not required to support this value; if they don't, this keyword is considered invalid. +- `auto` {{Experimental_Inline}} + - : Computes to [`currentcolor`](/en-US/docs/Web/CSS/color_value#currentcolor_keyword) unless [`outline-style`](/en-US/docs/Web/CSS/outline-style) is set to `auto` then it computes to the [accent color](/en-US/docs/Web/CSS/accent-color). ## Description