Skip to content

chore(zh-cn): remove {{CSSRef}} macros #28036

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 15, 2025
Merged

Conversation

yin1999
Copy link
Member

@yin1999 yin1999 commented Jul 15, 2025

Description

remove {{CSSRef}} macros

Related issues and pull requests

Upstream PR: mdn/content#40356

@yin1999 yin1999 requested a review from a team as a code owner July 15, 2025 00:54
@yin1999 yin1999 requested review from irvin and removed request for a team July 15, 2025 00:54
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Jul 15, 2025
Copy link
Contributor

Preview URLs (300 pages)
Flaws (111)

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

URL: /zh-CN/docs/Web/CSS/-moz-image-rect
Title: -moz-image-rect
Flaw count: 4

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-image-region
    • Can't resolve /zh-CN/docs/Web/CSS/uri
    • Macro produces link /zh-CN/docs/Web/CSS/url which is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /zh-CN/docs/Web/CSS/-moz-user-input
Title: -moz-user-input
Flaw count: 4

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/user-input
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-user-modify
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-user-select
  • unknown:
    • Error: could not find syntax for this item

URL: /zh-CN/docs/Web/CSS/-webkit-border-before
Title: -webkit-border-before
Flaw count: 7

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/-webkit-border-before-color
    • Can't resolve /zh-CN/docs/Web/CSS/-webkit-border-before-style
    • Can't resolve /zh-CN/docs/Web/CSS/-webkit-border-before-width
    • Can't resolve /zh-CN/docs/Web/CSS/-webkit-border-after
    • Can't resolve /zh-CN/docs/Web/CSS/-webkit-border-start
    • and 2 more flaws omitted

URL: /zh-CN/docs/Web/CSS/-webkit-tap-highlight-color
Title: -webkit-tap-highlight-color
Flaw count: 2

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/color value
  • unknown:
    • Error: could not find syntax for this item

URL: /zh-CN/docs/Web/CSS/:-moz-only-whitespace
Title: :blank
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/::-moz-color-swatch
Title: ::-moz-color-swatch
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/::-webkit-color-swatch

URL: /zh-CN/docs/Web/CSS/::-moz-range-progress
Title: ::-moz-range-progress
Flaw count: 3

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

URL: /zh-CN/docs/Web/CSS/::-webkit-progress-bar
Title: ::-webkit-progress-bar
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/::-webkit-progress-inner-element
Title: ::-webkit-progress-inner-element
Flaw count: 2

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

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

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

URL: /zh-CN/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: /zh-CN/docs/Web/CSS/::part
Title: ::part()
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:default
Title: :default
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:defined
Title: :defined
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:focus-visible
Title: :focus-visible
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/:-moz-focusring

URL: /zh-CN/docs/Web/CSS/:left
Title: :left
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:nth-last-child
Title: :nth-last-child
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:read-only
Title: :read-only
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:read-write
Title: :read-write
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/:valid
Title: :valid
Flaw count: 2

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

URL: /zh-CN/docs/Web/CSS/@counter-style
Title: @counter-style
Flaw count: 12

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/system
    • Can't resolve /zh-CN/docs/Web/CSS/negative
    • Can't resolve /zh-CN/docs/Web/CSS/prefix
    • Can't resolve /zh-CN/docs/Web/CSS/negative
    • Can't resolve /zh-CN/docs/Web/CSS/suffix
    • and 7 more flaws omitted

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

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/system

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

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

URL: /zh-CN/docs/Web/CSS/@counter-style/speak-as
Title: speak-as
Flaw count: 4

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/system
    • Can't resolve /zh-CN/docs/Web/CSS/fallback
    • Can't resolve /zh-CN/docs/Web/CSS/fallback

URL: /zh-CN/docs/Web/CSS/@font-face
Title: @font-face
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/@font-face/font-variant

URL: /zh-CN/docs/Web/CSS/@font-face/font-display
Title: font-display
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/@font-face/font-variant

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

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

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

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

URL: /zh-CN/docs/Web/CSS/@font-face/src
Title: src
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/url which is a redirect

URL: /zh-CN/docs/Web/CSS/@import
Title: @import
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/uri

URL: /zh-CN/docs/Web/CSS/@media
Title: @media
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/@media/update-frequency

URL: /zh-CN/docs/Web/CSS/@property
Title: @property
Flaw count: 3

  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/at-rule which is a redirect
    • Can't resolve /zh-CN/docs/Web/API/CSS/registerProperty
    • Can't resolve /zh-CN/docs/Web/API/CSS/registerProperty

URL: /zh-CN/docs/Web/CSS/@property/inherits
Title: inherits
Flaw count: 1

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

URL: /zh-CN/docs/Web/CSS/@property/initial-value
Title: 初始值
Flaw count: 3

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/at-rule which is a redirect
    • Can't resolve /zh-CN/docs/Web/API/CSS/registerProperty

URL: /zh-CN/docs/Web/CSS/@property/syntax
Title: syntax
Flaw count: 4

  • broken_links:
    • /en-US/docs/Web/CSS/At-rule is a redirect
  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/at-rule which is a redirect
    • Macro produces link /zh-CN/docs/Web/CSS/url which is a redirect
    • Can't resolve /zh-CN/docs/Web/API/CSS/registerProperty

URL: /zh-CN/docs/Web/CSS/@supports
Title: @supports
Flaw count: 1

  • macros:
    • Macro produces link /zh-CN/docs/Web/API/CSS/supports which is a redirect

URL: /zh-CN/docs/Web/CSS/animation
Title: animation
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/single-transition-timing-function

URL: /zh-CN/docs/Web/CSS/attr
Title: attr
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/uri

URL: /zh-CN/docs/Web/CSS/background
Title: background
Flaw count: 2

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-background-size
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-background-inline-policy

URL: /zh-CN/docs/Web/CSS/background-attachment
Title: background-attachment
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Glossary/视口

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

  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/url which is a redirect

URL: /zh-CN/docs/Web/CSS/background-position-x
Title: background-position-x
Flaw count: 2

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/background-position-inline
    • Can't resolve /zh-CN/docs/Web/CSS/background-position-block

URL: /zh-CN/docs/Web/CSS/background-position-y
Title: background-position-y
Flaw count: 2

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/background-position-inline
    • Can't resolve /zh-CN/docs/Web/CSS/background-position-block

URL: /zh-CN/docs/Web/CSS/background-size
Title: background-size
Flaw count: 1

  • macros:
    • Can't resolve /zh-CN/docs/Web/CSS/-moz-element

URL: /zh-CN/docs/Web/CSS/box-decoration-break
Title: box-decoration-break
Flaw count: 6

  • unknown:
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/css/box-decoration-break/box-decoration-break-inline-slice.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/css/box-decoration-break/box-decoration-break-inline-clone.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/css/box-decoration-break/box-decoration-break-slice-inline-2.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/css/box-decoration-break/box-decoration-break-block.png: No such file or directory (os error 2)
    • Error opening /home/runner/work/translated-content/translated-content/mdn/content/files/en-us/web/css/box-decoration-break/box-decoration-break-block-slice.png: No such file or directory (os error 2)
    • and 1 more flaws omitted

URL: /zh-CN/docs/Web/CSS/box-orient
Title: box-orient
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/docs/Mozilla/Tech/XUL
  • unknown:
    • Error: could not find syntax for this item

URL: /zh-CN/docs/Web/CSS/clip-path
Title: clip-path
Flaw count: 1

  • macros:
    • Macro produces link /zh-CN/docs/Web/CSS/url which is a redirect

URL: /zh-CN/docs/Web/CSS/color_value
Title: <color>
Flaw count: 3

  • unknown:
    • No generic content config found
    • no blog root
    • no blog root
External URLs (422)

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


URL: /zh-CN/docs/Web/CSS/-webkit-text-stroke
Title: -webkit-text-stroke


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


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


URL: /zh-CN/docs/Web/CSS/::before
Title: ::before


URL: /zh-CN/docs/Web/CSS/::part
Title: ::part()


URL: /zh-CN/docs/Web/CSS/::placeholder
Title: ::placeholder


URL: /zh-CN/docs/Web/CSS/:autofill
Title: :autofill


URL: /zh-CN/docs/Web/CSS/:defined
Title: :defined


URL: /zh-CN/docs/Web/CSS/:empty
Title: :empty


URL: /zh-CN/docs/Web/CSS/:focus
Title: :focus


URL: /zh-CN/docs/Web/CSS/:focus-visible
Title: :focus-visible


URL: /zh-CN/docs/Web/CSS/:focus-within
Title: :focus-within


URL: /zh-CN/docs/Web/CSS/:host
Title: :host


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


URL: /zh-CN/docs/Web/CSS/:hover
Title: :hover


URL: /zh-CN/docs/Web/CSS/:invalid
Title: :invalid


URL: /zh-CN/docs/Web/CSS/:is
Title: :is()


URL: /zh-CN/docs/Web/CSS/:lang
Title: :lang()


URL: /zh-CN/docs/Web/CSS/:nth-last-child
Title: :nth-last-child


URL: /zh-CN/docs/Web/CSS/:optional
Title: :optional


URL: /zh-CN/docs/Web/CSS/:required
Title: :required


URL: /zh-CN/docs/Web/CSS/:target
Title: :target


URL: /zh-CN/docs/Web/CSS/:valid
Title: :valid


URL: /zh-CN/docs/Web/CSS/:where
Title: :where()


URL: /zh-CN/docs/Web/CSS/@charset
Title: @charset


URL: /zh-CN/docs/Web/CSS/@counter-style
Title: @counter-style


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


URL: /zh-CN/docs/Web/CSS/@counter-style/pad
Title: pad


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


URL: /zh-CN/docs/Web/CSS/@font-face
Title: @font-face


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


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


URL: /zh-CN/docs/Web/CSS/@font-face/font-style
Title: font-style


URL: /zh-CN/docs/Web/CSS/@font-face/src
Title: src


URL: /zh-CN/docs/Web/CSS/@font-feature-values
Title: @font-feature-values


URL: /zh-CN/docs/Web/CSS/@import
Title: @import


URL: /zh-CN/docs/Web/CSS/@keyframes
Title: @keyframes


URL: /zh-CN/docs/Web/CSS/@media
Title: @media


URL: /zh-CN/docs/Web/CSS/@media/prefers-color-scheme
Title: prefers-color-scheme


URL: /zh-CN/docs/Web/CSS/@media/prefers-reduced-motion
Title: prefers-reduced-motion


URL: /zh-CN/docs/Web/CSS/@namespace
Title: @namespace


URL: /zh-CN/docs/Web/CSS/@page
Title: @page


URL: /zh-CN/docs/Web/CSS/@property/inherits
Title: inherits


URL: /zh-CN/docs/Web/CSS/@scope
Title: @scope


URL: /zh-CN/docs/Web/CSS/@supports
Title: @supports


URL: /zh-CN/docs/Web/CSS/@view-transition
Title: @view-transition


URL: /zh-CN/docs/Web/CSS/accent-color
Title: accent-color


URL: /zh-CN/docs/Web/CSS/acos
Title: acos()

---…

TRUNCATED!

@jasonren0403 jasonren0403 merged commit ebab2d8 into mdn:main Jul 15, 2025
5 of 6 checks passed
@github-project-automation github-project-automation bot moved this from Review requested to Done in MDN translated-content l10n-zh Jul 15, 2025
@yin1999 yin1999 deleted the remove-cssref-cn branch July 15, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
Development

Successfully merging this pull request may close these issues.

2 participants