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

Move specificity and cascade under CSS cascade module #38125

Merged
merged 3 commits into from
Feb 12, 2025
Merged

Move specificity and cascade under CSS cascade module #38125

merged 3 commits into from
Feb 12, 2025

Conversation

estelle
Copy link
Member

@estelle estelle commented Feb 12, 2025

specificity is defined in CSS cascade and inheritance

@estelle estelle requested review from a team as code owners February 12, 2025 08:17
@estelle estelle requested review from chrisdavidmills and removed request for a team February 12, 2025 08:17
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs Content:Meta Content in the meta docs size/m [PR only] 51-500 LoC changed labels Feb 12, 2025
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Preview URLs (63 pages)
Flaws (158)

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

URL: /en-US/docs/Glossary/Semantics
Title: Semantics
Flaw count: 4

  • broken_links:
    • /en-US/docs/Web/HTML/Element/heading_elements is ill cased
    • /en-US/docs/Web/HTML/Element/heading_elements is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/HTML/Element/heading_elements which is a redirect
    • Macro produces link /en-US/docs/Web/HTML/Element/heading_elements which is a redirect

URL: /en-US/docs/Web/Performance/How_browsers_work
Title: Populating the page: how browsers work
Flaw count: 9

  • broken_links:
    • /en-US/docs/Glossary/Time_to_First_Byte is ill cased
    • /en-US/docs/Glossary/parse is ill cased
    • /en-US/docs/Glossary/Time_to_Interactive is ill cased
    • /en-US/docs/Glossary/First_Contentful_Paint is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/Time_to_First_Byte which is a redirect
    • Macro produces link /en-US/docs/Glossary/parse which is a redirect
    • Macro produces link /en-US/docs/Glossary/Time_to_Interactive which is a redirect
    • Macro produces link /en-US/docs/Glossary/First_Contentful_Paint which is a redirect
  • unknown:
    • fixed legacy url: Web/Performance -> /en-US/docs/Web/Performance

URL: /en-US/docs/Web/HTML/Element/table
Title: <table>: The Table element
Flaw count: 18

  • broken_links:
    • /en-US/docs/Glossary/enumerated is ill cased
    • /en-US/docs/Glossary/enumerated is ill cased
    • /en-US/docs/Glossary/enumerated is ill cased
    • /en-US/docs/Glossary/accessibility is ill cased
    • /en-US/docs/Glossary/markup is ill cased
    • and 4 more flaws omitted
  • macros:
    • Macro produces link /en-US/docs/Glossary/enumerated which is a redirect
    • Macro produces link /en-US/docs/Glossary/enumerated which is a redirect
    • Macro produces link /en-US/docs/Glossary/enumerated which is a redirect
    • Macro produces link /en-US/docs/Glossary/accessibility which is a redirect
    • Macro produces link /en-US/docs/Glossary/markup which is a redirect
    • and 4 more flaws omitted

URL: /en-US/docs/Web/CSS/position-area
Title: position-area
Flaw count: 6

  • broken_links:
    • /en-US/docs/Glossary/inset_properties is ill cased
    • /en-US/docs/Glossary/inset_properties is ill cased
    • /en-US/docs/Web/CSS/inheritance is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/inset_properties which is a redirect
    • Macro produces link /en-US/docs/Glossary/inset_properties which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/inheritance which is a redirect

URL: /en-US/docs/Web/CSS/resolved_value
Title: Resolved value
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/API/window/getComputedStyle is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/API/window/getComputedStyle which is a redirect

URL: /en-US/docs/Web/CSS/CSS_selectors/Selectors_and_combinators
Title: CSS selectors and combinators
Flaw count: 6

  • broken_links:
    • /en-US/docs/Web/HTML/Element/heading_elements is ill cased
    • /en-US/docs/Glossary/enumerated is ill cased
    • /en-US/docs/Web/CSS/pseudo-classes is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/HTML/Element/heading_elements which is a redirect
    • Macro produces link /en-US/docs/Glossary/enumerated which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/pseudo-classes which is a redirect

URL: /en-US/docs/Web/CSS/Reference
Title: CSS reference
Flaw count: 56

  • macros:
    • Macro produces link /en-US/docs/Web/CSS/-webkit-line-clamp which is a redirect
    • Can't resolve /en-US/docs/Web/CSS/:active-view-transition
    • Can't resolve /en-US/docs/Web/CSS/:active-view-transition-type()
    • Can't resolve /en-US/docs/Web/CSS/an-plus-b
    • Can't resolve /en-US/docs/Web/CSS/anchor-scope
    • and 51 more flaws omitted

URL: /en-US/docs/Web/CSS/actual_value
Title: Actual value
Flaw count: 4

  • broken_links:
    • /en-US/docs/Glossary/user_agent is ill cased
    • /en-US/docs/Glossary/user_agent is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect

URL: /en-US/docs/Web/CSS/computed_value
Title: Computed value
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/API/window/getComputedStyle is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/API/window/getComputedStyle which is a redirect

URL: /en-US/docs/Web/CSS/Layout_mode
Title: Layout mode
Flaw count: 1

  • broken_links:
    • /en-US/docs/Web/CSS/CSS_display/flow_layout is ill cased

URL: /en-US/docs/Web/CSS/CSS_syntax
Title: CSS syntax
Flaw count: 8

  • broken_links:
    • /en-US/docs/Web/CSS/at-rule is ill cased
    • /en-US/docs/Glossary/parse is ill cased
    • /en-US/docs/Glossary/stylesheet is ill cased
    • /en-US/docs/Glossary/whitespace is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/CSS/at-rule which is a redirect
    • Macro produces link /en-US/docs/Glossary/parse which is a redirect
    • Macro produces link /en-US/docs/Glossary/stylesheet which is a redirect
    • Macro produces link /en-US/docs/Glossary/whitespace which is a redirect

URL: /en-US/docs/Web/CSS/CSS_media_queries/Printing
Title: Printing
Flaw count: 4

  • broken_links:
    • /en-US/docs/Web/API/window/beforeprint_event is ill cased
    • /en-US/docs/Web/API/window/afterprint_event is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/API/window/beforeprint_event which is a redirect
    • Macro produces link /en-US/docs/Web/API/window/afterprint_event which is a redirect

URL: /en-US/docs/Web/CSS/forced-color-adjust
Title: forced-color-adjust
Flaw count: 8

  • broken_links:
    • /en-US/docs/Glossary/user_agent is ill cased
    • /en-US/docs/Glossary/user_agent is ill cased
    • /en-US/docs/Glossary/user_agent is ill cased
    • /en-US/docs/Web/CSS/inheritance is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/inheritance which is a redirect

URL: /en-US/docs/Web/CSS/:is
Title: :is()
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/HTML/Element/heading_elements is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/HTML/Element/heading_elements which is a redirect

URL: /en-US/docs/Web/CSS/CSS_cascade
Title: CSS cascading and inheritance
Flaw count: 2

  • broken_links:
    • /en-US/docs/Glossary/style_origin is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/style_origin which is a redirect

URL: /en-US/docs/Web/CSS/revert
Title: revert
Flaw count: 2

  • broken_links:
    • /en-US/docs/Glossary/style_origin is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/style_origin which is a redirect

URL: /en-US/docs/Web/CSS/all
Title: all
Flaw count: 2

  • broken_links:
    • /en-US/docs/Web/CSS/inheritance is ill cased
  • macros:
    • Macro produces link /en-US/docs/Web/CSS/inheritance which is a redirect

URL: /en-US/docs/Web/CSS/used_value
Title: Used value
Flaw count: 4

  • broken_links:
    • /en-US/docs/Glossary/user_agent is ill cased
    • /en-US/docs/Web/API/window/getComputedStyle is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
    • Macro produces link /en-US/docs/Web/API/window/getComputedStyle which is a redirect

URL: /en-US/docs/Web/CSS/Visual_formatting_model
Title: Visual formatting model
Flaw count: 5

  • broken_links:
    • /en-US/docs/Glossary/continuous_media is ill cased
    • /en-US/docs/Glossary/viewport is ill cased
    • /en-US/docs/Web/CSS/CSS_display/flow_layout is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/continuous_media which is a redirect
    • Macro produces link /en-US/docs/Glossary/viewport which is a redirect

URL: /en-US/docs/Web/CSS/Replaced_element
Title: Replaced elements
Flaw count: 2

  • broken_links:
    • /en-US/docs/Glossary/void_element is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/void_element which is a redirect

URL: /en-US/docs/Web/CSS/@starting-style
Title: @starting-style
Flaw count: 5

  • broken_links:
    • /en-US/docs/Glossary/top_layer is ill cased
    • /en-US/docs/Glossary/top_layer is ill cased
  • macros:
    • Macro produces link /en-US/docs/Glossary/top_layer which is a redirect
    • Macro produces link /en-US/docs/Glossary/top_layer which is a redirect
  • unknown:
    • Error: could not find syntax for this item

URL: /en-US/docs/Web/CSS/@scope
Title: @scope
Flaw count: 3

  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/scope-start
    • Can't resolve /en-US/docs/Web/CSS/scope-end
    • Can't resolve /en-US/docs/Web/CSS/block-contents

URL: /en-US/docs/Web/CSS/@layer
Title: @layer
Flaw count: 3

  • broken_links:
    • /en-US/docs/Glossary/user_agent is ill cased
    • Can't resolve /en-US/docs/Web/CSS/rule-list
  • macros:
    • Macro produces link /en-US/docs/Glossary/user_agent which is a redirect
External URLs (1)

URL: /en-US/docs/Web/API/Animation/commitStyles
Title: Animation: commitStyles() method

(comment last updated: 2025-02-12 23:01:32)

@estelle estelle requested review from a team as code owners February 12, 2025 08:20
@estelle estelle requested review from fred-wang, wbamberg and willdurand and removed request for a team February 12, 2025 08:20
@github-actions github-actions bot added Content:WebExt WebExtensions docs Content:WebAPI Web API docs Content:MathML MathML docs Content:Glossary Glossary entries Content:Performance Web performance docs labels Feb 12, 2025
@estelle estelle changed the title Move specificity under cascade Move specificity and cascade under CSS cascade module Feb 12, 2025
Copy link
Contributor

@fred-wang fred-wang left a comment

Choose a reason for hiding this comment

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

r=me for mdn/content-mathml

@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Feb 12, 2025
Copy link
Contributor

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

Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

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

This restructuring makes sense, and I think the changes look good. I just have an overarching concern with your choice of slug for the "Introducing the CSS Cascade" article.

/en-US/docs/Web/CSS/CSS_cascade/Cascade is a bit weird and confusing, and doesn't helpfully describe the article's purpose. I think /en-US/docs/Web/CSS/CSS_cascade/Introduction or /en-US/docs/Web/CSS/CSS_cascade/Introducing would be better. WDYT?

@estelle
Copy link
Member Author

estelle commented Feb 12, 2025

I just have an overarching concern with your choice of slug for the "Introducing the CSS Cascade" article.

These PRs are just to move content; I kept the original slug, just adding the directory.

Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

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

OK, approving. We can always improve the slug at a later date.

@github-actions github-actions bot removed the merge conflicts 🚧 [PR only] label Feb 12, 2025
@estelle estelle merged commit a29769d into main Feb 12, 2025
13 checks passed
@estelle estelle deleted the movespec branch February 12, 2025 23:02
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:Glossary Glossary entries Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs Content:MathML MathML docs Content:Meta Content in the meta docs Content:Performance Web performance docs Content:WebAPI Web API docs Content:WebExt WebExtensions docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants