| Differences between
and this patch
- a/Source/WebCore/ChangeLog +43 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2012-04-25  Kent Tamura  <tkent@chromium.org>
2
3
        Make calendar pickers testable
4
        https://bugs.webkit.org/show_bug.cgi?id=84827
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        WebCore:
9
        - Add PagePopupDriver, an interface to open/close a PagePopup.
10
        - Add setPagePopupDriver() to ChromeClient in order to inject a
11
        PagePopupDriver for testing.
12
13
        Internals:
14
        Make Internals a PagePopupDriver. It cretes a MockPagePopup, and the
15
        MockPagePopup creates a normal <iframe> in the top-level document, and
16
        load the popup content on it.
17
18
        Test: fast/forms/date/calendar-picker-appearance.html
19
20
        * WebCore.gypi:
21
        * loader/EmptyClients.h:
22
        * page/ChromeClient.h:
23
        (ChromeClient):
24
        * page/PagePopupDriver.h: Added.
25
        (PagePopupDriver):
26
        (WebCore::PagePopupDriver::~PagePopupDriver):
27
28
        * testing/Internals.cpp:
29
        (WebCore::Internals::reset):
30
        Sets this Internals object as a PagePopupDriver.
31
        (WebCore::Internals::openPagePopup):
32
        Creates MockPagePopup, and returns it.
33
        (WebCore::Internals::closePagePopup):
34
        Removes the specified MockPagePopup.
35
        * testing/Internals.h:
36
        (Internals): Internals implements PagePopupDriver.
37
        * testing/MockPagePopup.cpp: Added.
38
        (WebCore::MockPagePopup::MockPagePopup):
39
        Creates an <iframe>, and load popup content document on it.
40
        (WebCore::MockPagePopup::create): Calls the constructor.
41
        (WebCore::MockPagePopup::~MockPagePopup): Detach the <iframe>
42
        * testing/MockPagePopup.h: Added.
43
1
2012-04-24  Simon Fraser  <simon.fraser@apple.com>
44
2012-04-24  Simon Fraser  <simon.fraser@apple.com>
2
45
3
        Add a logging channel and some ouput for compositing
46
        Add a logging channel and some ouput for compositing
- a/Source/WebKit/chromium/ChangeLog +22 lines
Lines 1-3 a/Source/WebKit/chromium/ChangeLog_sec1
1
2012-04-25  Kent Tamura  <tkent@chromium.org>
2
3
        Make calendar pickers testable
4
        https://bugs.webkit.org/show_bug.cgi?id=84827
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * src/ChromeClientImpl.cpp:
9
        (WebKit::ChromeClientImpl::ChromeClientImpl):
10
        Initialize m_pagePopupDriver with the WebViewImpl.
11
        (WebKit::ChromeClientImpl::openPagePopup):
12
        Just calls PagePoupDriver::openPagePopup().
13
        (WebKit::ChromeClientImpl::closePagePopup):
14
        Just calls PagePoupDriver::closePagePopup().
15
        (WebKit::ChromeClientImpl::setPagePopupDriver):
16
        * src/ChromeClientImpl.h:
17
        (ChromeClientImpl): Add setPagePopupDriver
18
        * src/WebViewImpl.h:
19
        (WebViewImpl):
20
        WebViewImpl implements PagePopupDriver.  openPagePopup() and
21
        closePagePopup() override members of PagePopupDriver.
22
1
2012-04-24  Dana Jansens  <danakj@chromium.org>
23
2012-04-24  Dana Jansens  <danakj@chromium.org>
2
24
3
        [chromium] Unbounded draws should use clip to limit their damage to opaque tracking
25
        [chromium] Unbounded draws should use clip to limit their damage to opaque tracking
- a/Source/WebCore/WebCore.gypi +3 lines
Lines 243-248 a/Source/WebCore/WebCore.gypi_sec1
243
            'page/PageGroup.h',
243
            'page/PageGroup.h',
244
            'page/PagePopup.h',
244
            'page/PagePopup.h',
245
            'page/PagePopupClient.h',
245
            'page/PagePopupClient.h',
246
            'page/PagePopupDriver.h',
246
            'page/PageSerializer.h',
247
            'page/PageSerializer.h',
247
            'page/PageVisibilityState.h',
248
            'page/PageVisibilityState.h',
248
            'page/PrintContext.h',
249
            'page/PrintContext.h',
Lines 6248-6253 a/Source/WebCore/WebCore.gypi_sec2
6248
            'testing/Internals.h',
6249
            'testing/Internals.h',
6249
            'testing/InternalSettings.cpp',
6250
            'testing/InternalSettings.cpp',
6250
            'testing/InternalSettings.h',
6251
            'testing/InternalSettings.h',
6252
            'testing/MockPagePopup.cpp',
6253
            'testing/MockPagePopup.h',
6251
        ],
6254
        ],
6252
        'webcore_resource_files': [
6255
        'webcore_resource_files': [
6253
            'English.lproj/Localizable.strings',
6256
            'English.lproj/Localizable.strings',
- a/Source/WebCore/loader/EmptyClients.h +1 lines
Lines 155-160 public: a/Source/WebCore/loader/EmptyClients.h_sec1
155
#if ENABLE(PAGE_POPUP)
155
#if ENABLE(PAGE_POPUP)
156
    virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE { return 0; }
156
    virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect&) OVERRIDE { return 0; }
157
    virtual void closePagePopup(PagePopup*) OVERRIDE { }
157
    virtual void closePagePopup(PagePopup*) OVERRIDE { }
158
    virtual void setPagePopupDriver(PagePopupDriver*) OVERRIDE { }
158
#endif
159
#endif
159
160
160
#if ENABLE(REGISTER_PROTOCOL_HANDLER)
161
#if ENABLE(REGISTER_PROTOCOL_HANDLER)
- a/Source/WebCore/page/ChromeClient.h +2 lines
Lines 61-66 namespace WebCore { a/Source/WebCore/page/ChromeClient.h_sec1
61
    class Page;
61
    class Page;
62
    class PagePopup;
62
    class PagePopup;
63
    class PagePopupClient;
63
    class PagePopupClient;
64
    class PagePopupDriver;
64
    class PopupMenuClient;
65
    class PopupMenuClient;
65
    class SecurityOrigin;
66
    class SecurityOrigin;
66
    class GraphicsContext3D;
67
    class GraphicsContext3D;
Lines 307-312 namespace WebCore { a/Source/WebCore/page/ChromeClient.h_sec2
307
        // The return value can be 0.
308
        // The return value can be 0.
308
        virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) = 0;
309
        virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) = 0;
309
        virtual void closePagePopup(PagePopup*) = 0;
310
        virtual void closePagePopup(PagePopup*) = 0;
311
        virtual void setPagePopupDriver(PagePopupDriver*) = 0;
310
#endif
312
#endif
311
        // This function is called whenever a text field <input> is
313
        // This function is called whenever a text field <input> is
312
        // created. The implementation should return true if it wants
314
        // created. The implementation should return true if it wants
- a/Source/WebCore/page/PagePopupDriver.h +48 lines
Line 0 a/Source/WebCore/page/PagePopupDriver.h_sec1
1
/*
2
 * Copyright (C) 2012 Google Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions are
6
 * met:
7
 *
8
 *     * Redistributions of source code must retain the above copyright
9
 * notice, this list of conditions and the following disclaimer.
10
 *     * Redistributions in binary form must reproduce the above
11
 * copyright notice, this list of conditions and the following disclaimer
12
 * in the documentation and/or other materials provided with the
13
 * distribution.
14
 *     * Neither the name of Google Inc. nor the names of its
15
 * contributors may be used to endorse or promote products derived from
16
 * this software without specific prior written permission.
17
 *
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 */
30
31
#ifndef PagePopupDriver_h
32
#define PagePopupDriver_h
33
34
namespace WebCore {
35
36
class IntRect;
37
class PagePopup;
38
class PagePopupClient;
39
40
class PagePopupDriver {
41
public:
42
    virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) = 0;
43
    virtual void closePagePopup(PagePopup*) = 0;
44
    virtual ~PagePopupDriver() { }
45
};
46
47
}
48
#endif
- a/Source/WebCore/testing/Internals.cpp +25 lines
Lines 27-32 a/Source/WebCore/testing/Internals.cpp_sec1
27
#include "Internals.h"
27
#include "Internals.h"
28
28
29
#include "CachedResourceLoader.h"
29
#include "CachedResourceLoader.h"
30
#include "Chrome.h"
30
#include "ClientRect.h"
31
#include "ClientRect.h"
31
#include "ClientRectList.h"
32
#include "ClientRectList.h"
32
#include "ComposedShadowTreeWalker.h"
33
#include "ComposedShadowTreeWalker.h"
Lines 48-53 a/Source/WebCore/testing/Internals.cpp_sec2
48
#include "InternalSettings.h"
49
#include "InternalSettings.h"
49
#include "IntRect.h"
50
#include "IntRect.h"
50
#include "Language.h"
51
#include "Language.h"
52
#include "MockPagePopup.h"
51
#include "NodeRenderingContext.h"
53
#include "NodeRenderingContext.h"
52
#include "Page.h"
54
#include "Page.h"
53
#include "Range.h"
55
#include "Range.h"
Lines 592-597 void Internals::reset(Document* document) a/Source/WebCore/testing/Internals.cpp_sec3
592
594
593
        if (document->frame() == page->mainFrame())
595
        if (document->frame() == page->mainFrame())
594
            setUserPreferredLanguages(Vector<String>());
596
            setUserPreferredLanguages(Vector<String>());
597
598
        if (page->chrome())
599
            page->chrome()->client()->setPagePopupDriver(this);
595
    }
600
    }
596
}
601
}
597
602
Lines 1010-1013 void Internals::webkitDidExitFullScreenForElement(Document* document, Element* e a/Source/WebCore/testing/Internals.cpp_sec4
1010
    document->webkitDidExitFullScreenForElement(element);
1015
    document->webkitDidExitFullScreenForElement(element);
1011
}
1016
}
1012
#endif
1017
#endif
1018
1019
#if ENABLE(PAGE_POPUP)
1020
PagePopup* Internals::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView)
1021
{
1022
    if (m_mockPagePopup)
1023
        closePagePopup(m_mockPagePopup.get());
1024
    if (!client || !m_frame->page())
1025
        return 0;
1026
    m_mockPagePopup = MockPagePopup::create(client, originBoundsInRootView, m_frame->page()->mainFrame());
1027
    return m_mockPagePopup.get();
1028
}
1029
1030
void Internals::closePagePopup(PagePopup* popup)
1031
{
1032
    if (!popup || popup != m_mockPagePopup.get())
1033
        return;
1034
    m_mockPagePopup.clear();
1035
}
1036
#endif
1037
1013
}
1038
}
- a/Source/WebCore/testing/Internals.h +13 lines
Lines 26-33 a/Source/WebCore/testing/Internals.h_sec1
26
#ifndef Internals_h
26
#ifndef Internals_h
27
#define Internals_h
27
#define Internals_h
28
28
29
#include "ChromeClient.h"
29
#include "FrameDestructionObserver.h"
30
#include "FrameDestructionObserver.h"
30
#include "NodeList.h"
31
#include "NodeList.h"
32
#include "PagePopupDriver.h"
31
#include "PlatformString.h"
33
#include "PlatformString.h"
32
#include <wtf/PassRefPtr.h>
34
#include <wtf/PassRefPtr.h>
33
#include <wtf/RefCounted.h>
35
#include <wtf/RefCounted.h>
Lines 41-46 class Document; a/Source/WebCore/testing/Internals.h_sec2
41
class DocumentMarker;
43
class DocumentMarker;
42
class Element;
44
class Element;
43
class InternalSettings;
45
class InternalSettings;
46
class MockPagePopup;
44
class Node;
47
class Node;
45
class Range;
48
class Range;
46
class ShadowRoot;
49
class ShadowRoot;
Lines 49-54 class WebKitPoint; a/Source/WebCore/testing/Internals.h_sec3
49
typedef int ExceptionCode;
52
typedef int ExceptionCode;
50
53
51
class Internals : public RefCounted<Internals>,
54
class Internals : public RefCounted<Internals>,
55
#if ENABLE(PAGE_POPUP)
56
                  public PagePopupDriver,
57
#endif
52
                  public FrameDestructionObserver {
58
                  public FrameDestructionObserver {
53
public:
59
public:
54
    static PassRefPtr<Internals> create(Document*);
60
    static PassRefPtr<Internals> create(Document*);
Lines 177-182 private: a/Source/WebCore/testing/Internals.h_sec4
177
    explicit Internals(Document*);
183
    explicit Internals(Document*);
178
    DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, ExceptionCode&);
184
    DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, ExceptionCode&);
179
185
186
#if ENABLE(PAGE_POPUP)
187
    // PagePopupDriver functions
188
    virtual PagePopup* openPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView) OVERRIDE;
189
    virtual void closePagePopup(PagePopup*) OVERRIDE;
190
191
    OwnPtr<MockPagePopup> m_mockPagePopup;
192
#endif
180
    RefPtr<InternalSettings> m_settings;
193
    RefPtr<InternalSettings> m_settings;
181
};
194
};
182
195
- a/Source/WebCore/testing/MockPagePopup.cpp +82 lines
Line 0 a/Source/WebCore/testing/MockPagePopup.cpp_sec1
1
/*
2
 * Copyright (C) 2012 Google Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions are
6
 * met:
7
 *
8
 *     * Redistributions of source code must retain the above copyright
9
 * notice, this list of conditions and the following disclaimer.
10
 *     * Redistributions in binary form must reproduce the above
11
 * copyright notice, this list of conditions and the following disclaimer
12
 * in the documentation and/or other materials provided with the
13
 * distribution.
14
 *     * Neither the name of Google Inc. nor the names of its
15
 * contributors may be used to endorse or promote products derived from
16
 * this software without specific prior written permission.
17
 *
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 */
30
31
#include "config.h"
32
#include "MockPagePopup.h"
33
34
#if ENABLE(PAGE_POPUP)
35
36
#include "CSSPropertyNames.h"
37
#include "CSSValueKeywords.h"
38
#include "DocumentLoader.h"
39
#include "DocumentWriter.h"
40
#include "Frame.h"
41
#include "HTMLIFrameElement.h"
42
#include "PagePopup.h"
43
#include "PagePopupClient.h"
44
45
namespace WebCore {
46
47
inline MockPagePopup::MockPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView, Frame* frame)
48
    : m_popupClient(client)
49
{
50
    Document* document = frame->document();
51
    m_iframe = HTMLIFrameElement::create(HTMLNames::iframeTag, document);
52
    m_iframe->setIdAttribute("mock-page-popup");
53
    m_iframe->setInlineStyleProperty(CSSPropertyBorderWidth, 0.0, CSSPrimitiveValue::CSS_PX);
54
    m_iframe->setInlineStyleProperty(CSSPropertyPosition, CSSValueAbsolute);
55
    m_iframe->setInlineStyleProperty(CSSPropertyLeft, originBoundsInRootView.x(), CSSPrimitiveValue::CSS_PX, true);
56
    m_iframe->setInlineStyleProperty(CSSPropertyTop, originBoundsInRootView.maxY(), CSSPrimitiveValue::CSS_PX, true);
57
    if (document->body())
58
        document->body()->appendChild(m_iframe.get());
59
    Frame* contentFrame = m_iframe->contentFrame();
60
    DocumentWriter* writer = contentFrame->loader()->activeDocumentLoader()->writer();
61
    writer->setMIMEType("text/html");
62
    writer->setEncoding("UTF-8", false);
63
    writer->begin();
64
    m_popupClient->writeDocument(*writer);
65
    writer->end();
66
    contentFrame->script()->installFunctionsForPagePopup(contentFrame, m_popupClient);
67
}
68
69
PassOwnPtr<MockPagePopup> MockPagePopup::create(PagePopupClient* client, const IntRect& originBoundsInRootView, Frame* frame)
70
{
71
    return adoptPtr(new MockPagePopup(client, originBoundsInRootView, frame));
72
}
73
74
MockPagePopup::~MockPagePopup()
75
{
76
    if (m_iframe->parentNode())
77
        m_iframe->parentNode()->removeChild(m_iframe.get());
78
    m_popupClient->didClosePopup();
79
}
80
81
}
82
#endif
- a/Source/WebCore/testing/MockPagePopup.h +59 lines
Line 0 a/Source/WebCore/testing/MockPagePopup.h_sec1
1
/*
2
 * Copyright (C) 2012 Google Inc. All rights reserved.
3
 *
4
 * Redistribution and use in source and binary forms, with or without
5
 * modification, are permitted provided that the following conditions are
6
 * met:
7
 *
8
 *     * Redistributions of source code must retain the above copyright
9
 * notice, this list of conditions and the following disclaimer.
10
 *     * Redistributions in binary form must reproduce the above
11
 * copyright notice, this list of conditions and the following disclaimer
12
 * in the documentation and/or other materials provided with the
13
 * distribution.
14
 *     * Neither the name of Google Inc. nor the names of its
15
 * contributors may be used to endorse or promote products derived from
16
 * this software without specific prior written permission.
17
 *
18
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 */
30
31
#ifndef MockPagePopup_h
32
#define MockPagePopup_h
33
34
#include "PagePopup.h"
35
#include "PagePopupClient.h"
36
#include <wtf/RefPtr.h>
37
38
#if ENABLE(PAGE_POPUP)
39
namespace WebCore {
40
41
class Frame;
42
class HTMLIFrameElement;
43
class IntRect;
44
45
class MockPagePopup : public PagePopup {
46
public:
47
    static PassOwnPtr<MockPagePopup> create(PagePopupClient*, const IntRect& originBoundsInRootView, Frame* mainFrame);
48
    virtual ~MockPagePopup();
49
50
private:
51
    MockPagePopup(PagePopupClient*, const IntRect& originBoundsInRootView, Frame*);
52
53
    PagePopupClient* m_popupClient;
54
    RefPtr<HTMLIFrameElement> m_iframe;
55
};
56
57
}
58
#endif
59
#endif
- a/Source/WebKit/chromium/src/ChromeClientImpl.cpp -2 / +14 lines
Lines 60-65 a/Source/WebKit/chromium/src/ChromeClientImpl.cpp_sec1
60
#include "NavigationAction.h"
60
#include "NavigationAction.h"
61
#include "Node.h"
61
#include "Node.h"
62
#include "Page.h"
62
#include "Page.h"
63
#include "PagePopupDriver.h"
63
#include "PlatformScreen.h"
64
#include "PlatformScreen.h"
64
#include "PlatformSupport.h"
65
#include "PlatformSupport.h"
65
#include "PopupContainer.h"
66
#include "PopupContainer.h"
Lines 139-144 ChromeClientImpl::ChromeClientImpl(WebViewImpl* webView) a/Source/WebKit/chromium/src/ChromeClientImpl.cpp_sec2
139
    , m_menubarVisible(true)
140
    , m_menubarVisible(true)
140
    , m_resizable(true)
141
    , m_resizable(true)
141
    , m_nextNewWindowNavigationPolicy(WebNavigationPolicyIgnore)
142
    , m_nextNewWindowNavigationPolicy(WebNavigationPolicyIgnore)
143
#if ENABLE(PAGE_POPUP)
144
    , m_pagePopupDriver(webView)
145
#endif
142
{
146
{
143
}
147
}
144
148
Lines 996-1007 PassRefPtr<SearchPopupMenu> ChromeClientImpl::createSearchPopupMenu(PopupMenuCli a/Source/WebKit/chromium/src/ChromeClientImpl.cpp_sec3
996
#if ENABLE(PAGE_POPUP)
1000
#if ENABLE(PAGE_POPUP)
997
PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView)
1001
PagePopup* ChromeClientImpl::openPagePopup(PagePopupClient* client, const IntRect& originBoundsInRootView)
998
{
1002
{
999
    return m_webView->openPagePopup(client, originBoundsInRootView);
1003
    ASSERT(m_pagePopupDriver);
1004
    return m_pagePopupDriver->openPagePopup(client, originBoundsInRootView);
1000
}
1005
}
1001
1006
1002
void ChromeClientImpl::closePagePopup(PagePopup* popup)
1007
void ChromeClientImpl::closePagePopup(PagePopup* popup)
1003
{
1008
{
1004
    m_webView->closePagePopup(popup);
1009
    ASSERT(m_pagePopupDriver);
1010
    m_pagePopupDriver->closePagePopup(popup);
1011
}
1012
1013
void ChromeClientImpl::setPagePopupDriver(PagePopupDriver* driver)
1014
{
1015
    ASSERT(driver);
1016
    m_pagePopupDriver = driver;
1005
}
1017
}
1006
#endif
1018
#endif
1007
1019
- a/Source/WebKit/chromium/src/ChromeClientImpl.h +4 lines
Lines 198-203 public: a/Source/WebKit/chromium/src/ChromeClientImpl.h_sec1
198
#if ENABLE(PAGE_POPUP)
198
#if ENABLE(PAGE_POPUP)
199
    virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const WebCore::IntRect&) OVERRIDE;
199
    virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const WebCore::IntRect&) OVERRIDE;
200
    virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE;
200
    virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE;
201
    virtual void setPagePopupDriver(WebCore::PagePopupDriver*) OVERRIDE;
201
#endif
202
#endif
202
    virtual bool willAddTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERRIDE;
203
    virtual bool willAddTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERRIDE;
203
    virtual void addTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERRIDE;
204
    virtual void addTextFieldDecorationsTo(WebCore::HTMLInputElement*) OVERRIDE;
Lines 228-233 private: a/Source/WebKit/chromium/src/ChromeClientImpl.h_sec2
228
229
229
    // The policy for how the next webview to be created will be shown.
230
    // The policy for how the next webview to be created will be shown.
230
    WebNavigationPolicy m_nextNewWindowNavigationPolicy;
231
    WebNavigationPolicy m_nextNewWindowNavigationPolicy;
232
#if ENABLE(PAGE_POPUP)
233
    WebCore::PagePopupDriver* m_pagePopupDriver;
234
#endif
231
};
235
};
232
236
233
} // namespace WebKit
237
} // namespace WebKit
- a/Source/WebKit/chromium/src/WebViewImpl.h -3 / +12 lines
Lines 52-57 a/Source/WebKit/chromium/src/WebViewImpl.h_sec1
52
#include "IntRect.h"
52
#include "IntRect.h"
53
#include "NotificationPresenterImpl.h"
53
#include "NotificationPresenterImpl.h"
54
#include "PageOverlayList.h"
54
#include "PageOverlayList.h"
55
#include "PagePopupDriver.h"
55
#include "PageWidgetDelegate.h"
56
#include "PageWidgetDelegate.h"
56
#include "PlatformGestureCurveTarget.h"
57
#include "PlatformGestureCurveTarget.h"
57
#include "UserMediaClientImpl.h"
58
#include "UserMediaClientImpl.h"
Lines 107-113 class WebMouseWheelEvent; a/Source/WebKit/chromium/src/WebViewImpl.h_sec2
107
class WebSettingsImpl;
108
class WebSettingsImpl;
108
class WebTouchEvent;
109
class WebTouchEvent;
109
110
110
class WebViewImpl : public WebView, public WebLayerTreeViewClient, public RefCounted<WebViewImpl>, public WebCore::PlatformGestureCurveTarget, public PageWidgetEventHandler {
111
class WebViewImpl : public WebView,
112
                    public WebLayerTreeViewClient,
113
                    public RefCounted<WebViewImpl>,
114
                    public WebCore::PlatformGestureCurveTarget,
115
#if ENABLE(PAGE_POPUP)
116
                    public WebCore::PagePopupDriver,
117
#endif
118
                    public PageWidgetEventHandler {
111
public:
119
public:
112
    enum AutoZoomType {
120
    enum AutoZoomType {
113
        DoubleTap,
121
        DoubleTap,
Lines 452-459 public: a/Source/WebKit/chromium/src/WebViewImpl.h_sec3
452
    void popupOpened(WebCore::PopupContainer* popupContainer);
460
    void popupOpened(WebCore::PopupContainer* popupContainer);
453
    void popupClosed(WebCore::PopupContainer* popupContainer);
461
    void popupClosed(WebCore::PopupContainer* popupContainer);
454
#if ENABLE(PAGE_POPUP)
462
#if ENABLE(PAGE_POPUP)
455
    WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const WebCore::IntRect& originBoundsInRootView);
463
    // PagePopupDriver functions.
456
    void closePagePopup(WebCore::PagePopup*);
464
    virtual WebCore::PagePopup* openPagePopup(WebCore::PagePopupClient*, const WebCore::IntRect& originBoundsInRootView) OVERRIDE;
465
    virtual void closePagePopup(WebCore::PagePopup*) OVERRIDE;
457
#endif
466
#endif
458
467
459
    void hideAutofillPopup();
468
    void hideAutofillPopup();
- a/LayoutTests/ChangeLog +12 lines
Lines 1-3 a/LayoutTests/ChangeLog_sec1
1
2012-04-25  Kent Tamura  <tkent@chromium.org>
2
3
        Make calendar pickers testable
4
        https://bugs.webkit.org/show_bug.cgi?id=84827
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * fast/forms/date/calendar-picker-appearance.html: Added.
9
        * platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.png: Added.
10
        * platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.txt: Added.
11
        * platform/chromium/test_expectations.txt:
12
1
2012-04-24  Kulanthaivel Palanichamy  <kulanthaivel@codeaurora.org>
13
2012-04-24  Kulanthaivel Palanichamy  <kulanthaivel@codeaurora.org>
2
14
3
        getMatchedCSSRules() should return null when the second argument is an unrecognized pseudo-element name
15
        getMatchedCSSRules() should return null when the second argument is an unrecognized pseudo-element name
- a/LayoutTests/fast/forms/date/calendar-picker-appearance.html +17 lines
Line 0 a/LayoutTests/fast/forms/date/calendar-picker-appearance.html_sec1
1
<!DOCTYPE html>
2
<body>
3
<input type=date id=date>
4
<script>
5
var date = document.getElementById('date');
6
var x = date.offsetLeft + date.offsetWidth - 6;
7
var y = date.offsetTop + date.offsetHeight / 2;
8
eventSender.mouseMoveTo(x, y);
9
eventSender.mouseDown();
10
eventSender.mouseUp();
11
layoutTestController.waitUntilDone();
12
document.getElementById('mock-page-popup').contentWindow.onresize = function() {
13
    layoutTestController.notifyDone();
14
}
15
</script>
16
</body>
17
- a/LayoutTests/platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.txt +219 lines
Line 0 a/LayoutTests/platform/chromium-mac-snowleopard/fast/forms/date/calendar-picker-appearance-expected.txt_sec1
1
layer at (0,0) size 800x600
2
  RenderView at (0,0) size 800x600
3
layer at (0,0) size 800x39
4
  RenderBlock {HTML} at (0,0) size 800x39
5
    RenderBody {BODY} at (8,8) size 784x23
6
      RenderTextControl {INPUT} at (2,2) size 125x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
7
        RenderDeprecatedFlexibleBox {DIV} at (3,3) size 119x13
8
          RenderBlock {DIV} at (0,0) size 106x13
9
            RenderBlock {DIV} at (0,0) size 106x13
10
          RenderDetailsMarker {DIV} at (106,2) size 13x9 [bgcolor=#EEEEEE]: down
11
        RenderBlock {DIV} at (3,3) size 106x13 [color=#A9A9A9]
12
          RenderText {#text} at (1,0) size 90x13
13
            text run at (1,0) width 90: "Month/Day/Year"
14
      RenderText {#text} at (0,0) size 0x0
15
      RenderText {#text} at (0,0) size 0x0
16
layer at (10,29) size 300x189
17
  RenderPartObject {IFRAME} at (10,29) size 300x189
18
    layer at (0,0) size 300x189
19
      RenderView at (0,0) size 300x189
20
    layer at (0,0) size 300x189
21
      RenderBlock {HTML} at (0,0) size 300x189
22
        RenderBody {BODY} at (0,0) size 300x189 [bgcolor=#800080]
23
          RenderBlock {DIV} at (0,0) size 300x189 [bgcolor=#FFFFFF] [border: (1px solid #8899AA)]
24
            RenderBlock {DIV} at (7,7) size 286x24
25
              RenderDeprecatedFlexibleBox {DIV} at (0,0) size 286x24
26
                RenderBlock (anonymous) at (0,0) size 51x24
27
                  RenderBlock {DIV} at (0,0) size 51x24
28
                    RenderButton {INPUT} at (2,2) size 26x20 [border: (1px solid #444444)]
29
                      RenderBlock (anonymous) at (4,3) size 18x13
30
                        RenderText at (0,0) size 18x13
31
                          text run at (0,0) width 18: "<<"
32
                    RenderButton {INPUT} at (32,2) size 17x20 [border: (1px solid #444444)]
33
                      RenderBlock (anonymous) at (4,3) size 9x13
34
                        RenderText at (0,0) size 9x13
35
                          text run at (0,0) width 9: "<"
36
                RenderBlock {DIV} at (51,0) size 184x24
37
                  RenderBlock {DIV} at (52,0) size 81x19 [bgcolor=#FFFFFF]
38
                    RenderText {#text} at (6,3) size 58x13
39
                      text run at (6,3) width 58: "April 2012"
40
                    RenderInline (generated) at (0,0) size 12x11
41
                      RenderText at (63,5) size 12x11
42
                        text run at (63,5) width 12: " \x{25BC}"
43
                RenderBlock (anonymous) at (235,0) size 51x24
44
                  RenderBlock {DIV} at (0,0) size 51x24
45
                    RenderButton {INPUT} at (2,2) size 17x20 [border: (1px solid #444444)]
46
                      RenderBlock (anonymous) at (4,3) size 9x13
47
                        RenderText at (0,0) size 9x13
48
                          text run at (0,0) width 9: ">"
49
                    RenderButton {INPUT} at (23,2) size 26x20 [border: (1px solid #444444)]
50
                      RenderBlock (anonymous) at (4,3) size 18x13
51
                        RenderText at (0,0) size 18x13
52
                          text run at (0,0) width 18: ">>"
53
            RenderBlock {DIV} at (7,35) size 286x121 [border: (1px solid #000000)]
54
              RenderTable {TABLE} at (1,1) size 284x119
55
                RenderTableSection (anonymous) at (0,0) size 284x119
56
                  RenderTableRow {TR} at (0,0) size 284x17
57
                    RenderTableCell {TH} at (0,0) size 40x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=0 rs=1 cs=1]
58
                      RenderText {#text} at (10,2) size 20x13
59
                        text run at (10,2) width 20: "Sun"
60
                    RenderTableCell {TH} at (40,0) size 40x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=1 rs=1 cs=1]
61
                      RenderText {#text} at (8,2) size 24x13
62
                        text run at (8,2) width 24: "Mon"
63
                    RenderTableCell {TH} at (80,0) size 40x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=2 rs=1 cs=1]
64
                      RenderText {#text} at (10,2) size 20x13
65
                        text run at (10,2) width 20: "Tue"
66
                    RenderTableCell {TH} at (120,0) size 41x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=3 rs=1 cs=1]
67
                      RenderText {#text} at (9,2) size 23x13
68
                        text run at (9,2) width 23: "Wed"
69
                    RenderTableCell {TH} at (161,0) size 41x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=4 rs=1 cs=1]
70
                      RenderText {#text} at (10,2) size 21x13
71
                        text run at (10,2) width 21: "Thu"
72
                    RenderTableCell {TH} at (202,0) size 41x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=5 rs=1 cs=1]
73
                      RenderText {#text} at (13,2) size 15x13
74
                        text run at (13,2) width 15: "Fri"
75
                    RenderTableCell {TH} at (243,0) size 41x17 [color=#2200CC] [bgcolor=#E3E9FF] [border: (1px solid #D0D4F0)] [r=0 c=6 rs=1 cs=1]
76
                      RenderText {#text} at (12,2) size 17x13
77
                        text run at (12,2) width 17: "Sat"
78
                  RenderTableRow {TR} at (0,17) size 284x17
79
                    RenderTableCell {TD} at (0,17) size 40x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=0 rs=1 cs=1]
80
                      RenderText {#text} at (13,2) size 14x13
81
                        text run at (13,2) width 14: "25"
82
                    RenderTableCell {TD} at (40,17) size 40x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=1 rs=1 cs=1]
83
                      RenderText {#text} at (13,2) size 14x13
84
                        text run at (13,2) width 14: "26"
85
                    RenderTableCell {TD} at (80,17) size 40x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=2 rs=1 cs=1]
86
                      RenderText {#text} at (13,2) size 14x13
87
                        text run at (13,2) width 14: "27"
88
                    RenderTableCell {TD} at (120,17) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=3 rs=1 cs=1]
89
                      RenderText {#text} at (13,2) size 15x13
90
                        text run at (13,2) width 15: "28"
91
                    RenderTableCell {TD} at (161,17) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=4 rs=1 cs=1]
92
                      RenderText {#text} at (13,2) size 15x13
93
                        text run at (13,2) width 15: "29"
94
                    RenderTableCell {TD} at (202,17) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=5 rs=1 cs=1]
95
                      RenderText {#text} at (13,2) size 15x13
96
                        text run at (13,2) width 15: "30"
97
                    RenderTableCell {TD} at (243,17) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=1 c=6 rs=1 cs=1]
98
                      RenderText {#text} at (13,2) size 15x13
99
                        text run at (13,2) width 15: "31"
100
                  RenderTableRow {TR} at (0,34) size 284x17
101
                    RenderTableCell {TD} at (0,34) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=0 rs=1 cs=1]
102
                      RenderText {#text} at (16,2) size 8x13
103
                        text run at (16,2) width 8: "1"
104
                    RenderTableCell {TD} at (40,34) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=1 rs=1 cs=1]
105
                      RenderText {#text} at (16,2) size 8x13
106
                        text run at (16,2) width 8: "2"
107
                    RenderTableCell {TD} at (80,34) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=2 rs=1 cs=1]
108
                      RenderText {#text} at (16,2) size 8x13
109
                        text run at (16,2) width 8: "3"
110
                    RenderTableCell {TD} at (120,34) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=3 rs=1 cs=1]
111
                      RenderText {#text} at (16,2) size 9x13
112
                        text run at (16,2) width 9: "4"
113
                    RenderTableCell {TD} at (161,34) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=4 rs=1 cs=1]
114
                      RenderText {#text} at (16,2) size 9x13
115
                        text run at (16,2) width 9: "5"
116
                    RenderTableCell {TD} at (202,34) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=5 rs=1 cs=1]
117
                      RenderText {#text} at (16,2) size 9x13
118
                        text run at (16,2) width 9: "6"
119
                    RenderTableCell {TD} at (243,34) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=2 c=6 rs=1 cs=1]
120
                      RenderText {#text} at (16,2) size 9x13
121
                        text run at (16,2) width 9: "7"
122
                  RenderTableRow {TR} at (0,51) size 284x17
123
                    RenderTableCell {TD} at (0,51) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=0 rs=1 cs=1]
124
                      RenderText {#text} at (16,2) size 8x13
125
                        text run at (16,2) width 8: "8"
126
                    RenderTableCell {TD} at (40,51) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=1 rs=1 cs=1]
127
                      RenderText {#text} at (16,2) size 8x13
128
                        text run at (16,2) width 8: "9"
129
                    RenderTableCell {TD} at (80,51) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=2 rs=1 cs=1]
130
                      RenderText {#text} at (12,2) size 16x13
131
                        text run at (12,2) width 16: "10"
132
                    RenderTableCell {TD} at (120,51) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=3 rs=1 cs=1]
133
                      RenderText {#text} at (13,2) size 15x13
134
                        text run at (13,2) width 15: "11"
135
                    RenderTableCell {TD} at (161,51) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=4 rs=1 cs=1]
136
                      RenderText {#text} at (13,2) size 15x13
137
                        text run at (13,2) width 15: "12"
138
                    RenderTableCell {TD} at (202,51) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=5 rs=1 cs=1]
139
                      RenderText {#text} at (13,2) size 15x13
140
                        text run at (13,2) width 15: "13"
141
                    RenderTableCell {TD} at (243,51) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=3 c=6 rs=1 cs=1]
142
                      RenderText {#text} at (13,2) size 15x13
143
                        text run at (13,2) width 15: "14"
144
                  RenderTableRow {TR} at (0,68) size 284x17
145
                    RenderTableCell {TD} at (0,68) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=0 rs=1 cs=1]
146
                      RenderText {#text} at (12,2) size 16x13
147
                        text run at (12,2) width 16: "15"
148
                    RenderTableCell {TD} at (40,68) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=1 rs=1 cs=1]
149
                      RenderText {#text} at (12,2) size 16x13
150
                        text run at (12,2) width 16: "16"
151
                    RenderTableCell {TD} at (80,68) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=2 rs=1 cs=1]
152
                      RenderText {#text} at (12,2) size 16x13
153
                        text run at (12,2) width 16: "17"
154
                    RenderTableCell {TD} at (120,68) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=3 rs=1 cs=1]
155
                      RenderText {#text} at (13,2) size 15x13
156
                        text run at (13,2) width 15: "18"
157
                    RenderTableCell {TD} at (161,68) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=4 rs=1 cs=1]
158
                      RenderText {#text} at (13,2) size 15x13
159
                        text run at (13,2) width 15: "19"
160
                    RenderTableCell {TD} at (202,68) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=5 rs=1 cs=1]
161
                      RenderText {#text} at (13,2) size 15x13
162
                        text run at (13,2) width 15: "20"
163
                    RenderTableCell {TD} at (243,68) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=4 c=6 rs=1 cs=1]
164
                      RenderText {#text} at (13,2) size 15x13
165
                        text run at (13,2) width 15: "21"
166
                  RenderTableRow {TR} at (0,85) size 284x17
167
                    RenderTableCell {TD} at (0,85) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=0 rs=1 cs=1]
168
                      RenderText {#text} at (12,2) size 16x13
169
                        text run at (12,2) width 16: "22"
170
                    RenderTableCell {TD} at (40,85) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=1 rs=1 cs=1]
171
                      RenderText {#text} at (12,2) size 16x13
172
                        text run at (12,2) width 16: "23"
173
                    RenderTableCell {TD} at (80,85) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=2 rs=1 cs=1]
174
                      RenderText {#text} at (12,2) size 16x13
175
                        text run at (12,2) width 16: "24"
176
                    RenderTableCell {TD} at (120,85) size 41x17 [bgcolor=#CDE2FF] [border: (1px solid #FFFFFF)] [r=5 c=3 rs=1 cs=1]
177
                      RenderText {#text} at (13,2) size 15x13
178
                        text run at (13,2) width 15: "25"
179
                    RenderTableCell {TD} at (161,85) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=4 rs=1 cs=1]
180
                      RenderText {#text} at (13,2) size 15x13
181
                        text run at (13,2) width 15: "26"
182
                    RenderTableCell {TD} at (202,85) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=5 rs=1 cs=1]
183
                      RenderText {#text} at (13,2) size 15x13
184
                        text run at (13,2) width 15: "27"
185
                    RenderTableCell {TD} at (243,85) size 41x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=5 c=6 rs=1 cs=1]
186
                      RenderText {#text} at (13,2) size 15x13
187
                        text run at (13,2) width 15: "28"
188
                  RenderTableRow {TR} at (0,102) size 284x17
189
                    RenderTableCell {TD} at (0,102) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=0 rs=1 cs=1]
190
                      RenderText {#text} at (12,2) size 16x13
191
                        text run at (12,2) width 16: "29"
192
                    RenderTableCell {TD} at (40,102) size 40x17 [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=1 rs=1 cs=1]
193
                      RenderText {#text} at (12,2) size 16x13
194
                        text run at (12,2) width 16: "30"
195
                    RenderTableCell {TD} at (80,102) size 40x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=2 rs=1 cs=1]
196
                      RenderText {#text} at (16,2) size 8x13
197
                        text run at (16,2) width 8: "1"
198
                    RenderTableCell {TD} at (120,102) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=3 rs=1 cs=1]
199
                      RenderText {#text} at (17,2) size 7x13
200
                        text run at (17,2) width 7: "2"
201
                    RenderTableCell {TD} at (161,102) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=4 rs=1 cs=1]
202
                      RenderText {#text} at (17,2) size 7x13
203
                        text run at (17,2) width 7: "3"
204
                    RenderTableCell {TD} at (202,102) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=5 rs=1 cs=1]
205
                      RenderText {#text} at (17,2) size 7x13
206
                        text run at (17,2) width 7: "4"
207
                    RenderTableCell {TD} at (243,102) size 41x17 [color=#575757] [bgcolor=#FFFFFF] [border: (1px solid #FFFFFF)] [r=6 c=6 rs=1 cs=1]
208
                      RenderText {#text} at (17,2) size 7x13
209
                        text run at (17,2) width 7: "5"
210
            RenderBlock {DIV} at (7,160) size 286x22
211
              RenderButton {INPUT} at (2,2) size 49x18 [bgcolor=#C0C0C0]
212
                RenderBlock (anonymous) at (8,2) size 33x13
213
                  RenderText at (0,0) size 33x13
214
                    text run at (0,0) width 33: "Today"
215
              RenderButton {INPUT} at (55,2) size 44x18 [bgcolor=#C0C0C0]
216
                RenderBlock (anonymous) at (8,2) size 28x13
217
                  RenderText at (0,0) size 28x13
218
                    text run at (0,0) width 28: "Clear"
219
caret: position 0 of child 1 {DIV} of child 0 {DIV} of {#shadow-root} of child 1 {INPUT} of body
- a/LayoutTests/platform/chromium/test_expectations.txt +1 lines
Lines 1089-1094 BUGWK29359 : fast/forms/time = PASS FAIL a/LayoutTests/platform/chromium/test_expectations.txt_sec1
1089
BUGWK29359 : fast/forms/week = PASS FAIL
1089
BUGWK29359 : fast/forms/week = PASS FAIL
1090
// Need rebaseline
1090
// Need rebaseline
1091
BUGWK83872 : fast/forms/date/date-appearance.html = FAIL
1091
BUGWK83872 : fast/forms/date/date-appearance.html = FAIL
1092
BUGWK84827 : fast/forms/date/calendar-picker-appearance.html = FAIL MISSING
1092
1093
1093
BUGCR78376 : http/tests/media/video-play-stall-seek.html = TIMEOUT
1094
BUGCR78376 : http/tests/media/video-play-stall-seek.html = TIMEOUT
1094
1095

Return to Bug 84827