Skip to content

Use currentcolor (lowercase)#16592

Merged
teoli2003 merged 1 commit intomdn:mainfrom
mems:fix-currentcolor-case
May 23, 2022
Merged

Use currentcolor (lowercase)#16592
teoli2003 merged 1 commit intomdn:mainfrom
mems:fix-currentcolor-case

Conversation

@mems
Copy link
Contributor

@mems mems commented May 23, 2022

Like

Summary

Fix currentcolor case to use the same as the one used by CSSWG does in CSS Color Module Level 4

Motivation

For homogenization, some (most) pages already use the lowercase version.

Supporting details

N/A

Related issues

N/A

Metadata

  • Adds a new document
  • Rewrites (or significantly expands) a document
  • Fixes a typo, bug, or other error

@mems mems requested review from a team as code owners May 23, 2022 12:37
@mems mems requested review from dipikabh and estelle and removed request for a team May 23, 2022 12:37
@github-actions github-actions bot added Content:Accessibility Accessibility docs Content:CSS Cascading Style Sheets docs Content:Learn Learning area docs Content:Other Any docs not covered by another "Content:" label labels May 23, 2022
@github-actions
Copy link
Contributor

Preview URLs

Flaws

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

URL: /en-US/docs/Learn/CSS/Styling_text/Fundamentals
Title: Fundamental text and font styling
on GitHub
Flaw count: 4

  • macros:
    • /en-US/docs/Web/HTML/Element/h1 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h1 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
    • /en-US/docs/Web/HTML/Element/h1 redirects to /en-US/docs/Web/HTML/Element/Heading_Elements
  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_todo_list_beginning
Title: Beginning our React todo list
on GitHub
Flaw count: 1

  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Svelte_stores
Title: Working with Svelte stores
on GitHub
Flaw count: 1

  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Svelte_Todo_list_beginning
Title: Starting our Svelte to-do list app
on GitHub
Flaw count: 1

  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Vue_styling
Title: Styling Vue components with CSS
on GitHub
Flaw count: 1

  • broken_links:
    • Link points to the page it's already on

URL: /en-US/docs/Mozilla/Firefox/Releases/68
Title: Firefox 68 for developers
on GitHub
Flaw count: 6

  • macros:
    • /en-US/docs/Web/CSS/linear-gradient redirects to /en-US/docs/Web/CSS/gradient/linear-gradient
    • /en-US/docs/Web/CSS/radial-gradient redirects to /en-US/docs/Web/CSS/gradient/radial-gradient
    • /en-US/docs/Web/CSS/repeating-radial-gradient redirects to /en-US/docs/Web/CSS/gradient/repeating-radial-gradient
    • /en-US/docs/Web/API/SVGElement/focus does not exist
    • /en-US/docs/Web/API/MouseEvent/mozPressure does not exist
  • broken_links:
    • Can't resolve /en-US/docs/Mozilla/Firefox_for_Android

URL: /en-US/docs/Web/CSS/Mozilla_Extensions
Title: Mozilla CSS extensions
on GitHub
Flaw count: 95

  • macros:
    • /en-US/docs/Web/CSS/-moz-binding does not exist
    • /en-US/docs/Web/CSS/-moz-border-bottom-colors does not exist
    • /en-US/docs/Web/CSS/-moz-border-left-colors redirects to /en-US/docs/Web/CSS/Mozilla_Extensions#b
    • /en-US/docs/Web/CSS/-moz-border-right-colors does not exist
    • /en-US/docs/Web/CSS/-moz-border-top-colors does not exist
    • and 88 more flaws omitted
  • broken_links:
    • Can't resolve /en-US/docs/Mozilla/Tech/XUL
    • Can't resolve /en-US/docs/Mozilla/Gecko/Chrome/CSS

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

  • bad_bcd_links:
    • no explanation!

External URLs

URL: /en-US/docs/Learn/CSS/Styling_text/Fundamentals
Title: Fundamental text and font styling
on GitHub

No new external URLs


URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/React_todo_list_beginning
Title: Beginning our React todo list
on GitHub

No new external URLs


URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Svelte_stores
Title: Working with Svelte stores
on GitHub

No new external URLs


URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Svelte_Todo_list_beginning
Title: Starting our Svelte to-do list app
on GitHub

No new external URLs


URL: /en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Vue_styling
Title: Styling Vue components with CSS
on GitHub

No new external URLs


URL: /en-US/docs/Mozilla/Firefox/Releases/68
Title: Firefox 68 for developers
on GitHub

No new external URLs


URL: /en-US/docs/Web/Accessibility/ARIA/Roles/meter_role
Title: ARIA: meter role
on GitHub

No new external URLs


URL: /en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
Title: ARIA: slider role
on GitHub

No new external URLs


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

No new external URLs


URL: /en-US/docs/Web/CSS/Mozilla_Extensions
Title: Mozilla CSS extensions
on GitHub

No new external URLs


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

No new external URLs


URL: /en-US/docs/Web/CSS/color_value/color_keywords
Title: Color keywords
on GitHub

No new external URLs


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

No new external URLs

Copy link
Contributor

@teoli2003 teoli2003 left a comment

Choose a reason for hiding this comment

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

Thank you! Yes, the case changed from earlier specs and is now the same as other CSS keywords.

@teoli2003 teoli2003 merged commit 44ec880 into mdn:main May 23, 2022
@mems mems deleted the fix-currentcolor-case branch May 23, 2022 14:59
philipp-spiess added a commit to tailwindlabs/tailwindcss that referenced this pull request Apr 3, 2025
Replaces `currentColor` with `currentcolor` (lowercase) to match what's
defined in [CSS Color Module Level
4](https://www.w3.org/TR/css-color-4/#currentcolor-color) and
[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword)
(see: mdn/content#16592).

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
tongrow pushed a commit to tongrow/tailwind-normalize that referenced this pull request Jun 2, 2025
Replaces `currentColor` with `currentcolor` (lowercase) to match what's
defined in [CSS Color Module Level
4](https://www.w3.org/TR/css-color-4/#currentcolor-color) and
[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword)
(see: mdn/content#16592).

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
grievouz pushed a commit to grievouz/tailwindcss-preflight that referenced this pull request Feb 6, 2026
Replaces `currentColor` with `currentcolor` (lowercase) to match what's
defined in [CSS Color Module Level
4](https://www.w3.org/TR/css-color-4/#currentcolor-color) and
[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword)
(see: mdn/content#16592).

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
grievouz pushed a commit to grievouz/tailwindcss-preflight that referenced this pull request Feb 6, 2026
Replaces `currentColor` with `currentcolor` (lowercase) to match what's
defined in [CSS Color Module Level
4](https://www.w3.org/TR/css-color-4/#currentcolor-color) and
[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword)
(see: mdn/content#16592).

---------

Co-authored-by: Philipp Spiess <hello@philippspiess.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Accessibility Accessibility docs Content:CSS Cascading Style Sheets docs Content:Learn Learning area docs Content:Other Any docs not covered by another "Content:" label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants