Skip to content

chore(ja): remove {{CSSRef}} macros #28055

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

Merged
merged 2 commits into from
Jul 21, 2025
Merged

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Jul 17, 2025

Description

remove {{CSSRef}} macros. Note that, I have not remove the description of {{CSSRef}} in page templates:

  • MDN/Writing_guidelines/Page_structures/Page_types/CSS_function_page_template
  • MDN/Writing_guidelines/Page_structures/Page_types/CSS_module_landing_page_template
  • MDN/Writing_guidelines/Page_structures/Page_types/CSS_property_page_template
  • MDN/Writing_guidelines/Page_structures/Page_types/CSS_selector_page_template

Used regexp: \{\{\s*CSSRef\s*(?:\(\s*['"][^'"]*['"]\s*\)\s*)?\s*\}\}\s*

Related issues and pull requests

Upstream PR: mdn/content#40356

@yin1999 yin1999 requested a review from a team as a code owner July 17, 2025 00:59
@yin1999 yin1999 requested review from dynamis and removed request for a team July 17, 2025 00:59
@github-actions github-actions bot added the l10n-ja Issues related to Japanese content. label Jul 17, 2025
Copy link
Contributor

github-actions bot commented Jul 17, 2025

Preview URLs (300 pages)
Flaws (113)

Note! 232 documents with no flaws that don't need to be listed. 🎉

URL: /ja/docs/Web/CSS/--*
Title: カスタムプロパティ (--*): CSS 変数
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-moz-image-rect
Title: -moz-image-rect
Flaw count: 3

  • macros:
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect
    • Can't resolve /ja/docs/Web/CSS/-moz-image-region

URL: /ja/docs/Web/CSS/-moz-orient
Title: -moz-orient
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-moz-user-focus
Title: -moz-user-focus
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-moz-user-input
Title: -moz-user-input
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/CSS/user-input

URL: /ja/docs/Web/CSS/-webkit-border-before
Title: -webkit-border-before
Flaw count: 8

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-border-before-width
    • Can't resolve /ja/docs/Web/CSS/-webkit-border-before-style
    • Can't resolve /ja/docs/Web/CSS/-webkit-border-before-color
    • Can't resolve /ja/docs/Web/CSS/-webkit-border-after
    • Can't resolve /ja/docs/Web/CSS/-webkit-border-start
    • and 2 more flaws omitted
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-box-reflect
Title: -webkit-box-reflect
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-mask-composite
Title: -webkit-mask-composite
Flaw count: 2

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-image
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-mask-position-x
Title: -webkit-mask-position-x
Flaw count: 4

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-position
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-origin
    • Macro produces link /ja/docs/Web/CSS/-webkit-mask-attachment which is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-mask-position-y
Title: -webkit-mask-position-y
Flaw count: 4

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-position
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-origin
    • Macro produces link /ja/docs/Web/CSS/-webkit-mask-attachment which is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-mask-repeat-x
Title: -webkit-mask-repeat-x
Flaw count: 2

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-repeat
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-mask-repeat-y
Title: -webkit-mask-repeat-y
Flaw count: 2

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-mask-repeat
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/-webkit-touch-callout
Title: -webkit-touch-callout
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/:-moz-locale-dir_ltr
Title: :-moz-locale-dir(ltr)
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/:-moz-locale-dir(rtl) which is a redirect

URL: /ja/docs/Web/CSS/:-moz-locale-dir_rtl
Title: :-moz-locale-dir(rtl)
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/:-moz-locale-dir(ltr) which is a redirect

URL: /ja/docs/Web/CSS/::-moz-color-swatch
Title: ::-moz-color-swatch
Flaw count: 3

  • macros:
    • Can't resolve /ja/docs/Web/CSS/::-webkit-color-swatch
  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::-moz-list-bullet
Title: ::-moz-list-bullet
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/CSS/:-moz-list-number

URL: /ja/docs/Web/CSS/::-moz-progress-bar
Title: ::-moz-progress-bar
Flaw count: 3

  • macros:
    • Can't resolve /ja/docs/Web/CSS/::-ms-fill
  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::-moz-range-track
Title: ::-moz-range-track
Flaw count: 3

  • macros:
    • Can't resolve /ja/docs/Web/CSS/::-ms-track
  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::-webkit-progress-value
Title: ::-webkit-progress-value
Flaw count: 2

  • macros:
    • Can't resolve /ja/docs/Web/CSS/-webkit-appearance
    • Can't resolve /ja/docs/Web/CSS/::-ms-fill

URL: /ja/docs/Web/CSS/::-webkit-slider-runnable-track
Title: ::-webkit-slider-runnable-track
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/CSS/::-ms-track

URL: /ja/docs/Web/CSS/::-webkit-slider-thumb
Title: ::-webkit-slider-thumb
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/CSS/::-ms-thumb

URL: /ja/docs/Web/CSS/::after
Title: ::after (:after)
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::before
Title: ::before (:before)
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::cue
Title: ::cue
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::first-line
Title: ::first-line (:first-line)
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::selection
Title: ::selection
Flaw count: 4

  • macros:
    • Can't resolve /ja/docs/Web/SVG/Reference/Attribute/stroke-color
    • Can't resolve /ja/docs/Web/SVG/Reference/Attribute/fill-color
  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/::target-text
Title: ::target-text
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoElement
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/:invalid
Title: :invalid
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/CSS/:-moz-ui-invalid

URL: /ja/docs/Web/CSS/:picture-in-picture
Title: :picture-in-picture
Flaw count: 1

  • macros:
    • Can't resolve /ja/docs/Web/API/HTMLVideoElement/autoPictureInPicture

URL: /ja/docs/Web/CSS/:user-invalid
Title: :user-invalid (:-moz-ui-invalid)
Flaw count: 2

  • unknown:
    • CSS syntax not supported for CssPseudoClass
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/@charset
Title: @charset
Flaw count: 1

  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/@color-profile
Title: @color-profile
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/at-rule which is a redirect

URL: /ja/docs/Web/CSS/@counter-style/additive-symbols
Title: additive-symbols
Flaw count: 2

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Can't resolve /ja/docs/Web/CSS/system

URL: /ja/docs/Web/CSS/@counter-style/fallback
Title: fallback
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/negative
Title: negative
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/pad
Title: pad
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/prefix
Title: prefix
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/range
Title: range
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/speak-as
Title: speak-as
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/suffix
Title: suffix
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@counter-style/symbols
Title: symbols
Flaw count: 2

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect

URL: /ja/docs/Web/CSS/@counter-style/system
Title: system
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/ascent-override
Title: ascent-override
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/descent-override
Title: descent-override
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-display
Title: font-display
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-family
Title: font-family
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-feature-settings
Title: font-feature-settings
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-stretch
Title: font-stretch
Flaw count: 2

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/@font-face/font-style
Title: font-style
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-variation-settings
Title: font-variation-settings
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/font-weight
Title: font-weight
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/line-gap-override
Title: line-gap-override
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/size-adjust
Title: size-adjust
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/src
Title: src
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-face/unicode-range
Title: unicode-range
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@font-palette-values/base-palette
Title: base-palette
Flaw count: 3

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /ja/docs/Web/CSS/@font-palette-values/ which is a redirect
    • Macro produces link /ja/docs/Web/CSS/font-palette/ which is a redirect

URL: /ja/docs/Web/CSS/@font-palette-values/font-family
Title: font-family
Flaw count: 3

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /ja/docs/Web/CSS/@font-palette-values/ which is a redirect
    • Macro produces link /ja/docs/Web/CSS/font-palette/ which is a redirect

URL: /ja/docs/Web/CSS/@font-palette-values/override-colors
Title: override-colors
Flaw count: 3

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /ja/docs/Web/CSS/@font-palette-values/ which is a redirect
    • Macro produces link /ja/docs/Web/CSS/font-palette/ which is a redirect

URL: /ja/docs/Web/CSS/@page/page-orientation
Title: page-orientation
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@page/size
Title: size
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@property/inherits
Title: inherits
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@property/initial-value
Title: initial-value
Flaw count: 1

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect

URL: /ja/docs/Web/CSS/@property/syntax
Title: syntax
Flaw count: 2

  • broken_links:
    • /ja/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect

URL: /ja/docs/Web/CSS/@starting-style
Title: @starting-style
Flaw count: 2

  • macros:
    • Macro produces link /ja/docs/Web/CSS/specificity which is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /ja/docs/Web/CSS/background
Title: background
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect

URL: /ja/docs/Web/CSS/background-image
Title: background-image
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/url which is a redirect

URL: /ja/docs/Web/CSS/basic-shape
Title: <basic-shape>
Flaw count: 1

  • macros:
    • Macro produces link /ja/docs/Web/CSS/path which is a redirect
External URLs (280)

URL: /ja/docs/Web/API/Web_Animations_API/Tips
Title: CSS アニメーションのヒントとコツ


URL: /ja/docs/Web/CSS/-webkit-text-fill-color
Title: -webkit-text-fill-color


URL: /ja/docs/Web/CSS/-webkit-text-stroke
Title: -webkit-text-stroke


URL: /ja/docs/Web/CSS/-webkit-text-stroke-color
Title: -webkit-text-stroke-color


URL: /ja/docs/Web/CSS/-webkit-text-stroke-width
Title: -webkit-text-stroke-width


URL: /ja/docs/Web/CSS/::after
Title: ::after (:after)


URL: /ja/docs/Web/CSS/::before
Title: ::before (:before)


URL: /ja/docs/Web/CSS/::placeholder
Title: ::placeholder


URL: /ja/docs/Web/CSS/::selection
Title: ::selection


URL: /ja/docs/Web/CSS/:autofill
Title: :autofill


URL: /ja/docs/Web/CSS/:default
Title: :default


URL: /ja/docs/Web/CSS/:empty
Title: :empty


URL: /ja/docs/Web/CSS/:focus
Title: :focus


URL: /ja/docs/Web/CSS/:focus-visible
Title: :focus-visible


URL: /ja/docs/Web/CSS/:focus-within
Title: :focus-within


URL: /ja/docs/Web/CSS/:host
Title: :host


URL: /ja/docs/Web/CSS/:host_function
Title: :host()


URL: /ja/docs/Web/CSS/:host-context
Title: :host-context()


URL: /ja/docs/Web/CSS/:hover
Title: :hover


URL: /ja/docs/Web/CSS/:invalid
Title: :invalid


URL: /ja/docs/Web/CSS/:is
Title: :is()


URL: /ja/docs/Web/CSS/:lang
Title: :lang()


URL: /ja/docs/Web/CSS/:nth-last-child
Title: :nth-last-child()


URL: /ja/docs/Web/CSS/:optional
Title: :optional


URL: /ja/docs/Web/CSS/:required
Title: :required


URL: /ja/docs/Web/CSS/:target
Title: :target


URL: /ja/docs/Web/CSS/:valid
Title: :valid


URL: /ja/docs/Web/CSS/:where
Title: :where()


URL: /ja/docs/Web/CSS/@charset
Title: @charset


URL: /ja/docs/Web/CSS/@color-profile
Title: @color-profile


URL: /ja/docs/Web/CSS/@container
Title: @container


URL: /ja/docs/Web/CSS/@counter-style
Title: @counter-style


URL: /ja/docs/Web/CSS/@counter-style/additive-symbols
Title: additive-symbols


URL: /ja/docs/Web/CSS/@counter-style/speak-as
Title: speak-as


URL: /ja/docs/Web/CSS/@counter-style/system
Title: system


URL: /ja/docs/Web/CSS/@font-face
Title: @font-face


URL: /ja/docs/Web/CSS/@font-face/ascent-override
Title: ascent-override


URL: /ja/docs/Web/CSS/@font-face/descent-override
Title: descent-override


URL: /ja/docs/Web/CSS/@font-face/font-display
Title: font-display


URL: /ja/docs/Web/CSS/@font-face/font-family
Title: font-family


URL: /ja/docs/Web/CSS/@font-face/font-feature-settings
Title: font-feature-settings

TRUNCATED!

(comment last updated: 2025-07-21 05:07:06)

@github-actions github-actions bot added the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Jul 20, 2025
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@github-actions github-actions bot removed the merge conflicts 🚧 This pull request has merge conflicts that must be resolved. label Jul 21, 2025
Copy link
Collaborator

@mfuji09 mfuji09 left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@mfuji09 mfuji09 merged commit 6403357 into mdn:main Jul 21, 2025
6 checks passed
@yin1999 yin1999 deleted the remove-cssref-ja branch July 21, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-ja Issues related to Japanese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants