Changeset 110960 in webkit
- Timestamp:
- Mar 16, 2012, 1:00:22 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r110959 r110960 1 2012-03-16 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport 4 https://bugs.webkit.org/show_bug.cgi?id=81232 5 6 Reviewed by Philippe Normand. 7 8 Unskip now-passing tests. 9 10 * platform/gtk/Skipped: 11 * platform/gtk/fast/history/nested-visited-test-expected.txt: Removed. 12 * platform/gtk/fast/history/self-is-visited-expected.txt: Removed. 13 * platform/gtk/fast/history/sibling-visited-test-expected.txt: Removed. 14 1 15 2012-03-16 Zan Dobersek <zandobersek@gmail.com> 2 16 -
trunk/LayoutTests/platform/gtk/Skipped
r110959 r110960 1139 1139 animations/stop-animation-on-suspend.html 1140 1140 1141 # computedStyleIncludingVisitedInfo is not implemented1142 # https://bugs.webkit.org/show_bug.cgi?id=373361143 fast/history/nested-visited-test.html1144 fast/history/self-is-visited.html1145 fast/history/sibling-visited-test.html1146 fast/history/multiple-classes-visited.html1147 fast/loader/stateobjects/state-url-sets-links-visited.html1148 1149 1141 # Rounding color problems inside pixman 1150 1142 # https://bugs.webkit.org/show_bug.cgi?id=49964 -
trunk/Source/WebKit/gtk/ChangeLog
r110959 r110960 1 2012-03-16 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport 4 https://bugs.webkit.org/show_bug.cgi?id=81232 5 6 Reviewed by Philippe Normand. 7 8 Add computedStyleIncludingVisitedInfo helper method to 9 DumpRenderTreeSupportGtk. 10 11 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: 12 (DumpRenderTreeSupportGtk::computedStyleIncludingVisitedInfo): 13 * WebCoreSupport/DumpRenderTreeSupportGtk.h: 14 (DumpRenderTreeSupportGtk): 15 1 16 2012-03-16 Zan Dobersek <zandobersek@gmail.com> 2 17 -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
r110595 r110960 27 27 #include "AccessibilityObject.h" 28 28 #include "AnimationController.h" 29 #include "CSSComputedStyleDeclaration.h" 29 30 #include "DOMWrapperWorld.h" 30 31 #include "Document.h" … … 42 43 #include "GraphicsContext.h" 43 44 #include "HTMLInputElement.h" 45 #include "JSCSSStyleDeclaration.h" 44 46 #include "JSDOMWindow.h" 45 47 #include "JSDocument.h" … … 889 891 } 890 892 893 JSValueRef DumpRenderTreeSupportGtk::computedStyleIncludingVisitedInfo(JSContextRef context, JSValueRef nodeObject) 894 { 895 JSC::ExecState* exec = toJS(context); 896 if (!nodeObject) 897 return JSValueMakeUndefined(context); 898 899 JSValue jsValue = toJS(exec, nodeObject); 900 if (!jsValue.inherits(&JSElement::s_info)) 901 return JSValueMakeUndefined(context); 902 903 JSElement* jsElement = static_cast<JSElement*>(asObject(jsValue)); 904 Element* element = jsElement->impl(); 905 RefPtr<CSSComputedStyleDeclaration> style = CSSComputedStyleDeclaration::create(element, true); 906 return toRef(exec, toJS(exec, jsElement->globalObject(), style.get())); 907 } 908 891 909 void DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary() 892 910 { -
trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
r110594 r110960 84 84 static bool shouldClose(WebKitWebFrame*); 85 85 static bool elementDoesAutoCompleteForElementWithId(WebKitWebFrame*, JSStringRef); 86 static JSValueRef computedStyleIncludingVisitedInfo(JSContextRef, JSValueRef); 86 87 87 88 // WebKitWebView -
trunk/Tools/ChangeLog
r110948 r110960 1 2012-03-16 Zan Dobersek <zandobersek@gmail.com> 2 3 [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport 4 https://bugs.webkit.org/show_bug.cgi?id=81232 5 6 Reviewed by Philippe Normand. 7 8 Use the newly-added helper method in DumpRenderTreeSupportGtk. 9 10 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: 11 (LayoutTestController::computedStyleIncludingVisitedInfo): 12 1 13 2012-03-15 Eric Seidel <eric@webkit.org> 2 14 -
trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp
r110594 r110960 121 121 JSValueRef LayoutTestController::computedStyleIncludingVisitedInfo(JSContextRef context, JSValueRef value) 122 122 { 123 // FIXME: Implement this. 124 return JSValueMakeUndefined(context); 123 return DumpRenderTreeSupportGtk::computedStyleIncludingVisitedInfo(context, value); 125 124 } 126 125
Note:
See TracChangeset
for help on using the changeset viewer.