Changeset 182137 in webkit


Ignore:
Timestamp:
Mar 30, 2015 5:41:02 AM (9 years ago)
Author:
commit-queue@webkit.org
Message:

Source/WebCore:
Add support for deleting emoji on GTK
https://bugs.webkit.org/show_bug.cgi?id=141419

Patch by Marcos Chavarría Teijeiro <chavarria1991@gmail.com> on 2015-03-30
Reviewed by Gustavo Noronha Silva.

The code for deleting special group of characters was specific for
COCOA and EFL platforms. The fix consists on add GTK to the #if
preprocessor directive.

  • rendering/RenderText.cpp:

(WebCore::RenderText::previousOffsetForBackwardDeletion):

LayoutTests:
Update expectations for delete-emoji test since the bug is fixed now.
https://bugs.webkit.org/show_bug.cgi?id=141419

Patch by Marcos Chavarría Teijeiro <chavarria1991@gmail.com> on 2015-03-30
Reviewed by Gustavo Noronha Silva.

  • platform/gtk/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r182130 r182137  
     12015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
     2
     3        Update expectations for delete-emoji test since the bug is fixed now.
     4        https://bugs.webkit.org/show_bug.cgi?id=141419
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * platform/gtk/TestExpectations:
     9
    1102015-03-29  Benjamin Poulain  <benjamin@webkit.org>
    211
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r182002 r182137  
    541541
    542542webkit.org/b/141423 css3/calc/line-height.html [ Failure ]
    543 webkit.org/b/141419 editing/deleting/delete-emoji.html [ Failure ]
    544543webkit.org/b/141423 editing/pasteboard/simplfiying-markup-should-not-strip-content.html [ Failure ]
    545544webkit.org/b/141423 fast/css/font-shorthand-from-longhands.html [ Failure ]
  • trunk/Source/WebCore/ChangeLog

    r182134 r182137  
     12015-03-30  Marcos Chavarría Teijeiro  <chavarria1991@gmail.com>
     2
     3        Add support for deleting emoji on GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=141419
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        The code for deleting special group of characters was specific for
     9        COCOA and EFL platforms. The fix consists on add GTK to the #if
     10        preprocessor directive.
     11
     12        * rendering/RenderText.cpp:
     13        (WebCore::RenderText::previousOffsetForBackwardDeletion):
     14
    1152015-03-30  Benjamin Poulain  <benjamin@webkit.org>
    216
  • trunk/Source/WebCore/rendering/RenderText.cpp

    r181505 r182137  
    14021402}
    14031403
    1404 #if PLATFORM(COCOA) || PLATFORM(EFL)
     1404#if PLATFORM(COCOA) || PLATFORM(EFL) || PLATFORM(GTK)
    14051405
    14061406#define HANGUL_CHOSEONG_START (0x1100)
     
    14441444int RenderText::previousOffsetForBackwardDeletion(int current) const
    14451445{
    1446 #if PLATFORM(COCOA) || PLATFORM(EFL)
     1446#if PLATFORM(COCOA) || PLATFORM(EFL) || PLATFORM(GTK)
    14471447    ASSERT(m_text);
    14481448    StringImpl& text = *m_text.impl();
Note: See TracChangeset for help on using the changeset viewer.