-
hamaji@chromium.org authored
Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 * Api/qwebframe.cpp: (QWebFrame::counterValueForElementById): (QWebHitTestResult::frame): * Api/qwebframe.h: 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 * webkit/webkitprivate.h: * webkit/webkitwebframe.cpp: (webkit_web_frame_counter_value_for_element_by_id): 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 * Interfaces/IWebFramePrivate.idl: * WebFrame.cpp: (WebFrame::counterValueForElementById): * WebFrame.h: 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 Add counterValueForElement in WebFrame to call WebCore::counterValueForElement. * Misc/WebCoreStatistics.h: * Misc/WebCoreStatistics.mm: (-[WebFrame counterValueForElement:]): 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 Expose WebCore::counterValueForElement as a WebCore API. * WebCore.base.exp: * rendering/RenderTreeAsText.cpp: (WebCore::writeCounterValuesFromChildren): (WebCore::counterValueForElement): * rendering/RenderTreeAsText.h: 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 Convert two pixel tests to dumpAsText tests using counterValueForElementById. * fast/css/counters/t1204-increment-00-c-o-expected.txt: Added. * fast/css/counters/t1204-increment-00-c-o.html: * fast/css/counters/t1204-increment-01-c-o-expected.txt: Added. * fast/css/counters/t1204-increment-01-c-o.html: * platform/mac/fast/css/counters/t1204-increment-00-c-o-expected.checksum: Removed. * platform/mac/fast/css/counters/t1204-increment-00-c-o-expected.png: Removed. * platform/mac/fast/css/counters/t1204-increment-00-c-o-expected.txt: Removed. * platform/mac/fast/css/counters/t1204-increment-01-c-o-expected.checksum: Removed. * platform/mac/fast/css/counters/t1204-increment-01-c-o-expected.png: Removed. * platform/mac/fast/css/counters/t1204-increment-01-c-o-expected.txt: Removed. * platform/qt/fast/css/counters/t1204-increment-00-c-o-expected.txt: Removed. * platform/qt/fast/css/counters/t1204-increment-01-c-o-expected.txt: Removed. 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Darin Adler. Provide a way to get counter values with layoutTestContoller https://bugs.webkit.org/show_bug.cgi?id=30555 Define layoutTestContoller.counterValueForElementById. * DumpRenderTree/LayoutTestController.cpp: (counterValueForElementByIdCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::counterValueForElementById): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
47244a6c