Skip to content

New CSS property: rule - #44947

Merged
estelle merged 3 commits into
mdn:mainfrom
estelle:gaps-rule
Jul 30, 2026
Merged

New CSS property: rule#44947
estelle merged 3 commits into
mdn:mainfrom
estelle:gaps-rule

Conversation

@estelle

@estelle estelle commented Jul 28, 2026

Copy link
Copy Markdown
Member

This PR includes a the creation of one new reference pages

  • rule

The CSS gaps module page is already live. All the component properties of this shorthand property are either live or in PR about to be merged.

Part of openwebdocs/project#238

@estelle
estelle requested a review from a team as a code owner July 28, 2026 13:37
@estelle
estelle requested review from chrisdavidmills and dipikabh and removed request for a team July 28, 2026 13:37
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs size/m [PR only] 51-500 LoC changed labels Jul 28, 2026
@estelle estelle mentioned this pull request Jul 28, 2026
65 tasks
@github-actions

github-actions Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

Flaws (13)

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/CSS/Reference/Properties/rule
Title: rule CSS property
Flaw count: 13

  • macros:
    • Macro cssxref produces link /en-US/docs/Web/CSS/rule-color which doesn't resolve
    • Macro cssxref produces link /en-US/docs/Web/CSS/rule-style which doesn't resolve
    • Macro cssxref produces link /en-US/docs/Web/CSS/rule-width which doesn't resolve
    • Macro cssxref produces link /en-US/docs/Web/CSS/rule-width which doesn't resolve
    • Macro cssxref produces link /en-US/docs/Web/CSS/rule-style which doesn't resolve
    • and 8 more flaws omitted

(comment last updated: 2026-07-30 10:42:05)

@chrisdavidmills chrisdavidmills left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A few small bits on this one, but not much; nice work @estelle. I will approve, so you can merge when you are done.

Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
rule:
solid #0ff,
repeat(3, dashed magenta 1px, outset green 5px);
rule:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe provide one example with a value featuring a <gap-rule>, followed by a repeat() function, followed by another <gap-rule>? Just in case people think the repeat() function has to come last?

Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
Comment thread files/en-us/web/css/reference/properties/rule/index.md Outdated
@estelle
estelle merged commit f4d39e4 into mdn:main Jul 30, 2026
9 checks passed
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 size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants