Skip to content
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

Source spec section from macros in CSS (phase 2) #6463

Merged
merged 9 commits into from
Jul 3, 2021

Conversation

teoli2003
Copy link
Contributor

@teoli2003 teoli2003 commented Jun 30, 2021

This is part of #1146.

I forgot the properties starting with 'c' in the first phase. I also deal with cases were the bcd wasn't in front-runner or had several compat table (most of the time erroneously).

A few notes:

  • Recent CSS color functions, lch(), lab(), hwb() and color(), temporarily lose their spec table. PR Safari 15 beta updates browser-compat-data#10898 landed last week but is not yet in the npm package. It will come back once mdn/content start using this week's package of bcd. On the way, I fixed one browser-compat: clause in front-runner that was incorrect.
  • A few CSS proposals, not yet implemented, lose their table (until there will be a bcd entry); like always, I leave it that way, it will get fixed automatically when they get a bcd entry: :nth-col, :nth-last-col, image-resolution, :state, :local-link, :picture-in-picture, :playing, :current, :paused, ::cue-region, @media/shape, @media/update, mask-border-mode, color-contrast(), device-cmyk().
  • A few properties, supported in several display modes, had a non-complete bcd. I opened PR Fix multi display mode css browser-compat-data#11354 to fix it.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 30, 2021

Preview URLs

Flaws

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

URL: /en-US/docs/Web/CSS/:local-link
Title: :local-link
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.local-link

URL: /en-US/docs/Web/CSS/mask-border-mode
Title: mask-border-mode
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.properties.mask-border-mode

URL: /en-US/docs/Web/CSS/:nth-last-col
Title: :nth-last-col
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.nth-last-col

URL: /en-US/docs/Web/CSS/@media/update-frequency
Title: update
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.at-rules.media.update

URL: /en-US/docs/Web/CSS/@media/shape
Title: shape
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.at-rules.media.shape

URL: /en-US/docs/Web/CSS/:state
Title: :state()
on GitHub
Flaw count: 4

  • macros:
    • /en-US/docs/Web/API/ElementInternals/states does not exist
    • `/home/runner/work/content/content/node_modules/@mdn/yari/kumascript/macros/CSSSyntax.ejs:1

1| <%
2| /*
3| Displays the syntax of a CSS property or descriptor
4|

No syntax found in DB for ':state'`

  • /en-US/docs/Web/API/ElementInternals/states does not exist
  • bad_bcd_queries:
    • No BCD data for query: css.selectors.state

URL: /en-US/docs/Web/CSS/image-resolution
Title: image-resolution
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.properties.image-resolution

URL: /en-US/docs/Web/CSS/counter-increment
Title: counter-increment
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/CSS/counter redirects to /en-US/docs/Web/CSS/counter()
    • /en-US/docs/Web/CSS/counters redirects to /en-US/docs/Web/CSS/counters()

URL: /en-US/docs/Web/CSS/:picture-in-picture
Title: :picture-in-picture
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.picture-in-picture

URL: /en-US/docs/Web/CSS/::cue-region
Title: ::cue-region
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.cue-region

URL: /en-US/docs/Web/CSS/color_value/color-contrast()
Title: color-contrast()
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.color.color-contrast

URL: /en-US/docs/Web/CSS/color_value/device-cmyk()
Title: device-cmyk()
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.color.device-cmyk

URL: /en-US/docs/Web/CSS/color_value/lch()
Title: lch()
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.color.lch

URL: /en-US/docs/Web/CSS/color_value/hwb()
Title: hwb()
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.color.hwb

URL: /en-US/docs/Web/CSS/color_value/color()
Title: color()
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/CSS/dashed-ident does not exist
  • bad_bcd_queries:
    • No BCD data for query: css.types.color.color

URL: /en-US/docs/Web/CSS/color_value/lab()
Title: lab()
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.types.color.lab

URL: /en-US/docs/Web/CSS/counter-set
Title: counter-set
on GitHub
Flaw count: 4

  • macros:
    • /en-US/docs/Web/CSS/counter redirects to /en-US/docs/Web/CSS/counter()
    • /en-US/docs/Web/CSS/counters redirects to /en-US/docs/Web/CSS/counters()
  • broken_links:
    • Can't resolve /en-US/docs/Web/Guide/CSS/Counters
    • Can't resolve /en-US/docs/CSS/Counters

URL: /en-US/docs/Web/CSS/calc()
Title: calc()
on GitHub
Flaw count: 3

  • broken_links:
    • Anchor not lowercase
    • Anchor not lowercase
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/column-gap
Title: column-gap (grid-column-gap)
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/opacity
Title: opacity
on GitHub
Flaw count: 2

  • broken_links:
    • Is currently http:// but can become https://
    • Can't resolve /static/img/opengraph-logo.png

URL: /en-US/docs/Web/CSS/color
Title: color
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/CSS/currentcolor redirects to /en-US/docs/Web/CSS/color_value#currentcolor_keyword
  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/touch-action
Title: touch-action
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/Pointer-events does not exist
  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/color-adjust
Title: color-adjust
on GitHub
Flaw count: 1

  • macros:
    • /en-US/docs/Web/CSS/linear-gradient() redirects to /en-US/docs/Web/CSS/gradient/linear-gradient()

URL: /en-US/docs/Web/CSS/row-gap
Title: row-gap (grid-row-gap)
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/:nth-col
Title: :nth-col
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.nth-col

URL: /en-US/docs/Web/CSS/:current
Title: :current
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.current

URL: /en-US/docs/Web/CSS/cross-fade()
Title: cross-fade()
on GitHub
Flaw count: 11

  • macros:
    • /en-US/docs/Web/CSS/url redirects to /en-US/docs/Web/CSS/url()
    • /en-US/docs/Web/CSS/_image redirects to /en-US/docs/Web/CSS/image/image()
    • /en-US/docs/Web/CSS/image-set redirects to /en-US/docs/Web/CSS/image/image-set()
    • /en-US/docs/Web/CSS/element redirects to /en-US/docs/Web/CSS/element()
    • /en-US/docs/Web/CSS/linear-gradient redirects to /en-US/docs/Web/CSS/gradient/linear-gradient()
    • and 4 more flaws omitted
  • broken_links:
    • Can't resolve /en-US/docs/
    • Can't resolve /en-US/docs/CSS/Using_CSS_gradients

URL: /en-US/docs/Web/CSS/counters()
Title: counters()
on GitHub
Flaw count: 3

  • macros:
    • /en-US/docs/Web/CSS/counter redirects to /en-US/docs/Web/CSS/counter()
  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/symbols
    • Can't resolve /en-US/docs/Web/CSS/counter_function

URL: /en-US/docs/Web/CSS/display
Title: display
on GitHub
Flaw count: 1

  • broken_links:
    • Is currently http:// but can become https://

URL: /en-US/docs/Web/CSS/:paused
Title: :paused
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.paused

URL: /en-US/docs/Web/CSS/counter()
Title: counter()
on GitHub
Flaw count: 2

  • macros:
    • /en-US/docs/Web/CSS/counters redirects to /en-US/docs/Web/CSS/counters()
  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/counters

URL: /en-US/docs/Web/CSS/gap
Title: gap (grid-gap)
on GitHub
Flaw count: 1

  • broken_links:
    • Anchor not lowercase

URL: /en-US/docs/Web/CSS/abs()
Title: abs()
on GitHub
Flaw count: 3

  • macros:
    • `/home/runner/work/content/content/node_modules/@mdn/yari/kumascript/macros/CSSSyntax.ejs:1

1| <%
2| /*
3| Displays the syntax of a CSS property or descriptor
4|

No syntax found in DB for 'abs()'`

  • /en-US/docs/Web/CSS/sign does not exist
  • bad_bcd_queries:
    • No BCD data for query: css.types.abs

URL: /en-US/docs/Web/CSS/:playing
Title: :playing
on GitHub
Flaw count: 1

  • bad_bcd_queries:
    • No BCD data for query: css.selectors.playing

URL: /en-US/docs/Web/CSS/clip-path
Title: clip-path
on GitHub
Flaw count: 3

  • macros:
    • /en-US/docs/Web/CSS/url redirects to /en-US/docs/Web/CSS/url()
  • broken_links:
    • Can't resolve /en-US/docs/CSS/Understanding_z-index/The_stacking_context
    • Can't resolve /en-US/docs/Applying_SVG_effects_to_HTML_content

External URLs

URL: /en-US/docs/Web/CSS/:local-link
Title: :local-link
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/mask-border-mode
Title: mask-border-mode
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:nth-last-col
Title: :nth-last-col
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/clamp()
Title: clamp()
on GitHub


URL: /en-US/docs/Web/CSS/caret-color
Title: caret-color
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/@media/update-frequency
Title: update
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/@media/shape
Title: shape
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/Column_combinator
Title: Column combinator
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:state
Title: :state()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/justify-items
Title: justify-items
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/image-resolution
Title: image-resolution
on GitHub


URL: /en-US/docs/Web/CSS/counter-increment
Title: counter-increment
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:picture-in-picture
Title: :picture-in-picture
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/::cue-region
Title: ::cue-region
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-width
Title: column-width
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/color-contrast()
Title: color-contrast()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/device-cmyk()
Title: device-cmyk()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/lch()
Title: lch()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/color-mix()
Title: color-mix()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/hwb()
Title: hwb()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/color()
Title: color()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/lab()
Title: lab()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/counter-set
Title: counter-set
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/calc()
Title: calc()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/content
Title: content
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/columns
Title: columns
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-gap
Title: column-gap (grid-column-gap)
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/contain-intrinsic-size
Title: contain-intrinsic-size
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/opacity
Title: opacity
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/cursor
Title: cursor
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color
Title: color
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/align-content
Title: align-content
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/break-inside
Title: break-inside
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/contain
Title: contain
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/touch-action
Title: touch-action
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color-adjust
Title: color-adjust
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/row-gap
Title: row-gap (grid-row-gap)
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:nth-col
Title: :nth-col
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/counter-reset
Title: counter-reset
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/content-visibility
Title: content-visibility
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/clip
Title: clip
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:current
Title: :current
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-fill
Title: column-fill
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/align-self
Title: align-self
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/cross-fade()
Title: cross-fade()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-rule-style
Title: column-rule-style
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/align-items
Title: align-items
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-rule-width
Title: column-rule-width
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/counters()
Title: counters()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/caption-side
Title: caption-side
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-span
Title: column-span
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/display
Title: display
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/color-scheme
Title: color-scheme
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/break-after
Title: break-after
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:paused
Title: :paused
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/counter()
Title: counter()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/justify-self
Title: justify-self
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/gap
Title: gap (grid-gap)
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/abs()
Title: abs()
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-rule
Title: column-rule
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/justify-content
Title: justify-content
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/:playing
Title: :playing
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-count
Title: column-count
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/break-before
Title: break-before
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/column-rule-color
Title: column-rule-color
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/clip-path
Title: clip-path
on GitHub

No new external URLs


URL: /en-US/docs/Web/CSS/clear
Title: clear
on GitHub

No new external URLs

(this comment was updated 2021-06-30 15:39:08.254060)

@teoli2003 teoli2003 marked this pull request as ready for review July 2, 2021 09:19
@teoli2003 teoli2003 requested a review from a team as a code owner July 2, 2021 09:19
@teoli2003 teoli2003 requested review from rachelandrew and removed request for a team July 2, 2021 09:19
@teoli2003 teoli2003 changed the title Source spec section from macros in CSS (phase 2) [DRAFT] Source spec section from macros in CSS (phase 2) Jul 2, 2021
@sideshowbarker sideshowbarker merged commit bec20b2 into mdn:main Jul 3, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants