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

style: run prettier on web/api/x and css #20547

Merged
merged 4 commits into from
Sep 11, 2022
Merged

Conversation

nschonni
Copy link
Contributor

Not run on code fences

@nschonni nschonni requested review from a team as code owners September 11, 2022 06:05
@nschonni nschonni requested review from jpmedley and estelle and removed request for a team September 11, 2022 06:05
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs Content:WebAPI Web API docs labels Sep 11, 2022
@@ -59,6 +59,7 @@ To try out the example:

> **Warning:** Opening the XML file directly from the file system will not work, because loading the stylesheet from the file system is a [cross-origin request](/en-US/docs/Web/HTTP/CORS), and will be disallowed by default.
> Hosting the XML and stylesheet on the same local server ensures that they have the same origin.

1. Open **example.xml** from the browser.
1. The browser output is then as shown below:
Copy link
Contributor

Choose a reason for hiding this comment

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

Side note: We should consider fixing and activating MD029. (Not in this PR, of course)

@github-actions
Copy link
Contributor

Preview URLs

Flaws

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

URL: /en-US/docs/Web/CSS/repeat
Title: repeat()
Flaw count: 5

  • macros:
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/minmax() redirects to /en-US/docs/Web/CSS/minmax
    • /en-US/docs/Web/CSS/fit-content() redirects to /en-US/docs/Web/CSS/fit-content_function
  • bad_bcd_links:
    • no explanation!

URL: /en-US/docs/Web/CSS/CSS_Selectors
Title: CSS selectors
Flaw count: 1

  • macros:
    • /en-US/docs/Web/HTML/Element/h2 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements

URL: /en-US/docs/Web/CSS/animation
Title: animation
Flaw count: 1

  • macros:
    • /en-US/docs/Web/CSS/single-transition-easing-function does not exist

URL: /en-US/docs/Web/CSS/CSS_Values_and_Units
Title: CSS values and units
Flaw count: 1

  • macros:
    • /en-US/docs/Web/CSS/toggle does not exist

URL: /en-US/docs/Web/CSS/Media_Queries/Using_Media_Queries_for_Accessibility
Title: Using media queries for accessibility
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/@media/

URL: /en-US/docs/Web/CSS/Layout_cookbook/Contribute_a_recipe
Title: Contribute a recipe
Flaw count: 1

  • broken_links:
    • Can't resolve /en-US/docs/MDN/Community/Conversations#synchronous_chat

URL: /en-US/docs/Web/CSS/@page
Title: @page
Flaw count: 4

  • macros:
    • /en-US/docs/Web/CSS/:recto does not exist
    • /en-US/docs/Web/CSS/:verso does not exist
  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/@page/page-orientation
  • bad_bcd_links:
    • no explanation!

URL: /en-US/docs/Web/CSS/:host-context
Title: :host-context()
Flaw count: 1

  • bad_bcd_links:
    • no explanation!

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

  • macros:
    • /en-US/docs/Web/HTML/Element/rbc does not exist

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

  • bad_bcd_links:
    • no explanation!

URL: /en-US/docs/Web/API/XRInputSourceArray/values
Title: XRInputSourceArray.values()
Flaw count: 2

  • broken_links:
    • Can't resolve /en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator
    • Can't resolve /en-US/docs/Web/JavaScript/Reference/Global_Objects/Iterator

URL: /en-US/docs/Web/API/XMLHttpRequest
Title: XMLHttpRequest
Flaw count: 1

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

URL: /en-US/docs/Web/API/XMLHttpRequest/Using_XMLHttpRequest
Title: Using XMLHttpRequest
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/XMLHttpRequest/sendAsBinary does not exist

URL: /en-US/docs/Web/API/XRFrame/getHitTestResultsForTransientInput
Title: XRFrame.getHitTestResultsForTransientInput()
Flaw count: 1

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

URL: /en-US/docs/Web/API/XRWebGLBinding/createCubeLayer
Title: XRWebGLBinding.createCubeLayer()
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types

URL: /en-US/docs/Web/API/XRWebGLBinding/createQuadLayer
Title: XRWebGLBinding.createQuadLayer()
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types

URL: /en-US/docs/Web/API/XRWebGLBinding/createProjectionLayer
Title: XRWebGLBinding.createProjectionLayer()
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types

URL: /en-US/docs/Web/API/XRWebGLBinding/createEquirectLayer
Title: XRWebGLBinding.createEquirectLayer()
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types

URL: /en-US/docs/Web/API/XRWebGLBinding/createCylinderLayer
Title: XRWebGLBinding.createCylinderLayer()
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types
    • /en-US/docs/Web/API/GLenum redirects to /en-US/docs/Web/API/WebGL_API/Types

URL: /en-US/docs/Web/API/XSLTProcessor
Title: XSLTProcessor
Flaw count: 19

  • macros:
    • /en-US/docs/Web/API/XSLTProcessor/XSLTProcessor does not exist
    • /en-US/docs/Web/API/XSLTProcessor/importStylesheet does not exist
    • /en-US/docs/Web/API/XSLTProcessor/transformToFragment does not exist
    • /en-US/docs/Web/API/XSLTProcessor/importStylesheet does not exist
    • /en-US/docs/Web/API/XSLTProcessor/transformToDocument does not exist
    • and 6 more flaws omitted
  • bad_bcd_links:
    • no explanation!
    • no explanation!
    • no explanation!
    • no explanation!
    • no explanation!
    • and 3 more flaws omitted

External URLs

URL: /en-US/docs/Web/CSS/border-image
Title: border-image


URL: /en-US/docs/Web/CSS/Media_Queries/Using_Media_Queries_for_Accessibility
Title: Using media queries for accessibility


URL: /en-US/docs/Web/CSS/font-size
Title: font-size


URL: /en-US/docs/Web/CSS/@media/prefers-contrast
Title: prefers-contrast


URL: /en-US/docs/Web/CSS/:focus
Title: :focus


URL: /en-US/docs/Web/CSS/background-color
Title: background-color

@teoli2003 teoli2003 merged commit 9d5430a into mdn:main Sep 11, 2022
@nschonni nschonni deleted the pretter-web-css branch September 11, 2022 15:12
himanshugarg pushed a commit to himanshugarg/content that referenced this pull request Sep 27, 2022
* style: run prettier on web/api/x and css

* fix: re-escape HTML in alt

* Update files/en-us/web/css/css_animations/using_css_animations/index.md

Co-authored-by: Jean-Yves Perrier <[email protected]>

* fix: macro wrapping

Co-authored-by: Jean-Yves Perrier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs Content:WebAPI Web API docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants