Re: [webkit-dev] testing strategy? - CJK line breaking tests

2012-09-04 Thread Glenn Adams
On Tue, Sep 4, 2012 at 11:26 PM, Dan Bernstein wrote: > On Sep 4, 2012, at 5:50 AM, Glenn Adams wrote: > > Alternatively, you can compute the with of each character with script >> (without adding any new feature to WebKit). >> > > Unfortunately, that won't work since I can't access the width of

Re: [webkit-dev] testing strategy? - CJK line breaking tests

2012-09-04 Thread Dan Bernstein
On Sep 4, 2012, at 5:50 AM, Glenn Adams wrote: >> >> Alternatively, you can compute the with of each character with script >> (without adding any new feature to WebKit). > > Unfortunately, that won't work since I can't access the width of individual > lines produced by formatting a block.

Re: [webkit-dev] testing strategy? - CJK line breaking tests

2012-09-04 Thread Glenn Adams
On Tue, Sep 4, 2012 at 8:30 PM, Ryosuke Niwa wrote: > Can we use ref tests? I'll try this first. > > Alternatively, you can compute the with of each character with script > (without adding any new feature to WebKit). > Unfortunately, that won't work since I can't access the width of individu

Re: [webkit-dev] testing strategy? - CJK line breaking tests

2012-09-04 Thread Ryosuke Niwa
Can we use ref tests? Alternatively, you can compute the with of each character with script (without adding any new feature to WebKit). If neither is possible, then you should use (1) unless the test tests a platform specific feature; I.e. the feature isnt available on other platforms. (3) seems

[webkit-dev] testing strategy? - CJK line breaking tests

2012-09-04 Thread Glenn Adams
What is the recommended approach to test cases when one needs to use a CJK font that covers the test data? I could use DRT text results as expected but given lack of common font across platforms, that doesn't seem to be effective. >From my somewhat limited (i.e., newbie) exposure to WK, I gather o