Changeset 128691 in webkit
- Timestamp:
- Sep 15, 2012, 9:27:08 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r128689 r128691 1 2012-09-15 Dan Bernstein <mitz@apple.com> 2 3 REGRESSION (r125578): The Mac complex text code path disagrees with the fast path on word spacing 4 https://bugs.webkit.org/show_bug.cgi?id=96857 5 6 Reviewed by Anders Carlsson. 7 8 * fast/text/atsui-negative-spacing-features.html: Removed some newlines from this test, 9 because now that the complex text code path matches the fast path, it too suffers from a bug 10 where word spacing is not added at a newline. 11 * fast/text/atsui-spacing-features.html: Ditto. 12 * platform/mac/TestExpectations: Removed fast/css/word-spacing-characters-complex-text.html. 13 1 14 2012-09-15 Kent Tamura <tkent@chromium.org> 2 15 -
trunk/LayoutTests/fast/text/atsui-negative-spacing-features.html
r72239 r128691 27 27 <div class="word"> 28 28 <div class="test rtl"> 29 יְהִי, 30 אָחִי, 31 לְךָ 32 סֵפֶר 33 שְׁלַחְתִּיו 34 וּמִמְכֶּרֶת 35 צְמִיתוּת 36 לָךְ 37 מְכַרְתִּיו. 38 </div> 29 יְהִי, אָחִי, לְךָ סֵפֶר שְׁלַחְתִּיו וּמִמְכֶּרֶת צְמִיתוּת לָךְ מְכַרְתִּיו.</div> 39 30 <div class="test"> 40 31 Lorèm ipsum dolor sit amèt, consectetuer adipiscing èlit. -
trunk/LayoutTests/fast/text/atsui-spacing-features.html
r48921 r128691 29 29 <div class="word"> 30 30 <div class="test rtl"> 31 יְהִי, 32 אָחִי, 33 לְךָ 34 סֵפֶר 35 שְׁלַחְתִּיו 36 וּמִמְכֶּרֶת 37 צְמִיתוּת 38 לָךְ 39 מְכַרְתִּיו. 40 </div> 31 יְהִי, אָחִי, לְךָ סֵפֶר שְׁלַחְתִּיו וּמִמְכֶּרֶת צְמִיתוּת לָךְ מְכַרְתִּיו.</div> 41 32 <div class="test"> 42 33 Lorèm ipsum dolor sit amèt, consectetuer adipiscing èlit. -
trunk/LayoutTests/platform/mac/TestExpectations
r128540 r128691 323 323 // Added by bug 89826 324 324 BUGWK94008 : fast/css/word-spacing-characters.html = IMAGE 325 BUGWK94003 : fast/css/word-spacing-characters-complex-text.html = IMAGE326 325 327 326 // (r125790): Newly added test inspector/timeline/timeline-decode-resize.html is failing on mac -
trunk/Source/WebCore/ChangeLog
r128687 r128691 1 2012-09-15 Dan Bernstein <mitz@apple.com> 2 3 REGRESSION (r125578): The Mac complex text code path disagrees with the fast path on word spacing 4 https://bugs.webkit.org/show_bug.cgi?id=96857 5 6 Reviewed by Anders Carlsson. 7 8 Fixes the following tests when run with run-webkit-tests --complex-text: 9 css2.1/20110323/c541-word-sp-001.htm 10 css2.1/20110323/word-spacing-remove-space-002.htm 11 css2.1/20110323/word-spacing-remove-space-003.htm 12 css2.1/20110323/word-spacing-remove-space-004.htm 13 css2.1/20110323/word-spacing-remove-space-005.htm 14 css2.1/20110323/word-spacing-remove-space-006.htm 15 16 Fixes fast/css/word-spacing-characters-complex-text.html 17 18 * platform/graphics/mac/ComplexTextController.cpp: 19 (WebCore::ComplexTextController::adjustGlyphsAndAdvances): Made the conditions for adding 20 word spacing match the ones in WidthIterator again. 21 1 22 2012-09-15 Kent Tamura <tkent@chromium.org> 2 23 -
trunk/Source/WebCore/platform/graphics/mac/ComplexTextController.cpp
r127801 r128691 636 636 637 637 // Account for word-spacing. 638 if ( treatAsSpace && characterIndex > 0 && !Font::treatAsSpace(m_run[characterIndex - 1]) && m_font.wordSpacing())638 if ((ch == noBreakSpace || ch == ' ') && (characterIndex > 0 || r > 0) && m_font.wordSpacing()) 639 639 advance.width += m_font.wordSpacing(); 640 640 } else
Note:
See TracChangeset
for help on using the changeset viewer.