[Webkit-unassigned] [Bug 94410] fast/writing-mode/vertical-baseline-alignment.html has wrong expected png

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 05:27:10 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94410


Koji Ishii <kojiishi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[chromium]                  |fast/writing-mode/vertical-
                   |fast/writing-mode/vertical- |baseline-alignment.html has
                   |baseline-alignment.html has |wrong expected png
                   |wrong expected png          |
           Platform|Unspecified                 |All
         OS/Version|Unspecified                 |All
         Depends on|                            |51450




--- Comment #1 from Koji Ishii <kojiishi at gmail.com>  2012-08-27 05:27:12 PST ---
After discussed with fantasai, I removed [chromium] prefix from the summary.

It was found originally during the fix for bug 51450 where Chromium aligned Japanese text with English text using baseline, but then the expected image for Mac:
http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/fast/writing-mode/vertical-baseline-alignment-expected.png
turned out to be wrong in terms of "SHOULD NOT BE CENTERED" span should actually be centered according to the spec.

The current code has two issues:
1. It changes alignment by fonts; Chromium Win issue went away by applying "MS Gothic". The spec defines dominant baseline is central in vertical flow regardless of the font.
2. Even Latin inlines should be centered when dominant baseline is central. The expected image above is wrong in this regard.

#2 might look strange to Latin users, but Latin vertical flow should use text-orientation:sideways, which makes dominant baseline to alphabetic as per spec:
http://dev.w3.org/csswg/css3-writing-modes/#text-baselines

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list