⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 98387 in webkit


Ignore:
Timestamp:
Oct 25, 2011, 1:42:19 PM (15 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] DRT: Force layout when sending events.
https://bugs.webkit.org/show_bug.cgi?id=70357

Patch by Raphael Kubo da Costa <kubo@profusion.mobi> on 2011-10-25
Reviewed by Antonio Gomes.

Some tests such as editing/input/page-up-down-scrolls.html rely on the
scrollbars being properly set up during the onload events.
Document::implicitClose(), however, dispatches the onload events before
calling FrameView::layout(), so these tests usually fail.

We now do the same as the GTK+ and Chromium ports and manually force the
layout when dispatching events.

  • DumpRenderTree/efl/EventSender.cpp:

(sendMouseEvent):
(keyDownCallback):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r98377 r98387  
     12011-10-25  Raphael Kubo da Costa  <kubo@profusion.mobi>
     2
     3        [EFL] DRT: Force layout when sending events.
     4        https://bugs.webkit.org/show_bug.cgi?id=70357
     5
     6        Reviewed by Antonio Gomes.
     7
     8        Some tests such as editing/input/page-up-down-scrolls.html rely on the
     9        scrollbars being properly set up during the onload events.
     10        Document::implicitClose(), however, dispatches the onload events before
     11        calling FrameView::layout(), so these tests usually fail.
     12
     13        We now do the same as the GTK+ and Chromium ports and manually force the
     14        layout when dispatching events.
     15
     16        * DumpRenderTree/efl/EventSender.cpp:
     17        (sendMouseEvent):
     18        (keyDownCallback):
     19
    1202011-10-25  Daniel Bates  <dbates@rim.com>
    221
  • trunk/Tools/DumpRenderTree/efl/EventSender.cpp

    r97976 r98387  
    129129{
    130130    unsigned timeStamp = 0;
     131
     132    DumpRenderTreeSupportEfl::layoutFrame(browser->mainFrame());
    131133
    132134    setEvasModifiers(evas, modifiers);
     
    424426        keyName = cCharacter.data();
    425427
     428    DumpRenderTreeSupportEfl::layoutFrame(browser->mainFrame());
    426429    evas_event_feed_key_down(evas, keyName, keyName, keyName, 0, 0, 0);
    427430    evas_event_feed_key_up(evas, keyName, keyName, keyName, 0, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.