Bug 249560 - CSSRule.type should not return values greater than 15
Summary: CSSRule.type should not return values greater than 15
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-18 13:29 PST by Antti Koivisto
Modified: 2022-12-20 07:09 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2022-12-18 13:29:38 PST
It is deprecated and all newer rule types should return 0.

"This enumeration is thus frozen in its current state, and no new new values will be added to reflect additional at-rules; all at-rules beyond the ones listed above will return 0."

https://w3c.github.io/csswg-drafts/cssom/#the-cssrule-interface
Comment 1 Radar WebKit Bug Importer 2022-12-19 14:33:23 PST
<rdar://problem/103531316>
Comment 2 Antti Koivisto 2022-12-19 14:41:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/7874
Comment 3 EWS 2022-12-20 00:18:26 PST
Committed 258128@main (f34b82d5e7cb): <https://commits.webkit.org/258128@main>

Reviewed commits have been landed. Closing PR #7874 and removing active labels.
Comment 4 Karl Rackler 2022-12-20 06:05:19 PST
Reverted by https://github.com/WebKit/WebKit/pull/7909
Comment 5 EWS 2022-12-20 06:12:21 PST
Committed 258132@main (ef048420b599): <https://commits.webkit.org/258132@main>

Reviewed commits have been landed. Closing PR #7910 and removing active labels.
Comment 6 Karl Rackler 2022-12-20 07:06:09 PST
Reverted by https://github.com/WebKit/WebKit/pull/7912
Comment 7 EWS 2022-12-20 07:09:41 PST
Committed 258135@main (b961cddcf858): <https://commits.webkit.org/258135@main>

Reviewed commits have been landed. Closing PR #7912 and removing active labels.