From 496853f9de26246a772434c4f8db6b1635881316 Mon Sep 17 00:00:00 2001 From: sb3nder Date: Wed, 20 May 2026 00:02:38 +0200 Subject: [PATCH] untangle `border/column-rule/outline-width` from `*-style` properties value --- .../en-us/web/css/reference/properties/border-style/index.md | 4 ++-- .../en-us/web/css/reference/properties/outline-style/index.md | 2 +- files/en-us/web/css/reference/properties/outline/index.md | 2 +- files/en-us/web/css/reference/values/line-style/index.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/en-us/web/css/reference/properties/border-style/index.md b/files/en-us/web/css/reference/properties/border-style/index.md index 9b79877a830a491..15f40206fa5f668 100644 --- a/files/en-us/web/css/reference/properties/border-style/index.md +++ b/files/en-us/web/css/reference/properties/border-style/index.md @@ -113,9 +113,9 @@ Each value is a keyword chosen from the list below. - `` - : Describes the style of the border. It can have the following values: - `none` - - : Like the `hidden` keyword, displays no border. Unless a {{cssxref("background-image")}} is set, the computed value of the same side's {{cssxref("border-width")}} will be `0`, even if the specified value is something else. In the case of table cell and border collapsing, the `none` value has the _lowest_ priority: if any other conflicting border is set, it will be displayed. + - : Like the `hidden` keyword, displays no border. Unless a {{cssxref("background-image")}} is set. In the case of table cell and border collapsing, the `none` value has the _lowest_ priority: if any other conflicting border is set, it will be displayed. - `hidden` - - : Like the `none` keyword, displays no border. Unless a {{cssxref("background-image")}} is set, the computed value of the same side's {{cssxref("border-width")}} will be `0`, even if the specified value is something else. In the case of table cell and border collapsing, the `hidden` value has the _highest_ priority: if any other conflicting border is set, it won't be displayed. + - : Like the `none` keyword, displays no border. Unless a {{cssxref("background-image")}} is set. In the case of table cell and border collapsing, the `hidden` value has the _highest_ priority: if any other conflicting border is set, it won't be displayed. - `dotted` - : Displays a series of rounded dots. The spacing of the dots is not defined by the specification and is implementation-specific. The radius of the dots is half the computed value of the same side's {{cssxref("border-width")}}. - `dashed` diff --git a/files/en-us/web/css/reference/properties/outline-style/index.md b/files/en-us/web/css/reference/properties/outline-style/index.md index 5975106efb44886..c123627cccd6bfd 100644 --- a/files/en-us/web/css/reference/properties/outline-style/index.md +++ b/files/en-us/web/css/reference/properties/outline-style/index.md @@ -80,7 +80,7 @@ The `outline-style` property is specified as any one of the values listed below. - `auto` - : Permits the user agent to render a custom outline style. - `none` - - : No outline is used. The {{cssxref("outline-width")}} is `0`. + - : No outline is used. - `dotted` - : The outline is a series of dots. - `dashed` diff --git a/files/en-us/web/css/reference/properties/outline/index.md b/files/en-us/web/css/reference/properties/outline/index.md index 77074b74d426d1f..ddbbaa9204087d3 100644 --- a/files/en-us/web/css/reference/properties/outline/index.md +++ b/files/en-us/web/css/reference/properties/outline/index.md @@ -103,7 +103,7 @@ An outline is not required to be rectangular: While dealing with multiline text, ## Accessibility -Assigning `outline` a value of `0` or `none` will remove the browser's default focus style. If an element can be interacted with it must have a visible focus indicator. Provide obvious focus styling if the default focus style is removed. +Assigning `outline` a value of `none` will remove the browser's default focus style. If an element can be interacted with it must have a visible focus indicator. Provide obvious focus styling if the default focus style is removed. - [How to Design Useful and Usable Focus Indicators](https://www.deque.com/blog/give-site-focus-tips-designing-usable-focus-indicators/) - WCAG 2.1: [Understanding Success Criterion 2.4.7: Focus Visible](https://www.w3.org/WAI/WCAG21/Understanding/focus-visible.html) diff --git a/files/en-us/web/css/reference/values/line-style/index.md b/files/en-us/web/css/reference/values/line-style/index.md index 271f9b6a21d217e..0be8a3b240ed4d9 100644 --- a/files/en-us/web/css/reference/values/line-style/index.md +++ b/files/en-us/web/css/reference/values/line-style/index.md @@ -30,9 +30,9 @@ The **``** {{glossary("enumerated")}} value type represents keyword The `` enumerated type is specified using one of the values listed below: - `none` - - : Displays no line. The computed value of the line width is `0` even if a width value is specified. In the case of table cell and border collapsing, the `none` value has the _lowest_ priority. If any other conflicting border is set, it will be displayed. The `none` value is similar to `hidden`. + - : Displays no line. In the case of table cell and border collapsing, the `none` value has the _lowest_ priority. If any other conflicting border is set, it will be displayed. The `none` value is similar to `hidden`. - `hidden` - - : Displays no line. The computed width of the line is `0` even if a width value is specified. In the case of table cell and border collapsing, the `hidden` value has the _highest_ priority. If any other conflicting border is set, it won't be displayed. The `hidden` value is similar to `none`, but `hidden` is not a valid value for outline styles. + - : Displays no line. In the case of table cell and border collapsing, the `hidden` value has the _highest_ priority. If any other conflicting border is set, it won't be displayed. The `hidden` value is similar to `none`, but `hidden` is not a valid value for outline styles. - `dotted` - : Displays a series of round dots. The radius of the dots is half the computed value of the line's width. The spacing of the dots is not defined by the specification and is implementation-specific. - `dashed`