RESOLVED DUPLICATE of bug 39014 42111
[Chromium] "justify" alignment is not honored for complext script rendering in Linux
https://bugs.webkit.org/show_bug.cgi?id=42111
Summary [Chromium] "justify" alignment is not honored for complext script rendering i...
Xiaomei Ji
Reported 2010-07-12 14:11:57 PDT
Open the attached html page in chrome. Observe the text alignment. The css style in the html page is "text-align:justify". So, the text should be justified. Instead, the spaces is not evenly distributed and the text is not justified. In Chromium bug: http://code.google.com/p/chromium/issues/detail?id=48873
Attachments
test case (385 bytes, text/html)
2010-07-12 14:12 PDT, Xiaomei Ji
no flags
patch (4.30 KB, patch)
2010-07-12 16:43 PDT, Xiaomei Ji
no flags
patch (4.29 KB, patch)
2010-07-12 16:49 PDT, Xiaomei Ji
agl: review-
Xiaomei Ji
Comment 1 2010-07-12 14:12:28 PDT
Created attachment 61268 [details] test case
Xiaomei Ji
Comment 2 2010-07-12 16:43:55 PDT
Created attachment 61292 [details] patch Claire Ho who works on Android proposed this patch. Since the complex script handling of Andriod is pretty much similar to that in Chromium Linux, the patch should apply to Chromium Linux as well. On Claire's behalf, I am loading this patch for review. I did not add new test, after the patch, pixel test result of one existing test will change in Linux, and it needs rebaseline from canary.
WebKit Review Bot
Comment 3 2010-07-12 16:45:51 PDT
Attachment 61292 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebCore/platform/graphics/chromium/FontLinux.cpp:514: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] WebCore/platform/graphics/chromium/FontLinux.cpp:537: One space before end of line comments [whitespace/comments] [5] WebCore/platform/graphics/chromium/FontLinux.cpp:538: One space before end of line comments [whitespace/comments] [5] WebCore/platform/graphics/chromium/FontLinux.cpp:539: One space before end of line comments [whitespace/comments] [5] Total errors found: 4 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Xiaomei Ji
Comment 4 2010-07-12 16:49:04 PDT
Created attachment 61293 [details] patch Claire Ho who works on Android proposed this patch. Since the complex script handling of Andriod is pretty much similar to that in Chromium Linux, the patch should apply to Chromium Linux as well. On Claire's behalf, I am loading this patch for review. I did not add new test, after the patch, pixel test result of one existing test will change in Linux, and it needs rebaseline from canary.
Adam Langley
Comment 5 2010-07-12 16:57:54 PDT
Comment on attachment 61293 [details] patch Please patch in the patch from https://bugs.webkit.org/show_bug.cgi?id=39014 and see if that fixes the issue.
Xiaomei Ji
Comment 6 2010-07-27 15:34:06 PDT
*** This bug has been marked as a duplicate of bug 39014 ***
Note You need to log in before you can comment on or make changes to this bug.