Skip to content

[rendering] Simplify some UA styles to use shorthands where appropriate#10181

Merged
annevk merged 1 commit intowhatwg:mainfrom
emilio:ua-style-shorthand
Mar 6, 2024
Merged

[rendering] Simplify some UA styles to use shorthands where appropriate#10181
annevk merged 1 commit intowhatwg:mainfrom
emilio:ua-style-shorthand

Conversation

@emilio
Copy link
Copy Markdown
Contributor

@emilio emilio commented Mar 6, 2024

No behavior change intended.


/infrastructure.html ( diff )
/rendering.html ( diff )

@emilio emilio requested review from annevk and zcorpan March 6, 2024 13:37
Copy link
Copy Markdown
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Nice!

Comment thread source Outdated
@emilio emilio force-pushed the ua-style-shorthand branch from c30bb12 to 67272ce Compare March 6, 2024 14:44
@annevk annevk merged commit 98282d5 into whatwg:main Mar 6, 2024
@emilio emilio deleted the ua-style-shorthand branch March 7, 2024 10:00
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 14, 2024
Also change to shorthands per whatwg/html#10181

Differential Revision: https://phabricator.services.mozilla.com/D203777

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1883896
gecko-commit: 5b75492ce9a7ea8539d2add87bcdb4585c474a9b
gecko-reviewers: emilio
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 15, 2024
moz-wptsync-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 15, 2024
Also change to shorthands per whatwg/html#10181

Differential Revision: https://phabricator.services.mozilla.com/D203777

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1883896
gecko-commit: 5b75492ce9a7ea8539d2add87bcdb4585c474a9b
gecko-reviewers: emilio
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Mar 17, 2024
BruceDai pushed a commit to BruceDai/wpt that referenced this pull request Mar 25, 2024
Also change to shorthands per whatwg/html#10181

Differential Revision: https://phabricator.services.mozilla.com/D203777

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1883896
gecko-commit: 5b75492ce9a7ea8539d2add87bcdb4585c474a9b
gecko-reviewers: emilio
webkit-commit-queue pushed a commit to Ahmad-S792/WebKit that referenced this pull request Mar 28, 2025
https://bugs.webkit.org/show_bug.cgi?id=290605
rdar://148076358

Reviewed by Tim Nguyen.

This patch is to use CSS `shorthands` where possible aligning with recent
Web Specification changes [1]:

[1] whatwg/html#10181

* Source/WebCore/css/html.css:
(p):
(blockquote):
(figure):
(hr):
(dialog):
(dialog:modal):
(h1):
(:is(article, aside, nav, section) h1):
(:is(article, aside, nav, section) :is(article, aside, nav, section) h1):
(:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1):
(:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1):
(:is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1):
(h2):
(h3):
(h4):
(h5):
(h6):
(ul, menu, dir):
(ol):
(:is(dir, dl, menu, ol, ul) :is(dir, dl, menu, ol, ul)):
(dl):
(legend):
(fieldset):
(input::-webkit-credentials-auto-fill-button):
(input::-webkit-contacts-auto-fill-button):
(input::-webkit-credit-card-auto-fill-button):
(input::-internal-loading-auto-fill-button):

Canonical link: https://commits.webkit.org/292814@main
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants