Changeset 98022 in webkit


Ignore:
Timestamp:
Oct 20, 2011 2:27:54 PM (13 years ago)
Author:
mitz@apple.com
Message:

Flipped-blocks writing mode blocks do not hit test their overflow
https://bugs.webkit.org/show_bug.cgi?id=70546

Reviewed by Sam Weinig.

Source/WebCore:

Test: fast/writing-mode/flipped-blocks-hit-test-overflow.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::nodeAtPoint): Flip the overflow rect if necessary.

LayoutTests:

  • fast/writing-mode/flipped-blocks-hit-test-overflow-expected.txt: Added.
  • fast/writing-mode/flipped-blocks-hit-test-overflow.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r98021 r98022  
     12011-10-20  Dan Bernstein  <mitz@apple.com>
     2
     3        Flipped-blocks writing mode blocks do not hit test their overflow
     4        https://bugs.webkit.org/show_bug.cgi?id=70546
     5
     6        Reviewed by Sam Weinig.
     7
     8        * fast/writing-mode/flipped-blocks-hit-test-overflow-expected.txt: Added.
     9        * fast/writing-mode/flipped-blocks-hit-test-overflow.html: Added.
     10
    1112011-10-20  David Hyatt  <hyatt@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r98021 r98022  
     12011-10-20  Dan Bernstein  <mitz@apple.com>
     2
     3        Flipped-blocks writing mode blocks do not hit test their overflow
     4        https://bugs.webkit.org/show_bug.cgi?id=70546
     5
     6        Reviewed by Sam Weinig.
     7
     8        Test: fast/writing-mode/flipped-blocks-hit-test-overflow.html
     9
     10        * rendering/RenderBlock.cpp:
     11        (WebCore::RenderBlock::nodeAtPoint): Flip the overflow rect if necessary.
     12
    1132011-10-20  David Hyatt  <hyatt@apple.com>
    214
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r98010 r98022  
    41144114        // Check if we need to do anything at all.
    41154115        LayoutRect overflowBox = visualOverflowRect();
     4116        flipForWritingMode(overflowBox);
    41164117        overflowBox.moveBy(adjustedLocation);
    41174118        if (!overflowBox.intersects(result.rectForPoint(pointInContainer)))
Note: See TracChangeset for help on using the changeset viewer.