Replies: 0 comments 7 replies
-
Yes, So as a pragmatic matter I think deleting More generally, BCD for data types is a bit weird. You can't do anything with a data type on its own, so what does "support" mean? Take for instance So sometimes I feel like CSS data types should not have BCD at all. |
Beta Was this translation helpful? Give feedback.
-
That sounds good to me.
Sometimes, perhaps. But do you agree that |
Beta Was this translation helpful? Give feedback.
-
Well... this is outside the scope of your original issue, which I agree with. And I don't think we will resolve this wider issue now, and we have bigger things to deal with. But it's not really about subfeatures. When we provide BCD we are saying to a developer "you can use this thing". But you can't use a data type on its own, it's just a value for properties, which are the things you use. Consider https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape#browser_compatibility, the compat for It's rather like the way we do/do not provide BCD for dictionaries. I don't have a good solution to this really, and there are types like |
Beta Was this translation helpful? Give feedback.
-
I agree that the At this point, are PRs to remove BCD tables from pages like https://developer.mozilla.org/en-US/docs/Web/CSS/length-percentage welcome? |
Beta Was this translation helpful? Give feedback.
-
We discussed this today and we think there are a lot of open points to discuss about it:
Let's convert this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
@ruth: I converted this from an issue, but the discussion is now under mdn/content/discussions rather than the org-wise place. This may explain why new discussions appear below mdn/content. Maybe some configuration options should be updated to prevent this? |
Beta Was this translation helpful? Give feedback.
-
I am creating data types as I update CSS module landing pages. Some data types get their own page. Others, notably data types that are a finite number of keywords used only by a single property ( or a longhand property and an associated shorthand property), have the data type defined in the long-hand property page. For example, CSS Counter Styles module introduces three data types ( Basically, it's important that anything defined in the specification is included on MDN, so users know "this exists and it means that" or "this exists, but is not implemented" etc. |
Beta Was this translation helpful? Give feedback.
-
What is the new suggestion?
Remove https://developer.mozilla.org/en-US/docs/Web/CSS/length-percentage and similar pages.
Why is it important or useful?
mdn/browser-compat-data#14971 is a PR to remove it in BCD, because support data is just the union of two other features. If we remove it from BCD, either the MDN page should be removed, or it includes the two compat tables for <length> and <percentage>.
Other supporting information
My weak opinion is that exposing these spec abstractions to readers is a bit weird, but that argument also applies to <length> and <percentage>. Perhaps they're useful to avoid spelling out all the allowed values for each property.
Beta Was this translation helpful? Give feedback.
All reactions