New data type page: line-width#44597
Conversation
|
|
||
| - `<'column-rule-width'>` | ||
| - : Is a {{cssxref("<length>")}} or one of the three keywords, `thin`, `medium`, or `thick`. See {{cssxref("border-width")}} for details. | ||
| - : A {{cssxref("line-width")}}, being either a {{cssxref("<length>")}} or one of the keywords, `hairline`, `thin`, `medium`, or `thick`. See {{cssxref("column-rule-width")}}. |
There was a problem hiding this comment.
@estelle hairline appears to be in the spec, but one of your commits removed most of them. I still see a few, like this one. Most important, I see it as an allowed value.
What's the story - hairline only allowed in some properties? Or perhaps only currently supported in some properties?
There was a problem hiding this comment.
That's cool. Then you need to search/purge for it everywhere - for example, see https://github.com/mdn/content/pull/44597/changes#r3618480550
| short-title: <line-width> | ||
| slug: Web/CSS/Reference/Values/line-width | ||
| page-type: css-type | ||
| browser-compat: css.types.line-width |
There was a problem hiding this comment.
NO compat. I presume this is to come.
Co-authored-by: Hamish Willee <[email protected]>
|
This pull request has merge conflicts that must be resolved before it can be merged. |
|
|
||
| - `<length>` | ||
| - : A non-negative {{cssxref("<length>")}} | ||
| - `hairline` |
There was a problem hiding this comment.
Use of hairline, which you say is not supported. Needs to be removed everywhere?
There was a problem hiding this comment.
i added experimental_inline. It is only on this page. It is in the examples, but there is a "your browser doesn't support this" that pops up if not supported.
| - {{cssxref("border-top")}}, {{cssxref("border-top-width")}} | ||
| - {{cssxref("column-rule")}}, {{cssxref("column-rule-width")}} | ||
| - {{cssxref("row-rule")}}, {{cssxref("row-rule-width")}} | ||
| - {{cssxref("rule")}}, {{cssxref("rule-width")}} |
There was a problem hiding this comment.
Redlinks that I assume map to real properties.
There was a problem hiding this comment.
yes. these are in the works (row-* and column-* are done. still have to do shorthands)
|
|
||
| - `<'border-style'>` | ||
| - {{cssxref("line-style")}} | ||
| - : Is a keyword defined by {{ cssxref("border-style") }} describing the style of the rule. The styling must be interpreted as in the collapsing border model. |
There was a problem hiding this comment.
Should this be updated?
There was a problem hiding this comment.
good eye, but it is actually defined in border-style: https://drafts.csswg.org/css-backgrounds-3/#typedef-line-style
| - `<'border-width'>` | ||
| - : Is a keyword defined by {{ cssxref("border-width") }} describing the width of the rule. It may be either a {{cssxref("<length>")}} or one of the `thin`, `medium`, or `thick` keywords. | ||
| - {{cssxref("line-width")}} | ||
| - : An explicit non-negative {{cssxref("<length>")}} or the keywords `thin`, `medium`, or `thick`, describing the width of the rule. The default is `medium`. |
There was a problem hiding this comment.
Consistency with all the other cases.
| - : An explicit non-negative {{cssxref("<length>")}} or the keywords `thin`, `medium`, or `thick`, describing the width of the rule. The default is `medium`. | |
| - : Defines the width of the border, either as an explicit non-negative {{cssxref("<length>")}} or the keywords: `thin`, `medium`, or `thick`. The default is `medium`. |
|
This pull request has merge conflicts that must be resolved before it can be merged. |
Co-authored-by: Hamish Willee <[email protected]>
|
i think i got everything. |

The
line-widthdata type is used in multiple properties. It's time it had a page.reduces redundancy.
https://drafts.csswg.org/css-borders-4/#typedef-line-width defines hairline as a value I included it in the data-type page, along with an example and a no support message.
Part of openwebdocs/project#238