• dominik.rottsches@intel.com's avatar
    Fix incorrect indices for emphasis marks drawing in InlineTextBox::paint · ac9b8162
    dominik.rottsches@intel.com authored
    The assertion failure in HarfBuzzShaper is triggered because the TextRun
    passed to paintTextWithShadows is replaced with
    objectReplacementCharacterTextRun which only has a length of 1.
    Previously, we did not have an implementation of emphasis mark
    drawing for complex text with HarfBuzz, so instead of running into the
    assertion, those paint calls were not doing anything.  The indices have
    been wrong since the emphasis marks drawing for RenderCombineText
    elements was fixed in 7565e3bbdccf98450271 (in 2011).  I updated the
    test case to be equivalent to the original fuzz testing report and so
    that it actually combines text that is marked as combined where no
    font with narrow digits exists.
    
    BUG=348682
    
    Review URL: https://codereview.chromium.org/187783002
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@168592 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    ac9b8162
TestExpectations 67.4 KB