| Summary: | fast/text/ruby-justification-flush.html fails on safari-600.6-branch | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andy Estes <aestes> | ||||||
| Component: | Text | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | mmaxfield | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Mac | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | 141732 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Andy Estes
2015-04-27 17:04:05 PDT
Created attachment 251789 [details]
ruby-justification-flush-diff
Marked as ImageOnlyFailure in http://trac.webkit.org/changeset/183437 Created attachment 251889 [details]
Patch
Comment on attachment 251889 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251889&action=review r=me if you remove the code change. Thanks! > Source/WebCore/rendering/RenderBlockLineLayout.cpp:767 > - opportunitiesInRun = Font::expansionOpportunityCount(renderText.characters8() + r->m_start, r->m_stop - r->m_start, r->box()->direction(), isAfterExpansion); > + opportunitiesInRun = Font::expansionOpportunityCount(renderText.characters8(), renderText.textLength(), r->box()->direction(), isAfterExpansion); > else > - opportunitiesInRun = Font::expansionOpportunityCount(renderText.characters16() + r->m_start, r->m_stop - r->m_start, r->box()->direction(), isAfterExpansion); > + opportunitiesInRun = Font::expansionOpportunityCount(renderText.characters16(), renderText.textLength(), r->box()->direction(), isAfterExpansion); I'd create a separate bug for this, since it isn't necessary to fix the layout test, and we're not yet sure whether we want it in safari-600.6-branch. Does this test need updating on trunk, too? (In reply to comment #5) > Does this test need updating on trunk, too? Nope! This ruby stuff is pretty different on trunk. |