Description
While adding missing mdn_url links to BCD, I found one kind of BCD table that’s not useful or even confusing for our readers:
https://developer.mozilla.org/en-US/docs/Web/API/CSS/factory_functions_static#browser_compatibility
For most of the CSS static methods, there are no dedicated pages, apart from a few interesting ones:
highlights
registerProperty()
supports()
The rest are quite boring, so in BCD mdn_url just goes to one page they’re listed on.
So, in the BCD table:
- If you click on the highlights static property link, you’ll get useful info on a dedicated page
- If you click the grad() static method link, you’ll just reload the same page and end up at the top of it
And there’s no way to tell whether the link is useful or not. But that’s only for MDN readers. For other users of BCD, this link might still be helpful.
Suggested solution
I think we could/should filter out links in the BCD table which point to the page you're on, unless they point to a section (that still seems useful), but just going to the top of the page feels useless and frustrating, yeah
@LeoMcA
Description
While adding missing
mdn_urllinks to BCD, I found one kind of BCD table that’s not useful or even confusing for our readers:https://developer.mozilla.org/en-US/docs/Web/API/CSS/factory_functions_static#browser_compatibility
For most of the CSS static methods, there are no dedicated pages, apart from a few interesting ones:
highlightsregisterProperty()supports()The rest are quite boring, so in BCD
mdn_urljust goes to one page they’re listed on.So, in the BCD table:
And there’s no way to tell whether the link is useful or not. But that’s only for MDN readers. For other users of BCD, this link might still be helpful.
Suggested solution