Changeset 117116 in webkit


Ignore:
Timestamp:
May 15, 2012 12:25:23 PM (12 years ago)
Author:
mitz@apple.com
Message:

Ruby annotation is incorrectly identified as a paragraph boundary
https://bugs.webkit.org/show_bug.cgi?id=86507

Reviewed by Darin Adler.

Source/WebCore:

Test: editing/selection/paragraph-with-ruby.html

  • editing/htmlediting.cpp:

(WebCore::isBlock): Changed to return false for ruby text.

LayoutTests:

  • editing/selection/paragraph-with-ruby-expected.txt: Added.
  • editing/selection/paragraph-with-ruby.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r117102 r117116  
     12012-05-15  Dan Bernstein  <mitz@apple.com>
     2
     3        Ruby annotation is incorrectly identified as a paragraph boundary
     4        https://bugs.webkit.org/show_bug.cgi?id=86507
     5
     6        Reviewed by Darin Adler.
     7
     8        * editing/selection/paragraph-with-ruby-expected.txt: Added.
     9        * editing/selection/paragraph-with-ruby.html: Added.
     10
    1112012-05-15  Tommy Widenflycht  <tommyw@google.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r117114 r117116  
     12012-05-15  Dan Bernstein  <mitz@apple.com>
     2
     3        Ruby annotation is incorrectly identified as a paragraph boundary
     4        https://bugs.webkit.org/show_bug.cgi?id=86507
     5
     6        Reviewed by Darin Adler.
     7
     8        Test: editing/selection/paragraph-with-ruby.html
     9
     10        * editing/htmlediting.cpp:
     11        (WebCore::isBlock): Changed to return false for ruby text.
     12
    1132012-05-15  Philippe Normand  <pnormand@igalia.com>
    214
  • trunk/Source/WebCore/editing/htmlediting.cpp

    r117041 r117116  
    300300bool isBlock(const Node* node)
    301301{
    302     return node && node->renderer() && !node->renderer()->isInline();
     302    return node && node->renderer() && !node->renderer()->isInline() && !node->renderer()->isRubyText();
    303303}
    304304
Note: See TracChangeset for help on using the changeset viewer.