Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Issue 1170603003: Drop trailing zeroes only for rightmost group for cjk-ideographic (Closed)

Created:
5 years, 6 months ago by rwlbuis
Modified:
5 years, 6 months ago
Reviewers:
tkent, kojii, Tab Atkins
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering, tkent
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Drop trailing zeroes only for rightmost group for cjk-ideographic Drop trailing zeroes only for rightmost group for cjk-ideographic list style type and add subtests for it to fast/lists/w3-list-styles.html. Also import relevant tests from css-counter-styles-3 spec [1]. Help with chinese numbering conventions was provided by Kai Sheng (k.sheng@partner.samsung.com). [1] https://github.com/w3c/csswg-test/tree/master/css-counter-styles-3/i18n BUG=344214 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197154

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Match FF behavior #

Patch Set 4 : Fix test #

Patch Set 5 : Really fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -33 lines) Patch
A LayoutTests/fast/lists/css3-counter-styles-081.html View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A LayoutTests/fast/lists/css3-counter-styles-081-expected.txt View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/fast/lists/css3-counter-styles-082.html View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/fast/lists/css3-counter-styles-082-expected.txt View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/lists/css3-counter-styles-083.html View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
A LayoutTests/fast/lists/css3-counter-styles-083-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A + LayoutTests/fast/lists/css3-counter-styles-084.html View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
A + LayoutTests/fast/lists/css3-counter-styles-084-expected.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A + LayoutTests/fast/lists/css3-counter-styles-085.html View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
A + LayoutTests/fast/lists/css3-counter-styles-085-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/lists/w3-css3-list-styles-fallback-style.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/lists/w3-css3-list-styles-fallback-style-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/lists/w3-list-styles.html View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M LayoutTests/fast/lists/w3-list-styles-expected.txt View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutListMarker.cpp View 1 2 3 4 2 chunks +21 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
rwlbuis
PTAL. Not sure who is the best reviewer for this...
5 years, 6 months ago (2015-06-05 23:50:00 UTC) #2
tkent
+kojii
5 years, 6 months ago (2015-06-10 22:17:19 UTC) #4
rwlbuis
On 2015/06/10 22:17:19, tkent wrote: > +kojii A comment from Tab on #blink: TabAtkins> rwlbuis: ...
5 years, 6 months ago (2015-06-10 23:11:54 UTC) #5
kojii
On 2015/06/10 at 23:11:54, rob.buis wrote: > On 2015/06/10 22:17:19, tkent wrote: > > +kojii ...
5 years, 6 months ago (2015-06-11 00:13:32 UTC) #6
rwlbuis
On 2015/06/11 00:13:32, kojii wrote: > On 2015/06/10 at 23:11:54, rob.buis wrote: > > On ...
5 years, 6 months ago (2015-06-11 14:13:37 UTC) #7
kojii
It's true that CJK numbering has some variations. The correctness and acceptance level could vary ...
5 years, 6 months ago (2015-06-11 17:11:43 UTC) #8
kojii
One more I found: * The w3-list-style-expected.txt says "101" is "一百零一" both before/after the patch.
5 years, 6 months ago (2015-06-11 17:16:07 UTC) #9
rwlbuis
On 2015/06/11 17:11:43, kojii wrote: > It's true that CJK numbering has some variations. The ...
5 years, 6 months ago (2015-06-15 19:39:04 UTC) #11
rwlbuis
PTAL.
5 years, 6 months ago (2015-06-15 19:42:38 UTC) #12
kojii
Again from purely test perspective and non-owner, but LGTM. It's great to see we now ...
5 years, 6 months ago (2015-06-16 01:24:34 UTC) #13
tkent
lgtm
5 years, 6 months ago (2015-06-16 01:56:06 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1170603003/100001
5 years, 6 months ago (2015-06-16 02:06:40 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001) as https://src.chromium.org/viewvc/blink?view=rev&revision=197154
5 years, 6 months ago (2015-06-16 03:15:02 UTC) #17
rwlbuis
On 2015/06/16 01:24:34, kojii wrote: > Again from purely test perspective and non-owner, but LGTM. ...
5 years, 6 months ago (2015-06-16 13:55:15 UTC) #18
kojii
On 2015/06/16 13:55:15, rwlbuis wrote: > On 2015/06/16 01:24:34, kojii wrote: > > Again from ...
5 years, 6 months ago (2015-06-16 14:44:50 UTC) #19
rwlbuis
5 years, 6 months ago (2015-06-17 23:36:02 UTC) #20
Message was sent while issue was closed.
On 2015/06/16 14:44:50, kojii wrote:
> On 2015/06/16 13:55:15, rwlbuis wrote:
> > On 2015/06/16 01:24:34, kojii wrote:
> > > Again from purely test perspective and non-owner, but LGTM.
> > > 
> > > It's great to see we now pass most (all?) of i18n WG tests and turn them
to
> > > green:
> > >
> >
>
http://www.w3.org/International/tests/repo/results/predefined-counter-styles#...
> > > 
> > > I'll ask Richard to re-test when this CL landed. Thank you for all the
> > efforts!
> > 
> > I'd be happy to add more of cjk to get more passes. Remember that we only
> > support
> > cjk-ideographic and korean-hangul-formal. So even though cjk-ideographic
> resorts
> > to
> > trad-chinese-formal we will not support the latter and the tests you linked
to
> > will all fail.
> > I think I'll do a follow up patch to support at least that, otherwise
Richard
> > maybe
> > will not see any improvement.
> 
> You're right, I thought cjk-ideographic is an alias to trad-chinese-informal,
> but it's so only in the spec, not in our impl yet...
> 
> If you're willing to continuously work on this area, the better option than
> asking Richard to re-test is to import the CSS WG tests, which has imported
all
> i18n tests:
> https://github.com/w3c/csswg-test/tree/master/css-counter-styles-3/i18n
> then fix failures incrementally. We don't have to maintain a copy of tests
then.
> 
> tkent and I can help if you're willing to do so. Does that sound good?

That sounds great, I started working on that.

Powered by Google App Engine
This is Rietveld 408576698