Summary: | Incorrect layout for blocks containing ideographs with -webkit-linebox-contain: glyphs, font, inline-box | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Enrica Casucci <enrica> | ||||||
Component: | Layout and Rendering | Assignee: | Enrica Casucci <enrica> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, hyatt | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Enrica Casucci
2013-05-01 10:26:39 PDT
Created attachment 200219 [details]
Test case
I discussed this problem with Hyatt and he figured out where the bug is. In RootInlineBox::ascentAndDescentForBox there are cases where we compute ascent and descent without passing the baseline type which causes an incorrect computation in case of ideographs. Created attachment 200223 [details]
Patch
Comment on attachment 200223 [details]
Patch
r=me
Committed revision 149450. |