Skip to content

Conversation

@jamesnw
Copy link
Collaborator

@jamesnw jamesnw commented Sep 17, 2024

The caniuse for outline was just a bit too far off, with none of the features lining up with what I am seeing there.

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Sep 17, 2024
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

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

I have some thoughts on outlines, but I like the rest of this as it is.

name: border-radius
description: The `border-radius` CSS property rounds the corners of the border drawn around an element.
spec: https://drafts.csswg.org/css-backgrounds-3/#corners
caniuse: border-radius
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's compute_from: css.properties.border-radius to better align with caniuse.

Comment on lines 2 to 6
description: The `outline` CSS property sets the color, style, and width of a line around an element, outside of the border. The `outline-offset` CSS property sets the distance from the element's edge to the outline.
spec: https://drafts.csswg.org/css-ui-4/#outline
status:
# The `outline` shorthand was introduced at a later date.
compute_from: css.properties.outline-style
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think it's a bit weird for us to name outline as the entry point to this feature, yet say that it's supported before the thing we name in the description exists. I think we have three options here (in order of my uninformed feeling about it):

  1. compute_from on the constituent properties (outline-color, -offset, etc.) and change the description to match.
  2. Break out outline into its own feature.
  3. Drop the compute_from and say that outlines are a recent feature.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

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

Thank you!

@ddbeck ddbeck merged commit 6443df5 into web-platform-dx:main Sep 24, 2024
@RByers
Copy link

RByers commented Feb 24, 2025

The caniuse for outline was just a bit too far off, with none of the features lining up with what I am seeing there.

FWIW I think caniuse was actually right here and BCD is wrong about outline. Filed this bug to correct BCD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants