content icon indicating copy to clipboard operation
content copied to clipboard

Reorganize the hwb() page

Open teoli2003 opened this issue 3 years ago • 1 comments
trafficstars

This PR is part of openwebdocs/project#92.

The idea here is to simplify the page:

  • Reorganize the different syntaxes in one block as we do elsewhere on MDN. In one glance, all the possible syntaxes are visible.
  • Get rid of mentions of CSS Color Level4: the developer only needs to know if this is supported or not
  • Describe each parameter separately.
  • Add an example

Note that the spec and browser compat sections, although defined correctly, are only partially displayed until https://github.com/mdn/browser-compat-data/issues/15646 is resolved. (This is also the cause of the flaw reported by our Preview URLs bot)

teoli2003 avatar Apr 06 '22 14:04 teoli2003

Preview URLs

Flaws (1)

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

  • macros:
    • /en-US/docs/Glossary/sRGB does not exist

(comment last updated: 2023-03-29 19:52:37)

github-actions[bot] avatar Apr 06 '22 14:04 github-actions[bot]

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

github-actions[bot] avatar May 08 '23 07:05 github-actions[bot]

Hi @teoli2003 does this one still apply after the following changes:

  • https://github.com/mdn/content/pull/26775
  • https://github.com/mdn/content/pull/26448

bsmth avatar Jun 15 '23 09:06 bsmth

Because of the amount of merge conflict, it would be best to close this and reopen a new PR if necessary.

Josh-Cena avatar Jun 24 '23 12:06 Josh-Cena