Commit 4d8831a4 authored by zandobersek@gmail.com's avatar zandobersek@gmail.com
Browse files

[Gtk] Unskip the Shadow DOM layout tests

https://bugs.webkit.org/show_bug.cgi?id=90776

Reviewed by Ryosuke Niwa.

Source/WebKit/gtk: 

Add a method for enabling the Shadow DOM through RuntimeEnabledFeatures.
The method is called from DumpRenderTree when resetting state.

* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setShadowDOMEnabled):
* WebCoreSupport/DumpRenderTreeSupportGtk.h:
(DumpRenderTreeSupportGtk):

Tools: 

Enable Shadow DOM through DumpRenderTreeSupport when resetting defaults in between tests.

* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):

LayoutTests: 

Unskip Shadow DOM layout tests, adding two required baselines and failure
expectations for tests that still fail.

* platform/gtk/TestExpectations:
* platform/gtk/fast/dom/shadow/form-in-shadow-expected.txt: Added.
* platform/gtk/fast/dom/shadow/tab-order-iframe-and-shadow-expected.txt: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent ccc0825b
2012-09-24 Zan Dobersek <zandobersek@gmail.com>
[Gtk] Unskip the Shadow DOM layout tests
https://bugs.webkit.org/show_bug.cgi?id=90776
Reviewed by Ryosuke Niwa.
Unskip Shadow DOM layout tests, adding two required baselines and failure
expectations for tests that still fail.
* platform/gtk/TestExpectations:
* platform/gtk/fast/dom/shadow/form-in-shadow-expected.txt: Added.
* platform/gtk/fast/dom/shadow/tab-order-iframe-and-shadow-expected.txt: Added.
2012-09-24 Joshua Bell <jsbell@chromium.org>
 
[Chromium] Unreviewed gardening - re-enable IDB test that's now passing.
......@@ -308,10 +308,6 @@ Bug(GTK) fast/regions/style-scoped-in-flow-override-region-styling-multiple-regi
Bug(GTK) fast/regions/style-scoped-in-flow-override-region-styling.html [ ImageOnlyFailure ]
Bug(GTK) fast/regions/style-scoped-in-flow.html [ ImageOnlyFailure ]
# ENABLE(SHADOW_DOM) is disabled.
Bug(GTK) fast/dom/shadow [ Skip ]
Bug(GTK) editing/shadow [ Skip ]
# CSS Filters is disabled
Bug(GTK) css3/filters [ Skip ]
......@@ -1367,6 +1363,21 @@ webkit.org/b/96900 fast/text/stale-TextLayout-from-first-line.html [ ImageOnlyFa
webkit.org/b/97188 fast/text/word-space-with-kerning.html [ ImageOnlyFailure ]
webkit.org/b/97188 fast/text/word-space-with-kerning-2.html [ ImageOnlyFailure ]
webkit.org/b/90775 fast/dom/shadow/focus-navigation.html [ Failure ]
webkit.org/b/97468 fast/dom/shadow/shadowdom-for-textarea-complex-shadow.html [ ImageOnlyFailure ]
webkit.org/b/97468 fast/dom/shadow/shadowdom-for-textarea-with-placeholder.html [ ImageOnlyFailure ]
webkit.org/b/97468 fast/dom/shadow/shadowdom-for-textarea-without-shadow.html [ ImageOnlyFailure ]
webkit.org/b/97469 fast/dom/shadow/shadowdom-dynamic-styling.html [ Failure ]
webkit.org/b/90860 fast/dom/shadow/shadowdom-for-object-complex-shadow.html [ ImageOnlyFailure ]
webkit.org/b/90860 fast/dom/shadow/shadowdom-for-object-only-shadow.html [ ImageOnlyFailure ]
webkit.org/b/90860 fast/dom/shadow/shadowdom-for-object-without-shadow.html [ ImageOnlyFailure ]
webkit.org/b/91487 fast/dom/shadow/shadowdom-for-select-complex-shadow.html [ ImageOnlyFailure ]
webkit.org/b/91487 fast/dom/shadow/shadowdom-for-select-without-shadow.html [ ImageOnlyFailure ]
webkit.org/b/91488 fast/dom/shadow/shadowdom-for-output-only-shadow.html [ ImageOnlyFailure ]
webkit.org/b/91489 fast/dom/shadow/shadowdom-for-fieldset-complex-shadow.html [ ImageOnlyFailure ]
webkit.org/b/91489 fast/dom/shadow/shadowdom-for-fieldset-only-shadow.html [ ImageOnlyFailure ]
#////////////////////////////////////////////////////////////////////////////////////////
# End of Tests failing
#////////////////////////////////////////////////////////////////////////////////////////
PASS obj.hidden is 'hidden'
PASS obj.text is 'text'
PASS obj.checkbox1 is 'on'
PASS obj.checkbox2 is undefined.
PASS obj.range is '50'
PASS obj.textarea is 'textarea'
PASS successfullyParsed is true
TEST COMPLETE
CONSOLE MESSAGE: line 104: ReferenceError: Can't find variable: log
This tests that pressing Tab key should traverse into iframe and shadow tree, and pressing Shift-Tab should reverse the order.
Should move from input-01 to input-13 in forward
PASS
Should move from input-13 to input-15 in forward
PASS
Should move from input-15 to input-02 in forward
PASS
Should move from input-02 to host-01/input-03 in forward
PASS
Should move from host-01/input-03 to input-04 in forward
PASS
Should move from input-04 to iframe/input-06 in forward
PASS
Should move from iframe/input-06 to iframe/host-02 in forward
PASS
Should move from iframe/host-02 to iframe/host-02/input-09 in forward
PASS
Should move from iframe/host-02/input-09 to iframe/host-02/input-08 in forward
PASS
Should move from iframe/host-02/input-08 to iframe/input-12 in forward
PASS
Should move from iframe/input-12 to iframe/input-11 in forward
PASS
Should move from iframe/input-11 to iframe/input-05 in forward
PASS
Should move from iframe/input-05 to input-14 in forward
PASS
Should move from input-14 to iframe/input-05 in backward
PASS
Should move from iframe/input-05 to iframe/input-11 in backward
PASS
Should move from iframe/input-11 to iframe/input-12 in backward
PASS
Should move from iframe/input-12 to iframe/host-02/input-08 in backward
PASS
Should move from iframe/host-02/input-08 to iframe/host-02/input-09 in backward
PASS
Should move from iframe/host-02/input-09 to iframe/host-02 in backward
PASS
Should move from iframe/host-02 to iframe/input-06 in backward
PASS
Should move from iframe/input-06 to input-04 in backward
PASS
Should move from input-04 to host-01/input-03 in backward
PASS
Should move from host-01/input-03 to input-02 in backward
PASS
Should move from input-02 to input-15 in backward
PASS
Should move from input-15 to input-13 in backward
PASS
Should move from input-13 to input-01 in backward
PASS
2012-09-24 Zan Dobersek <zandobersek@gmail.com>
[Gtk] Unskip the Shadow DOM layout tests
https://bugs.webkit.org/show_bug.cgi?id=90776
Reviewed by Ryosuke Niwa.
Add a method for enabling the Shadow DOM through RuntimeEnabledFeatures.
The method is called from DumpRenderTree when resetting state.
* WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
(DumpRenderTreeSupportGtk::setShadowDOMEnabled):
* WebCoreSupport/DumpRenderTreeSupportGtk.h:
(DumpRenderTreeSupportGtk):
2012-09-24 Joone Hur <joone.hur@intel.com>
[GTK] Implement GraphicsLayer using Clutter
......
......@@ -60,6 +60,7 @@
#include "RenderTreeAsText.h"
#include "RenderView.h"
#include "ResourceLoadScheduler.h"
#include "RuntimeEnabledFeatures.h"
#include "SchemeRegistry.h"
#include "SecurityOrigin.h"
#include "SecurityPolicy.h"
......@@ -701,6 +702,11 @@ void DumpRenderTreeSupportGtk::setCSSRegionsEnabled(WebKitWebView* webView, bool
core(webView)->settings()->setCSSRegionsEnabled(enabled);
}
void DumpRenderTreeSupportGtk::setShadowDOMEnabled(bool enabled)
{
RuntimeEnabledFeatures::setShadowDOMEnabled(enabled);
}
bool DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId(WebKitWebFrame* frame, JSStringRef id)
{
Frame* coreFrame = core(frame);
......
......@@ -117,6 +117,7 @@ public:
static void setPageCacheSupportsPlugins(WebKitWebView*, bool enabled);
static void setCSSGridLayoutEnabled(WebKitWebView*, bool enabled);
static void setCSSRegionsEnabled(WebKitWebView*, bool enabled);
static void setShadowDOMEnabled(bool enabled);
static void deliverAllMutationsIfNecessary();
static void setDomainRelaxationForbiddenForURLScheme(bool forbidden, const char* urlScheme);
......
2012-09-24 Zan Dobersek <zandobersek@gmail.com>
[Gtk] Unskip the Shadow DOM layout tests
https://bugs.webkit.org/show_bug.cgi?id=90776
Reviewed by Ryosuke Niwa.
Enable Shadow DOM through DumpRenderTreeSupport when resetting defaults in between tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetDefaultsToConsistentValues):
2012-09-24 Zan Dobersek <zandobersek@gmail.com>
 
REGRESSION (r129211-r129218): http/tests/loading/redirect-with-no-location-crash.html failing on GTK Linux 64-bit Release WK2 (Tests)
......@@ -516,6 +516,7 @@ static void resetDefaultsToConsistentValues()
DumpRenderTreeSupportGtk::setCSSGridLayoutEnabled(webView, false);
DumpRenderTreeSupportGtk::setCSSRegionsEnabled(webView, true);
DumpRenderTreeSupportGtk::setShadowDOMEnabled(true);
}
static bool useLongRunningServerMode(int argc, char *argv[])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment