Skip to content
  • mitz@apple.com's avatar
    WebCore: Complete the fix for hit-testing and selection highlighting in ligatures for the ATSUI · 8f64980d
    mitz@apple.com authored
    code path.
    
    Reviewed by Sam Weinig.
    
    * platform/graphics/mac/ComplexTextController.h: Added m_ltr member to ComplexTextRun.
    * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
    (WebCore::ComplexTextController::ComplexTextRun::overrideLayoutOperation): Skip over deleted
    glyphs, but update indexes and advances correctly.
    (WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun): Initialize m_ltr.
    
    LayoutTests: Updated a test to account for font metric differences between Mac OS X versions. Removed
    Leopard-specific results for another test now that Leopard matches current behavior.
    
    Reviewed by Sam Weinig.
    
    * platform/mac-leopard/fast/text/atsui-multiple-renderers-expected.checksum: Removed.
    * platform/mac-leopard/fast/text/atsui-multiple-renderers-expected.png: Removed.
    * platform/mac-leopard/fast/text/atsui-multiple-renderers-expected.txt: Removed.
    * platform/mac/fast/text/ligature-subdivision-expected.txt:
    * platform/mac/fast/text/script-tests/ligature-subdivision.js:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8f64980d