Bug 11035 - Scope problem with counters
Summary: Scope problem with counters
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://dbaron.org/css2.1/tests/import...
Keywords: InRadar
Depends on: 4980
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-25 14:51 PDT by Beth Dakin
Modified: 2022-06-21 13:42 PDT (History)
9 users (show)

See Also:


Attachments
Test case (3.63 KB, text/html)
2006-09-25 14:51 PDT, Beth Dakin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2006-09-25 14:51:18 PDT
The attached test case does not render properly. To see the bug, counters need
to be implemented (http://bugzilla.opendarwin.org/show_bug.cgi?id=4980), but I
have not yet committed that patch, so this bug is not yet present in the
nightlies. I am filing it anyway in anticipation.
Comment 1 Beth Dakin 2006-09-25 14:51:37 PDT
Created attachment 10772 [details]
Test case
Comment 2 Beth Dakin 2006-09-25 14:52:35 PDT
There are a few other "scope" test cases at http://dbaron.org/css2.1/tests/imported-20050702/
Looks like they may all have the same root problem.
Comment 3 Robert Blaut 2009-01-02 05:06:44 PST
The reported test case is properly rendered in WebKit r39524. 
Comment 4 Ahmad Saleem 2022-06-21 13:30:32 PDT
I am not able to reproduce this bug in Safari 15.5 on macOS 12.4 based on attached text case, which is changed to following JSFiddle since it was opening as TXT:

Link - https://jsfiddle.net/cf84ryst/show

It is matching with other browsers like Chrome Canary 105 and Firefox Nightly 103.

While based on Comment 02, following test cases are broken:

--> Broken in Safari, Firefox and Chrome (matching with each other but not with expected results):


https://dbaron.org/css2.1/tests/imported-20050702/t1202-counter-04-b.xht
https://dbaron.org/css2.1/tests/imported-20050702/t1202-counter-10-b.xht
https://dbaron.org/css2.1/tests/imported-20050702/t1202-counters-04-b.xht
https://dbaron.org/css2.1/tests/imported-20050702/t1202-counters-10-b.xht

--> Broken in Safari and Firefox (matching with each other but not with expected results):

https://dbaron.org/css2.1/tests/imported-20050702/t1204-reset-00-c-o.xht

Thanks!
Comment 5 Ryosuke Niwa 2022-06-21 13:39:54 PDT
I think the failure on https://dbaron.org/css2.1/tests/imported-20050702/t1204-reset-00-c-o.xht is a legitimate bug so let's keep it open.

Thanks for testing!
Comment 6 Radar WebKit Bug Importer 2022-06-21 13:42:00 PDT
<rdar://problem/95631561>