WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
55183
Expand ruby base when it is shorter than the ruby text
https://bugs.webkit.org/show_bug.cgi?id=55183
Summary
Expand ruby base when it is shorter than the ruby text
mitz
Reported
2011-02-24 14:08:24 PST
As shown in <
http://www.w3.org/TR/jlreq/#fig2_3_22-en
> <
rdar://problem/8902740
>
Attachments
Justify and inset ruby base
(80.49 KB, patch)
2011-02-24 14:19 PST
,
mitz
hyatt
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
mitz
Comment 1
2011-02-24 14:19:37 PST
Created
attachment 83719
[details]
Justify and inset ruby base
Dave Hyatt
Comment 2
2011-02-24 14:38:50 PST
Comment on
attachment 83719
[details]
Justify and inset ruby base View in context:
https://bugs.webkit.org/attachment.cgi?id=83719&action=review
r=me
> Source/WebCore/rendering/RenderBlock.h:493 > + virtual ETextAlign alignmentForLine(bool endsWithSoftBreak) const;
I think the method name here sounds ambiguous. I'd prefer textAlignmentForLine so that nobody can confuse it with vertical-align.
mitz
Comment 3
2011-02-24 15:07:41 PST
Fixed in
r79629
.
http://trac.webkit.org/changeset/79629
James Robinson
Comment 4
2011-02-24 16:25:15 PST
This changed the result of a few ruby tests and I'm not sure if the new output is correct. For example on:
http://trac.webkit.org/export/79639/trunk/LayoutTests/fast/ruby/ruby-beforeafter.html
prior to this patch the "b" beneath "long text" was centered, but now it's rendering to the left. before:
http://svn.webkit.org/repository/webkit/trunk/LayoutTests/platform/mac/fast/ruby/ruby-beforeafter-expected.png
after:
http://build.chromium.org/f/chromium/layout_test_results/Webkit_Mac10_5/results/layout-test-results/fast/ruby/ruby-beforeafter-actual.png
is this a progression? there are about 15 tests that show this sort of change
James Robinson
Comment 5
2011-02-24 16:28:30 PST
Tab tells me that this behavior is UA-defined, but centered is recommended.
mitz
Comment 6
2011-02-24 16:51:42 PST
Thanks, I am going to re-center.
mitz
Comment 7
2011-02-24 16:57:56 PST
Filed
bug 55197
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