Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(css): update "outline-style" syntax #574

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

timeowilliams
Copy link

@timeowilliams timeowilliams commented Mar 15, 2022

Formal Syntax incorrectly implies that all border-style values can be used. Fix #567

See for more info: https://www.w3.org/TR/css-ui-4/#typedef-outline-line-style

 Formal Syntax incorrectly implies that all border-style values can be used. Resolving issue: mdn#567

See for more info: https://www.w3.org/TR/css-ui-4/#typedef-outline-line-style
@@ -6948,7 +6948,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-offset"
},
"outline-style": {
"syntax": "auto | <'border-style'>",
"syntax": "auto | <'outline-line-style'>",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to have outline-line-style defined somewhere.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @teoli2003 - for getting this resolved, I'm not finding any MDN URL specified for this. I'm going to head over to the mdn/content repo and submit a PR for this.

Is this what we had in mind?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or was it something along the lines of a similiar example, outline-width

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should list the valid values and not use <'outline-line-style'>". It seems not useful to create a whole type page for something used in one place.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@timeowilliams Do you still want to add the values?

Basically (source):

<outline-line-style> accepts the same values as <line-style> (CSS Backgrounds 3 §3.2 Line Patterns: the border-style properties) with the same meaning, except that hidden is not a legal outline style. In addition, the outline-style property accepts the value auto.

And line-style accepts these values (source):

<line-style> = none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Jan 4, 2023
@github-actions github-actions bot removed the idle Issues and pull requests with no activity for three months. label Mar 29, 2024
@caugner caugner changed the title Issue with "outline-style" fix(css): update "outline-style" syntax Apr 8, 2024
@caugner caugner marked this pull request as draft April 8, 2024 16:16
@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle Issues and pull requests with no activity for three months.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with "outline-style": Formal Syntax incorrectly implies that all border-style values can be used.
3 participants