Bug 89294 - CSSRule does not have NAMESPACE_RULE property defined, conflicts with WEBKIT_REGION_RULE
Summary: CSSRule does not have NAMESPACE_RULE property defined, conflicts with WEBKIT_...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.7
: P2 Minor
Assignee: Nobody
URL: http://test.csswg.org/shepherd/testca...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-16 17:41 PDT by Tish
Modified: 2022-07-24 12:12 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tish 2012-06-16 17:41:15 PDT
http://www.w3.org/TR/cssom/#the-cssrule-interface

  const unsigned short NAMESPACE_RULE = 10;


The test case in Shepherd shows that Webkit browsers don't have the property NAMESPACE_RULE
Comment 1 Alexey Proskuryakov 2012-06-17 08:53:23 PDT
Furthermore, we have WEBKIT_REGION_RULE with value 10 now.
Comment 2 Theresa O'Connor 2012-06-18 10:39:46 PDT
How does WEBKIT_REGION_RULE relate to REGION_STYLE_RULE?

See also: http://wiki.csswg.org/spec/cssom-constants
Comment 3 Alan Stearns 2012-06-18 16:48:50 PDT
WEBKIT_REGION_RULE is REGION_STYLE_RULE which should be 16, as Ed's cssom-constants link specifies.
Comment 4 Mihnea Ovidenie 2012-06-19 00:46:27 PDT
I have created the WebKit bug https://bugs.webkit.org/show_bug.cgi?id=89421 for the value change of WEBKIT_REGION_RULE from 10 to 16.
Comment 5 Ahmad Saleem 2022-07-24 07:06:00 PDT
I am not sure whether anything further is required but Safari 15.6 on macOS 12.5 do pass all 7 tests:

Link - http://test.csswg.org/shepherd/repository/b5702ea054bc323792c6c9db062224c05499ae85/cssom-1/cssstylerule.html

Matching all other browsers (Chrome Canary 106 and Firefox Nightly 104). Is something else needed here? Thanks!
Comment 6 Alexey Proskuryakov 2022-07-24 12:12:05 PDT
> CSSRule.NAMESPACE_RULE
< 10
> CSSRule.WEBKIT_REGION_RULE
< undefined