WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
84985
Counter still gets incremented when counter-increment is set to none
https://bugs.webkit.org/show_bug.cgi?id=84985
Summary
Counter still gets incremented when counter-increment is set to none
Yi Shen
Reported
2012-04-26 12:01:20 PDT
http://test.csswg.org/suites/css2.1/20110323/html4/counter-increment-053.htm
test fails. According to w3c spec (
http://www.w3.org/TR/CSS2/generate.html#propdef-counter-increment
), A value of 'none' on its own means no counters are reset, resp. incremented.
Attachments
First try
(7.67 KB, patch)
2012-04-26 12:46 PDT
,
Yi Shen
jchaffraix
: review-
Details
Formatted Diff
Diff
clear counter increment when its value is none
(7.50 KB, patch)
2013-03-21 16:09 PDT
,
Yi Shen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yi Shen
Comment 1
2012-04-26 12:46:11 PDT
Created
attachment 139048
[details]
First try
Brent Fulgham
Comment 2
2012-11-14 00:04:41 PST
Comment on
attachment 139048
[details]
First try This patch looks correct. Is there a reason it has not been reviewed? Does it violate some aspect of the counter specification?
Tony Chang
Comment 3
2012-11-14 10:57:27 PST
Elliott was in the counters code recently, maybe he would like to do an unofficial review?
Elliott Sprehn
Comment 4
2012-11-14 14:11:36 PST
I'll review later today, but looking quickly this doesn't seem right since you transform none into counter-increment: 0 for every counter which creates implicit scopes.
Yi Shen
Comment 5
2012-12-10 11:30:23 PST
Thanks for comments, guys. It is an old patch and I will rework on it. (In reply to
comment #4
)
> I'll review later today, but looking quickly this doesn't seem right since you transform none into counter-increment: 0 for every counter which creates implicit scopes.
Julien Chaffraix
Comment 6
2013-02-28 10:58:13 PST
Comment on
attachment 139048
[details]
First try Punting the patch out of the review queue based on Elliot's comment. If you come up with a new patch covering implicit scopes, I would be happy to look at it.
Yi Shen
Comment 7
2013-03-21 16:09:24 PDT
Created
attachment 194371
[details]
clear counter increment when its value is none
WebKit Commit Bot
Comment 8
2013-04-08 10:39:37 PDT
Comment on
attachment 194371
[details]
clear counter increment when its value is none Clearing flags on attachment: 194371 Committed
r147930
: <
http://trac.webkit.org/changeset/147930
>
WebKit Commit Bot
Comment 9
2013-04-08 10:39:40 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug