content icon indicating copy to clipboard operation
content copied to clipboard

fix the CSSUnitValue wrong link

Open T34-active opened this issue 9 months ago • 2 comments

Description

Motivation

Additional details

Related issues and pull requests

T34-active avatar May 09 '24 02:05 T34-active

Preview URLs

Flaws (2)

Note! 1 document with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/CSS_Object_Model Title: CSS Object Model (CSSOM) Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/CSSFontFeatureValuesMap does not exist
    • /en-US/docs/Web/API/CSSMarginRule does not exist

(comment last updated: 2024-05-14 17:19:22)

github-actions[bot] avatar May 09 '24 02:05 github-actions[bot]

Thanks for your PR! I think this is the wrong fix though.

I don't think the fragment should be "css_typed_object_model_experimental", it should just be "css_typed_object_model". The "_experimental" bit is an artifact of the use of the {{experimental_inline}} macro in the header, which we are not supposed to do. In fact this also seems just wrong since many of these interfaces are not experimental any more (for instance, this one isn't).

So the right fix would be to remove the {{experimental_inline}} macro from the header, and the {{SeeCompatTable}} macro below it, and check each interface listed to see if it is really experimental or not.

Also, the link text in the CSSUnitValue page should be "CSS Typed Object Model API".

Please let me know if you'd like to do this, I'm happy to take care of it otherwise!

/cc @wbamberg i'm update this content, you can watch this https://github.com/mdn/content/pull/33599

T34-active avatar May 14 '24 02:05 T34-active