bdash [Fri, 6 Oct 2006 02:48:36 +0000 (02:48 +0000)]
2006-10-05 Don Gibson <dgibson77@gmail.com>
Reviewed by Eric.
Fix win32 build bustage after ggaren's Scrollbar renaming changes.
Properly include PlatformScrollBar.h in WbCore.vcproj.
Clean up WidgetWin.cpp a bit.
* WebCore.vcproj/WebCore/WebCore.vcproj:
* platform/Widget.h:
* platform/win/PlatformScrollBar.h:
* platform/win/ScrollViewWin.cpp:
(WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
(WebCore::ScrollView::resizeContents):
(WebCore::ScrollView::scrollBy):
(WebCore::ScrollView::hScrollbarMode):
(WebCore::ScrollView::vScrollbarMode):
(WebCore::ScrollView::suppressScrollbars):
(WebCore::ScrollView::setHScrollbarMode):
(WebCore::ScrollView::setVScrollbarMode):
(WebCore::ScrollView::setScrollbarsMode):
(WebCore::ScrollView::updateScrollbars):
* platform/win/TemporaryLinkStubs.cpp:
(FrameView::passMousePressEventToScrollbar):
(Widget::removeFromParent):
(ScrollView::scrollbarUnderMouse):
(PlatformScrollbar::PlatformScrollbar):
(PlatformScrollbar::~PlatformScrollbar):
(PlatformScrollbar::width):
(PlatformScrollbar::height):
(PlatformScrollbar::setEnabled):
(PlatformScrollbar::paint):
(PlatformScrollbar::updateThumbPosition):
(PlatformScrollbar::updateThumbProportion):
(PlatformScrollbar::setRect):
(Scrollbar::Scrollbar):
(Scrollbar::setSteps):
(Scrollbar::scroll):
(Scrollbar::setValue):
(Scrollbar::setProportion):
* platform/win/WidgetWin.cpp:
(WebCore::WidgetPrivate::WidgetPrivate):
(WebCore::Widget::Widget):
(WebCore::Widget::setContainingWindow):
(WebCore::Widget::containingWindow):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16832
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
adele [Fri, 6 Oct 2006 01:23:47 +0000 (01:23 +0000)]
Reviewed by the letter 'B'.
More build fixes.
* WebKit.xcodeproj/project.pbxproj:
* WebView/WebDynamicScrollBarsView.h:
* WebView/WebDynamicScrollBarsView.m:
(-[WebDynamicScrollBarsView updateScrollers]):
(-[WebDynamicScrollBarsView setAllowsScrolling:]):
(-[WebDynamicScrollBarsView allowsScrolling]):
(-[WebDynamicScrollBarsView setAllowsHorizontalScrolling:]):
(-[WebDynamicScrollBarsView setAllowsVerticalScrolling:]):
(-[WebDynamicScrollBarsView allowsHorizontalScrolling]):
(-[WebDynamicScrollBarsView allowsVerticalScrolling]):
(-[WebDynamicScrollBarsView horizontalScrollingMode]):
(-[WebDynamicScrollBarsView verticalScrollingMode]):
(-[WebDynamicScrollBarsView setHorizontalScrollingMode:]):
(-[WebDynamicScrollBarsView setVerticalScrollingMode:]):
(-[WebDynamicScrollBarsView setScrollingMode:]):
* WebView/WebView.m:
(-[WebView setAlwaysShowVerticalScroller:]):
(-[WebView alwaysShowVerticalScroller]):
(-[WebView setAlwaysShowHorizontalScroller:]):
(-[WebView alwaysShowHorizontalScroller]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16831
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ggaren [Fri, 6 Oct 2006 01:01:59 +0000 (01:01 +0000)]
build fix.
* WebCore.xcodeproj/project.pbxproj:
* bridge/mac/BrowserExtensionMac.mm:
(WebCore::BrowserExtensionMac::createNewWindow):
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::createFrame):
* bridge/mac/FrameViewMac.mm:
(WebCore::FrameView::passMousePressEventToScrollbar):
* bridge/mac/WebCoreFrameBridge.mm:
(-[WebCoreFrameBridge installInFrame:]):
* bridge/mac/WebCoreFrameView.h:
* platform/ScrollBar.cpp:
* platform/Widget.h:
* platform/mac/PlatformScrollBar.h:
* platform/mac/PlatformScrollBarMac.mm:
(NSControlSizeForScrollBarControlSize):
(-[WebCoreScrollBar initWithPlatformScrollbar:]):
(-[WebCoreScrollBar detachPlatformScrollbar]):
(-[WebCoreScrollBar scroll:]):
(-[WebCoreScrollBar widget]):
(WebCore::PlatformScrollbar::PlatformScrollbar):
(WebCore::PlatformScrollbar::~PlatformScrollbar):
(WebCore::PlatformScrollbar::updateThumbPosition):
(WebCore::PlatformScrollbar::updateThumbProportion):
(WebCore::PlatformScrollbar::scrollbarHit):
(WebCore::PlatformScrollbar::width):
(WebCore::PlatformScrollbar::height):
(WebCore::PlatformScrollbar::setRect):
(WebCore::PlatformScrollbar::setEnabled):
(WebCore::PlatformScrollbar::paint):
* platform/mac/ScrollViewMac.mm:
(WebCore::ScrollView::setVScrollbarMode):
(WebCore::ScrollView::setHScrollbarMode):
(WebCore::ScrollView::setScrollbarsMode):
(WebCore::ScrollView::vScrollbarMode):
(WebCore::ScrollView::hScrollbarMode):
(WebCore::ScrollView::suppressScrollbars):
(WebCore::ScrollView::scrollbarUnderMouse):
* platform/mac/WidgetMac.mm:
(WebCore::Widget::removeFromParent):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::destroyScrollbar):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16830
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Fri, 6 Oct 2006 00:02:40 +0000 (00:02 +0000)]
2006-10-05 Eric Seidel <eric@eseidel.com>
Reviewed by Tim H.
* coding/coding-style.html: use css styles, add example for whitespace, add example for c++ constructors
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16829
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 22:26:29 +0000 (22:26 +0000)]
2006-10-06 Mitz Pettel <mitz@webkit.org>
http://bugs.webkit.org/show_bug.cgi?id=8276
Fix broken manual test added back in r13990.
Add resource forks for test resources.
* manual-tests/resources/plain-text-paste/._1.textClipping: Added.
* manual-tests/resources/plain-text-paste/._2.textClipping: Added.
* manual-tests/resources/plain-text-paste/._4.txt: Added.
* manual-tests/resources/plain-text-paste/._5.webloc: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16827
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Thu, 5 Oct 2006 22:14:49 +0000 (22:14 +0000)]
Rename addClip to clip.
Reviewed by darin
* kcanvas/RenderForeignObject.cpp:
(WebCore::RenderForeignObject::paint):
* kcanvas/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::paint):
* kcanvas/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::paint):
* platform/GraphicsContext.h:
* platform/cairo/GraphicsContextCairo.cpp:
(WebCore::GraphicsContext::clip):
* platform/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::savePlatformState):
(WebCore::GraphicsContext::restorePlatformState):
(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::addRoundedRectClip):
(WebCore::GraphicsContext::addInnerRoundedRectClip):
(WebCore::GraphicsContext::scale):
(WebCore::GraphicsContext::rotate):
(WebCore::GraphicsContext::translate):
(WebCore::GraphicsContext::concatCTM):
* platform/cg/GraphicsContextPlatformPrivate.h:
(WebCore::GraphicsContextPlatformPrivate::save):
(WebCore::GraphicsContextPlatformPrivate::restore):
(WebCore::GraphicsContextPlatformPrivate::clip):
(WebCore::GraphicsContextPlatformPrivate::scale):
(WebCore::GraphicsContextPlatformPrivate::rotate):
(WebCore::GraphicsContextPlatformPrivate::translate):
(WebCore::GraphicsContextPlatformPrivate::concatCTM):
* platform/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::addInnerRoundedRectClip):
(WebCore::GraphicsContext::addRoundedRectClip):
* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::paintBackground):
(WebCore::InlineFlowBox::paintBackgroundAndBorder):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::paintSelection):
(WebCore::InlineTextBox::paintTextMatchMarker):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintBackgroundExtended):
* rendering/RenderButton.cpp:
(WebCore::RenderButton::paintObject):
* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::beginTransparencyLayers):
(WebCore::setClip):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::paintObject):
* rendering/RenderMenuList.cpp:
(WebCore::RenderMenuList::paintObject):
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintBackgroundsBehindCell):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16826
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 22:03:43 +0000 (22:03 +0000)]
2006-10-05 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=10386
Delete RenderImageButton.* and remove references from .vcproj and .bkl files
* CMakeLists.txt:
* WebCore.vcproj/WebCore/WebCore.vcproj:
* WebCoreSources.bkl:
* rendering/RenderImageButton.cpp: Removed.
* rendering/RenderImageButton.h: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16825
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 21:56:17 +0000 (21:56 +0000)]
2006-10-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin.
- http://bugs.webkit.org/show_bug.cgi?id=11067
manual-tests/scrollbar-hittest2.html is invalid
* manual-tests/scrollbar-hittest2.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16824
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 21:53:59 +0000 (21:53 +0000)]
2006-10-05 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Timothy.
Bug: http://bugs.webkit.org/show_bug.cgi?id=9887
Continuous spell checking now remembers user's setting. The change is applied globally,
meaning, both TextArea and TextField are affected when either of them enables/disables
spell checking.
* WebView/WebPreferenceKeysPrivate.h: added a define for WebContinuousSpellCheckingEnabled
* WebView/WebView.m:
(-[WebViewPrivate init]): reads WebContinuousSpellCheckingEnabled from NSUserDefaults
(-[WebView setContinuousSpellCheckingEnabled:]):
(-[WebView isContinuousSpellCheckingEnabled]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16823
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 21:43:22 +0000 (21:43 +0000)]
2006-10-05 MorganL <morganl.webkit@yahoo.com>
Reviewed by Darin.
Fixes http://bugs.webkit.org/show_bug.cgi?id=11162
* COM/WebFrame.cpp:
(WebFrame::loadDataSource):
(WebFrame::receivedResponse):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16822
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 21:40:04 +0000 (21:40 +0000)]
2006-10-05 David Carson <dacarson@gmail.com>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=11152
Adjust the tokenizer chunk size to be smaller for
mobile devices, and also decrease the yield timer
for the tokenizer so that it can resume earlier.
* html/HTMLTokenizer.cpp:
* config.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16821
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Thu, 5 Oct 2006 21:38:44 +0000 (21:38 +0000)]
Removing accidentally-checked-in do-nothing code.
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::defaultEventHandler):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16820
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 21:35:58 +0000 (21:35 +0000)]
2006-10-05 David Carson <dacarson@gmail.com>
Reviewed by Mitz.
http://bugs.webkit.org/show_bug.cgi?id=11158
Initialize class variables
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16819
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Thu, 5 Oct 2006 20:27:50 +0000 (20:27 +0000)]
2006-10-05 Don Gibson <dgibson77@gmail.com>
WebCore:
Reviewed by Darin, landed by Adam.
http://bugs.webkit.org/show_bug.cgi?id=11176
Fix win32 build, adapt to Maciej's ResourceLoader changes.
* platform/win/ResourceLoaderWin.cpp:
(WebCore::ResourceLoader::start):
WebKit:
Reviewed by Darin, landed by Adam.
http://bugs.webkit.org/show_bug.cgi?id=11176
Fix win32 build, adapt to Maciej's ResourceLoader changes.
* COM/WebFrame.cpp:
(WebFrame::loadDataSource):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16818
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Thu, 5 Oct 2006 20:22:47 +0000 (20:22 +0000)]
2006-10-05 Marvin Decker <marv.decker@gmail.com>
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=10989
Provide a way for embedders to implement BrowserExtensionWin
WebCore:
* WebCore.vcproj/WebCore/WebCore.vcproj:
* bridge/win/BrowserExtensionWin.cpp: Added.
(BrowserExtensionWin::BrowserExtensionWin):
(BrowserExtensionWin::setTypedIconURL):
(BrowserExtensionWin::setIconURL):
(BrowserExtensionWin::getHistoryLength):
(BrowserExtensionWin::canRunModal):
(BrowserExtensionWin::createNewWindow):
(BrowserExtensionWin::canRunModalNow):
(BrowserExtensionWin::runModal):
(BrowserExtensionWin::goBackOrForward):
(BrowserExtensionWin::historyURL):
* bridge/win/BrowserExtensionWin.h:
* bridge/win/FrameWin.cpp:
(WebCore::FrameWin::createNewWindow):
* bridge/win/FrameWin.h:
* platform/win/TemporaryLinkStubs.cpp:
WebKit:
* COM/Interfaces/IWebUIDelegate.idl:
* COM/WebFrame.cpp:
(WebFrame::createNewWindow):
* COM/WebFrame.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16817
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ggaren [Thu, 5 Oct 2006 19:59:28 +0000 (19:59 +0000)]
Reviewed by Darin.
Fixed <rdar://problem/
4766987>
- renamed ScrollBar to Scrollbar and scroll bar to scrollbar in every case
except for file names.
- fixed RenderLayer to properly tear down scrollbars, removing them from
their parents.
* bindings/js/kjs_window.cpp:
(KJS::showModalDialog):
(KJS::setWindowFeature):
(KJS::parseWindowFeatures):
* bridge/BrowserExtension.h:
* dom/Document.cpp:
(WebCore::Document::setInPageCache):
* html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::init):
(WebCore::HTMLFrameElement::parseMappedAttribute):
* html/HTMLFrameElement.h:
(WebCore::HTMLFrameElement::scrollingMode):
* page/Frame.cpp:
(WebCore::Frame::finishedParsing):
(WebCore::Frame::scrollbarsVisible):
* page/FrameView.cpp:
(WebCore::FrameViewPrivate::FrameViewPrivate):
(WebCore::FrameViewPrivate::reset):
(WebCore::FrameView::~FrameView):
(WebCore::FrameView::resetScrollbars):
(WebCore::FrameView::clear):
(WebCore::FrameView::initScrollbars):
(WebCore::FrameView::applyOverflowToViewport):
(WebCore::FrameView::layout):
(WebCore::FrameView::handleMousePressEvent):
(WebCore::selectCursor):
(WebCore::FrameView::handleMouseMoveEvent):
(WebCore::FrameView::setScrollbarsMode):
(WebCore::FrameView::setVScrollbarMode):
(WebCore::FrameView::setHScrollbarMode):
(WebCore::FrameView::restoreScrollbar):
(WebCore::FrameView::dispatchMouseEvent):
(WebCore::FrameView::scrollbarMoved):
* page/FrameView.h:
* page/MouseEventWithHitTestResults.cpp:
(WebCore::MouseEventWithHitTestResults::MouseEventWithHitTestResults):
* page/MouseEventWithHitTestResults.h:
(WebCore::MouseEventWithHitTestResults::scrollbar):
* platform/ScrollBar.cpp:
(WebCore::Scrollbar::Scrollbar):
(WebCore::Scrollbar::setValue):
(WebCore::Scrollbar::setProportion):
(WebCore::Scrollbar::setSteps):
(WebCore::Scrollbar::scroll):
* platform/ScrollBar.h:
(WebCore::):
(WebCore::ScrollbarClient::~ScrollbarClient):
(WebCore::Scrollbar::~Scrollbar):
(WebCore::Scrollbar::orientation):
(WebCore::Scrollbar::controlSize):
(WebCore::Scrollbar::hasPlatformScrollbars):
(WebCore::Scrollbar::client):
* platform/ScrollBarMode.h:
(WebCore::):
* platform/ScrollView.h:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::isPointInScrollbar):
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::RenderLayer):
(WebCore::RenderLayer::~RenderLayer):
(WebCore::RenderLayer::scrollToOffset):
(WebCore::RenderLayer::horizontaScrollbarWidget):
(WebCore::RenderLayer::verticalScrollbarWidget):
(WebCore::RenderLayer::valueChanged):
(WebCore::RenderLayer::createScrollbar):
(WebCore::RenderLayer::destroyScrollbar):
(WebCore::RenderLayer::setHasHorizontalScrollbar):
(WebCore::RenderLayer::setHasVerticalScrollbar):
(WebCore::RenderLayer::verticalScrollbarWidth):
(WebCore::RenderLayer::horizontalScrollbarHeight):
(WebCore::RenderLayer::updateScrollInfoAfterLayout):
* rendering/RenderLayer.h:
(WebCore::RenderLayer::horizontalScrollbar):
(WebCore::RenderLayer::verticalScrollbar):
* rendering/RenderListBox.cpp:
(WebCore::RenderListBox::~RenderListBox):
(WebCore::RenderListBox::calcMinMaxWidth):
(WebCore::RenderListBox::isPointInScrollbar):
(WebCore::RenderListBox::optionAtPoint):
(WebCore::RenderListBox::valueChanged):
* rendering/RenderListBox.h:
* rendering/RenderObject.h:
(WebCore::RenderObject::NodeInfo::scrollbar):
(WebCore::RenderObject::NodeInfo::setScrollbar):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16815
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca [Thu, 5 Oct 2006 19:58:23 +0000 (19:58 +0000)]
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
* Scripts/run-webkit-tests:
Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
results should be.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16814
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Thu, 5 Oct 2006 19:38:48 +0000 (19:38 +0000)]
2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by ap.
Cmake: make it possible to install the libraries after having built using 'build-webkit'.
Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
* Scripts/webkitdirs.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16813
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Thu, 5 Oct 2006 17:57:20 +0000 (17:57 +0000)]
2006-10-05 Don Gibson <dgibson77@gmail.com>
Reviewed by Adam.
http://bugs.webkit.org/show_bug.cgi?id=11138
Incorrect mouse event generation on Windows
* platform/win/MouseEventWin.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent):
(1) Set mouse button even for non-click-related messages.
(2) Track clicks correctly for all buttons, not just the left button.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16811
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Thu, 5 Oct 2006 17:48:53 +0000 (17:48 +0000)]
2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by ap.
Fix Qt/Linux build, adapt to Eric's Quartz changes and to Maciej's ResourceLoader changes.
* kcanvas/device/qt/KRenderingPaintServerGradientQt.cpp:
(WebCore::KRenderingPaintServerLinearGradientQt::renderPath):
(WebCore::KRenderingPaintServerLinearGradientQt::setup):
(WebCore::KRenderingPaintServerRadialGradientQt::setup):
(WebCore::KRenderingPaintServerRadialGradientQt::renderPath):
* kcanvas/device/qt/KRenderingPaintServerPatternQt.cpp:
(WebCore::KRenderingPaintServerPatternQt::renderPath):
* kcanvas/device/qt/KRenderingPaintServerQt.cpp:
(WebCore::KRenderingPaintServerQt::setPenProperties):
* kcanvas/device/qt/KRenderingPaintServerSolidQt.cpp:
(WebCore::KRenderingPaintServerSolidQt::setup):
(WebCore::KRenderingPaintServerSolidQt::renderPath):
* kcanvas/device/qt/RenderPathQt.cpp:
(WebCore::getPathStroke):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16810
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin [Thu, 5 Oct 2006 17:20:04 +0000 (17:20 +0000)]
Reviewed by Kevin McCullough.
* wtf/Assertions.cpp: Fix build when _DEBUG is not defined.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16808
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Thu, 5 Oct 2006 16:44:15 +0000 (16:44 +0000)]
Reviewed by Darin.
http://bugs.webkit.org/show_bug.cgi?id=11054
REGRESSION: Traditional Chinese encoding in login authentication
1. Treat GB2312 encoding as GBK (its more modern superset), to match other browsers.
2. On the Web, GB2312 is encoded as EUC-CN or HZ, while ICU provides a native encoding
for encoding GB_2312-80 and several others. So, we need to override this behavior, too.
WebCore:
* platform/StreamingTextDecoderICU.cpp:
(WebCore::TextCodecICU::registerEncodingNames):
LayoutTests:
Each of these tests is passed by Firefox 1.5 and/or WinIE 6.
* fast/encoding/GBK/EUC-CN-expected.txt: Added.
* fast/encoding/GBK/EUC-CN.html: Added.
* fast/encoding/GBK/chinese-expected.txt: Added.
* fast/encoding/GBK/chinese.html: Added.
* fast/encoding/GBK/cn-gb-expected.txt: Added.
* fast/encoding/GBK/cn-gb.html: Added.
* fast/encoding/GBK/csgb2312-expected.txt: Added.
* fast/encoding/GBK/csgb2312.html: Added.
* fast/encoding/GBK/csgb231280-expected.txt: Added.
* fast/encoding/GBK/csgb231280.html: Added.
* fast/encoding/GBK/gb2312-expected.txt: Added.
* fast/encoding/GBK/gb2312.html: Added.
* fast/encoding/GBK/gb_2312-80-expected.txt: Added.
* fast/encoding/GBK/gb_2312-80.html: Added.
* fast/encoding/GBK/gbk-expected.txt: Added.
* fast/encoding/GBK/gbk.html: Added.
* fast/encoding/GBK/iso-ir-58-expected.txt: Added.
* fast/encoding/GBK/iso-ir-58.html: Added.
* fast/encoding/GBK/x-euc-cn-expected.txt: Added.
* fast/encoding/GBK/x-euc-cn.html: Added.
* fast/encoding/GBK/x-gbk-expected.txt: Added.
* fast/encoding/GBK/x-gbk.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16807
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Thu, 5 Oct 2006 13:59:14 +0000 (13:59 +0000)]
2006-10-05 Eric Seidel <eric@eseidel.com>
Reviewed by mjs.
Removed dead code.
Filed http://bugs.webkit.org/show_bug.cgi?id=11167 to for followup on removed FIXMEs
* WebCore.xcodeproj/project.pbxproj:
* ksvg2/ecma/GlobalObject.cpp: Removed.
* ksvg2/ecma/GlobalObject.h: Removed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16806
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Thu, 5 Oct 2006 13:54:20 +0000 (13:54 +0000)]
Reviewed by Maciej.
Small ResourceLoaderInternal tweak.
* platform/ResourceLoaderInternal.h:
(WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16805
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Thu, 5 Oct 2006 13:52:39 +0000 (13:52 +0000)]
2006-10-05 Eric Seidel <eric@eseidel.com>
Reviewed by mjs.
More incremental KCanvas cleanup and optimization.
Added SVGRenderStyle::hasFill() and hasStroke() removed more KSVGPainterFactory methods.
Optimized dash array usage to not malloc.
Also removed un-needed KSVGRenderingStyle includes.
* kcanvas/KCanvasTreeDebug.cpp:
(WebCore::operator<<):
* kcanvas/RenderPath.cpp:
(WebCore::RenderPath::nodeAtPoint):
* kcanvas/device/quartz/KCanvasItemQuartz.mm:
(WebCore::RenderPath::strokeBBox):
* kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
(WebCore::KRenderingPaintServerGradientQuartz::setup):
(WebCore::KRenderingPaintServerGradientQuartz::renderPath):
(WebCore::KRenderingPaintServerGradientQuartz::teardown):
* kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
(WebCore::KRenderingPaintServerSolidQuartz::setup):
(WebCore::KRenderingPaintServerSolidQuartz::renderPath):
(WebCore::KRenderingPaintServerPatternQuartz::setup):
(WebCore::KRenderingPaintServerPatternQuartz::renderPath):
* kcanvas/device/quartz/QuartzSupport.mm:
(WebCore::applyStrokeStyleToContext):
* ksvg2/css/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::hasStroke):
(WebCore::SVGRenderStyle::hasFill):
* ksvg2/misc/KCanvasRenderingStyle.cpp:
(WebCore::KSVGPainterFactory::fillPaintServer):
(WebCore::KSVGPainterFactory::strokePaintServer):
* ksvg2/misc/KCanvasRenderingStyle.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16804
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs [Thu, 5 Oct 2006 13:15:04 +0000 (13:15 +0000)]
Reviewed by Adam.
- changed ResourceLoader to be refcounted
It keeps a ref on itself while loading as well. This makes
for a much saner memory management model than the previous.
* bridge/mac/WebCoreResourceLoaderImp.mm:
(-[WebCoreResourceLoaderImp finishJobAndHandle:]):
* dom/XMLTokenizer.cpp:
(WebCore::openFunc):
* loader/icon/IconLoader.cpp:
(IconLoader::IconLoader):
(IconLoader::~IconLoader):
(IconLoader::startLoading):
(IconLoader::stopLoading):
(IconLoader::receivedData):
* loader/icon/IconLoader.h:
* loader/loader.cpp:
(WebCore::Loader::servePendingRequests):
* platform/ResourceLoader.cpp:
(WebCore::ResourceLoader::create):
(WebCore::ResourceLoader::kill):
* platform/ResourceLoader.h:
* platform/ResourceLoaderInternal.h:
(WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
* platform/mac/ResourceLoaderMac.mm:
(WebCore::ResourceLoader::start):
* xml/XSLTProcessor.cpp:
(WebCore::docLoaderFunc):
* xml/xmlhttprequest.cpp:
(WebCore::XMLHttpRequest::send):
* xml/xmlhttprequest.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16803
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Thu, 5 Oct 2006 12:59:54 +0000 (12:59 +0000)]
2006-10-05 Eric Seidel <eric@eseidel.com>
Reviewed by mjs.
Improve SVG opacity performance by clipping to the object bbox before starting a new opacity layer.
http://bugs.webkit.org/show_bug.cgi?id=11163
No SVG performance tests yet.
* kcanvas/RenderForeignObject.cpp:
(WebCore::RenderForeignObject::paint):
* kcanvas/RenderSVGContainer.cpp:
(WebCore::RenderSVGContainer::paint):
* kcanvas/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::paint):
* kcanvas/RenderSVGText.cpp:
(WebCore::RenderSVGText::paint):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16802
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Thu, 5 Oct 2006 08:58:48 +0000 (08:58 +0000)]
Widget focusability work.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16801
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca [Thu, 5 Oct 2006 04:58:31 +0000 (04:58 +0000)]
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam.
* fast/frames/frame-src-attribute-expected.txt:
Update test result.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16800
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Thu, 5 Oct 2006 03:08:51 +0000 (03:08 +0000)]
Reviewed by Maciej and Tim H.
Copy some WebKit frame lifetime logic into WebCore -- just a step
along the path to frame lifetime being handled completely in WebCore.
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::setView): Move platform-independent parts of this
method into Frame.
* page/Frame.cpp:
(WebCore::Frame::setView): Adding platform-independent parts of
FrameMac::setView
(WebCore::Frame::detachChildren): New method to accomplish what
-[WebFrameBridge _detachChildren] currently does.
(WebCore::Frame::clear): Call detachChildren
* page/Frame.h: Add declaration for detachChildren
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16799
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Thu, 5 Oct 2006 01:42:00 +0000 (01:42 +0000)]
Reviewed by Adam.
- Removed an unnecessary assert that was stopping many pages. tm_gmtoff was not set for UTC time in mozilla but is always set for us.
* kjs/DateMath.cpp:
(KJS::getUTCOffset):
(KJS::msToTM):
* kjs/date_object.cpp:
(KJS::gmtoffset):
(KJS::formatTime):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16798
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ggaren [Thu, 5 Oct 2006 01:07:49 +0000 (01:07 +0000)]
Patch by Darin and me, reviewed by Maciej.
Fixed <rdar://problem/
4518397> REGRESSION(?): Oft-seen but unrepro crash
in JavaScript garbage collection (KJS::Collector::collect())
<rdar://problem/
4752492> Crash in KJS::collect
The issue here was allocating one garbage-collected object in the midst
of allocating a second garbage-collected object. In such a case, the
zeroIfFree word lies.
* kjs/collector.cpp:
(KJS::Collector::allocate):
(KJS::Collector::collect):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16797
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Thu, 5 Oct 2006 00:21:48 +0000 (00:21 +0000)]
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
Switch the Qt buildbot to the standard set of build steps.
Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
see if any regressions were spotted, and fail the test if so.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16796
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Thu, 5 Oct 2006 00:19:21 +0000 (00:19 +0000)]
Reviewed by Adam.
- Layout test fix
* kjs/DateMath.cpp:
(KJS::dateToDayInYear): accept and correctly handle negative months
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16795
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aliceli1 [Wed, 4 Oct 2006 23:16:36 +0000 (23:16 +0000)]
Reviewed by Darin.
Fixed <rdar://problem/
4758577> REGRESSION: Business and People widgets fails to complete search query
* xml/xmlhttprequest.cpp:
(WebCore::XMLHttpRequest::setRequestHeader):
removed exception set when the request is not open yet
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16794
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Wed, 4 Oct 2006 22:57:45 +0000 (22:57 +0000)]
build fix
* kjs/DateMath.cpp:
(KJS::dateToDayInYear):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16793
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 22:25:28 +0000 (22:25 +0000)]
2006-10-05 Mark Rowe <bdash@webkit.org>
Reviewed by maculloch.
Gdk build fix.
* JavaScriptCoreSources.bkl: Add DateMath.cpp to file list.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16790
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Wed, 4 Oct 2006 21:27:29 +0000 (21:27 +0000)]
Reviewed by aroben
- build fix
* JavaScriptCore.xcodeproj/project.pbxproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16788
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 21:11:10 +0000 (21:11 +0000)]
2006-10-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Mitz.
Fix Qt/Linux build by adding DateMath.cpp to compilation.
* CMakeLists.txt: Also replace tabs with spaces.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16787
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Wed, 4 Oct 2006 21:08:43 +0000 (21:08 +0000)]
Reviewed by DethBakin.
- Apparently the build bot uses an older version of XCode which warns about conversions and the newest version does not. I hope this fixes the build but I cann't be sure on my system.
* kjs/DateMath.cpp:
(KJS::msToYear):
(KJS::dayInYear):
(KJS::dateToDayInYear):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16786
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
thatcher [Wed, 4 Oct 2006 20:44:29 +0000 (20:44 +0000)]
Reviewed by Mitz Pettel!
Bug 10708: [Drosera] Make the console input plaintext-only
http://bugs.webkit.org/show_bug.cgi?id=10708
Change the console input -webkit-user-modify property to
read-write-plaintext-only.
* Drosera/console.css:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16785
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
thatcher [Wed, 4 Oct 2006 20:37:02 +0000 (20:37 +0000)]
Reviewed by Tim H.
Bug 10473: [Drosera] Overlapping text in JavaScript Console
http://bugs.webkit.org/show_bug.cgi?id=10473
Using min-height instead of height to avoid overlapping text.
* ChangeLog:
* Drosera/console.css:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16784
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Wed, 4 Oct 2006 20:35:58 +0000 (20:35 +0000)]
Reviewed by Adam.
* wtf/Assertions.cpp: Changed assertion formatting to omit the "======"
lines so you can see more assertions in less space. Also improved format
of file/line information so it works with more development environments.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16783
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin [Wed, 4 Oct 2006 20:34:21 +0000 (20:34 +0000)]
Reviewed by Adam.
* wtf/Assertions.cpp: Changed assertion formatting to omit the "======"
lines so you can see more assertions in less space. Also improved format
of file/line information so it works with more development environments.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16782
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
thatcher [Wed, 4 Oct 2006 18:37:48 +0000 (18:37 +0000)]
Reviewed by Tim H.
Added a bash-style command history.
* Drosera/console.js:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16781
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
kmccullo [Wed, 4 Oct 2006 18:36:29 +0000 (18:36 +0000)]
Reviewed by GGaren
- This is a big makeover for our Date implemenetation. This solves many platform specific issues, specifically dates before 1970, and simplifies some ugly code. The purpose of this was to get us to pass many of the JavaScriptCore tests on windows.
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* kjs/DateMath.cpp: Added.
(KJS::):
(KJS::daysInYear):
(KJS::daysFrom1970ToYear):
(KJS::msFrom1970ToYear):
(KJS::msToDays):
(KJS::msToYear):
(KJS::isLeapYear):
(KJS::isInLeapYear):
(KJS::dayInYear):
(KJS::msToMilliseconds):
(KJS::msToWeekDay):
(KJS::msToSeconds):
(KJS::msToMinutes):
(KJS::msToHours):
(KJS::msToMonth):
(KJS::msToDayInMonth):
(KJS::monthToDayInYear):
(KJS::timeToMseconds):
(KJS::dateToDayInYear):
(KJS::equivalentYearForDST):
(KJS::getUTCOffset):
(KJS::getDSTOffsetSimple):
(KJS::getDSTOffset):
(KJS::localTimeToUTC):
(KJS::UTCToLocalTime):
(KJS::dateToMseconds):
(KJS::msToTM):
(KJS::isDST):
* kjs/DateMath.h: Added.
(KJS::):
* kjs/date_object.cpp:
(KJS::gmtoffset):
(KJS::formatTime):
(KJS::DateInstance::getTime):
(KJS::DateInstance::getUTCTime):
(KJS::DateProtoFunc::callAsFunction):
(KJS::DateObjectImp::construct):
(KJS::DateObjectFuncImp::callAsFunction):
(KJS::parseDate):
* kjs/testkjs.cpp:
* os-win32/stdint.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16780
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca [Wed, 4 Oct 2006 18:04:16 +0000 (18:04 +0000)]
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by John Sullivan.
<rdar://problem/
4654328>
Safari Crashes in WebCore::PluginTokenizer::writeRawData If I Try to Open a SWF File With Plug-ins Turned Off
* loader/PluginDocument.cpp:
(WebCore::PluginTokenizer::writeRawData):
Only send the data to the plug-in if plug-ins are enabled, otherwise just silently eat it.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16779
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:43:29 +0000 (08:43 +0000)]
Fix Gdk bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16778
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:39:10 +0000 (08:39 +0000)]
Fix Gdk bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16777
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:26:17 +0000 (08:26 +0000)]
Fix more win32 and qt bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16776
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:21:56 +0000 (08:21 +0000)]
Fix more win32 bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16775
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:19:16 +0000 (08:19 +0000)]
Fix more win32 bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16774
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:11:56 +0000 (08:11 +0000)]
Fix Gdk bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16773
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:10:55 +0000 (08:10 +0000)]
Fix Qt bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16772
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:09:50 +0000 (08:09 +0000)]
Fix Gdk bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16771
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:06:57 +0000 (08:06 +0000)]
Fix Qt bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16770
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 08:05:57 +0000 (08:05 +0000)]
Fix Win32 bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16769
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 07:53:55 +0000 (07:53 +0000)]
Fix Win32 bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16768
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 07:52:09 +0000 (07:52 +0000)]
Fix Win32 bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16767
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 04:45:28 +0000 (04:45 +0000)]
Fix mac build bustage.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16766
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ap [Wed, 4 Oct 2006 04:34:45 +0000 (04:34 +0000)]
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=11130
Convert "undefined" to AE missing value
WebCore:
* bridge/mac/WebCoreFrameBridge.mm:
(aeDescFromJSValue): return missing value for UndefinedType.
LayoutTests:
* fast/AppleScript/001-expected.txt:
* fast/AppleScript/array-expected.txt:
Updated the results.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16765
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
hyatt [Wed, 4 Oct 2006 04:22:10 +0000 (04:22 +0000)]
Scrolling work.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16764
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 03:36:10 +0000 (03:36 +0000)]
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by NOBODY (build fix).
* WebView/WebView.m:
(-[WebView scrollDOMRangeToVisible:]): Move scrollDOMRangeToVisible: into the correct category.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16763
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 02:51:10 +0000 (02:51 +0000)]
Update bug URLs in the two patches that I just landed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16762
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 02:46:19 +0000 (02:46 +0000)]
2006-09-26 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3723
Add -scrollDOMRangeToVisible:
No automated tests are possible as this code path isn't reachable from JavaScript.
* bridge/mac/WebCoreFrameBridge.h:
* bridge/mac/WebCoreFrameBridge.mm:
(-[WebCoreFrameBridge scrollDOMRangeToVisible:]):
2006-09-26 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
http://bugzilla.opendarwin.org/show_bug.cgi?id=3723
Add -scrollDOMRangeToVisible:
* WebView/WebView.m:
(-[WebView scrollDOMRangeToVisible:]):
* WebView/WebViewPrivate.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16761
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 02:31:10 +0000 (02:31 +0000)]
2006-10-03 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Timothy.
<http://bugzilla.opendarwin.org/show_bug.cgi?id=10338>
When contentEditable, cursor doesn't change to hand
Allow the behaviour of editable links to be specified by a WebPreference
The preference WebKitEditableLinkBehavior has four options:
- AlwaysLive: Safari 2.0 behaviour
- OnlyLiveWithShiftKey: Firefox/WinIE behaviour (and prior WebKit-ToT behaviour)
- LiveWhenNotFocused: Editable links are live only when their editable block is not
focused, or when the shift key is pressed
- DefaultBehavior: This is the same as OnlyLiveWithShiftKey.
No layout tests, just a modification of a manual-test as it isn't possible to test
this automatically.
* bridge/mac/WebCoreSettings.h:
* bridge/mac/WebCoreSettings.mm:
(-[WebCoreSettings setEditableLinkBehavior:]):
(-[WebCoreSettings editableLinkBehavior]):
* html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::HTMLAnchorElement):
(WebCore::HTMLAnchorElement::defaultEventHandler):
(WebCore::HTMLAnchorElement::setActive):
* html/HTMLAnchorElement.h:
* manual-tests/contenteditable-link.html:
* page/FrameView.cpp:
(WebCore::nodeIsNotBeingEdited):
(WebCore::selectCursor):
* page/Settings.h:
(WebCore::Settings::):
(WebCore::Settings::Settings):
(WebCore::Settings::editableLinkBehavior):
(WebCore::Settings::setEditableLinkBehavior):
2006-10-03 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Timothy.
<http://bugzilla.opendarwin.org/show_bug.cgi?id=10338>
When contentEditable, cursor doesn't change to hand
Allow the behaviour of editable links to be specified by a WebPreference
The preference WebKitEditableLinkBehavior has four options:
- AlwaysLive: Safari 2.0 behaviour
- OnlyLiveWithShiftKey: Firefox/WinIE behaviour (and prior WebKit-ToT behaviour)
- LiveWhenNotFocused: Editable links are live only when their editable block is not
focused, or when the shift key is pressed
- DefaultBehavior: This is the same as OnlyLiveWithShiftKey.
No layout tests, just a modification of a manual-test as it isn't possible to test
this automatically.
* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.m:
(+[WebPreferences initialize]):
(-[WebPreferences editableLinkBehavior]):
(-[WebPreferences setEditableLinkBehavior:]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.m:
(-[WebView _updateWebCoreSettingsFromPreferences:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16760
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdakin [Wed, 4 Oct 2006 01:12:17 +0000 (01:12 +0000)]
Reviewed Darin.
No test cases needed.
Implemented a version of StringImpl::append that takes a UChar* and
a length.
* platform/StringImpl.cpp:
(WebCore::StringImpl::append):
(WebCore::StringImpl::insert): Call new append instead of making a
new StringImpl.
* platform/StringImpl.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16759
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
andersca [Wed, 4 Oct 2006 01:10:26 +0000 (01:10 +0000)]
2006-10-03 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam and Brady.
* DumpRenderTree/DumpRenderTree.m:
(main):
Update URL to Ahem.ttf
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16758
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Wed, 4 Oct 2006 01:09:33 +0000 (01:09 +0000)]
2006-10-03 MorganL <morganl.webkit@yahoo.com>
Reviewed by Darin.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11099
HttpSendRequestEx results in ERROR_HTTP_HEADER_NOT_FOUND
* platform/win/ResourceLoaderWin.cpp:
(WebCore::ResourceLoader::onHandleCreated):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16757
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 23:28:49 +0000 (23:28 +0000)]
LayoutTests:
Reviewed by harrison
* editing/execCommand/paste-1-expected.checksum: Added.
* editing/execCommand/paste-1-expected.png: Added.
* editing/execCommand/paste-1-expected.txt: Added.
* editing/execCommand/paste-1.html: Added.
* editing/execCommand/paste-2-expected.checksum: Added.
* editing/execCommand/paste-2-expected.png: Added.
* editing/execCommand/paste-2-expected.txt: Added.
* editing/execCommand/paste-2.html: Added.
WebKit:
Reviewed by harrison
execCommand("Cut"/"Copy"/"Paste") broken in editable subframes.
* WebCoreSupport/WebFrameBridge.m:
(-[WebFrameBridge issueCutCommand]): Issue the command on the WebHTMLView, not the WebView.
(-[WebFrameBridge issueCopyCommand]): Ditto.
(-[WebFrameBridge issuePasteCommand]): Ditto.
(-[WebFrameBridge issuePasteAndMatchStyleCommand]): Ditto.
(-[WebFrameBridge issueTransposeCommand]): Fixed formatting.
(-[WebFrameBridge canPaste]): Ask the WebHTMLView, not the WebView.
* WebView/WebHTMLView.m:
(-[WebHTMLView copy:]): Moved to WebInternal
(-[WebHTMLView cut:]): Ditto.
(-[WebHTMLView paste:]): Ditto.
(-[WebHTMLView pasteAsPlainText:]): Ditto.
* WebView/WebHTMLViewInternal.h:
* WebView/WebView.m: Removed the now unused _canPaste.
* WebView/WebViewInternal.h: Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16752
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdakin [Tue, 3 Oct 2006 23:19:50 +0000 (23:19 +0000)]
Reviewed by Geoff.
Changing these two counters tests so they pass on the BuildBot.
* fast/css/counters/counter04-expected.checksum:
* fast/css/counters/counter04-expected.png:
* fast/css/counters/counter04-expected.txt:
* fast/css/counters/counter04.html:
* fast/css/counters/counters04-expected.checksum:
* fast/css/counters/counters04-expected.png:
* fast/css/counters/counters04-expected.txt:
* fast/css/counters/counters04.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16747
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 23:00:40 +0000 (23:00 +0000)]
Reviewed by geoff
Fixed a typo, updating expected results.
* editing/execCommand/create-list-with-hr-expected.checksum:
* editing/execCommand/create-list-with-hr-expected.png:
* editing/execCommand/create-list-with-hr-expected.txt:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16746
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
ggaren [Tue, 3 Oct 2006 23:00:20 +0000 (23:00 +0000)]
Feared, loathed, reviewed by Darin.
More frame/iframe merging. Merged IFRAME::willRemove and IFRAME::detach
into FRAME, plus other cleanup.
No new behavior, so no new test. Layout tests pass. Basic browsing and
Mail editing seem to work.
* dom/Node.cpp:
(WebCore::Node::detach): Removed random commented-out code.
* html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::isURLAllowed):
(1) Removed reference to FrameView, to dissociate frame loading from rendering.
(2) Renamed newURL to completeURL because the difference between newURL
and URLString is that newURL is a KURL that is the complete version of URLString,
not that it is new.
(WebCore::HTMLFrameElement::willRemove):
(1) Removed close() call and moved close() code into willRemove(), also removing
close() call from detach(), since willRemove is the well-defined place
from DOM tear-down, not detach().
(2) Removed manual renderer detach code because the DOM is not responsible
for managing the render tree. I confirmed that this change not
regress <rdar://problem/
4132581>.
(3) Removed questionable ASSERT. The ASSERT assumed that iframe elements
lost their content frames after being removed from the DOM. That's our
current behavior, but it's going to change in future rounds of refactoring.
This also fixes <rdar://problem/
4750835>.
(WebCore::HTMLFrameElement::setLocation): Removed wacky manual calls to
attach/detach, because the render tree should not be in charge of deciding
when to load.
* html/HTMLFrameElement.h:
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::attach): Renamed renderPart to renderPartObject,
because the renderer is a renderPartObject, not a renderPart.
* html/HTMLIFrameElement.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16745
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin [Tue, 3 Oct 2006 22:46:08 +0000 (22:46 +0000)]
* Scripts/commit-log-editor: Added missing "close" call. Oops!
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16744
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Tue, 3 Oct 2006 22:14:54 +0000 (22:14 +0000)]
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Mitz.
http://bugs.webkit.org/show_bug.cgi?id=11137
Bug 11137: GdkLauncher dies with "pure virtual method called" if
window is closed while page still loading
* platform/gdk/FrameGdk.cpp:
(WebCore::FrameGdk::~FrameGdk): Call cancelAndClear to allow virtual
methods to be called before the FrameGdk portion of "this" is torn down.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16743
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 21:53:37 +0000 (21:53 +0000)]
Reviewed by geoff
<rdar://problem/
4763519> REGRESSION: Multipart/x-mixed-replace sub-resources fail to load
* Loader/WebSubresourceLoader.m:
(+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forFrameLoader:]):
Enable multipart/x-mixed-replace support on the request. This line was accidently removed during
some loader refactoring.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16742
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Tue, 3 Oct 2006 21:09:10 +0000 (21:09 +0000)]
Reviewed by Darin.
Handle tab key presses in the DOM.
* dom/EventTargetNode.cpp:
(WebCore::EventTargetNode::defaultEventHandler): Add tab key handling.
* page/FrameView.cpp:
(WebCore::FrameView::advanceFocus): Rename and reimplement
focusNextPrevNode. Now we just call Element::focus().
* page/FrameView.h: Rename focusNextPrevNode to advanceFocus and make
it public.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16741
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 19:01:33 +0000 (19:01 +0000)]
Reviewed by mjs
<rdar://problem/
4760612>
TOT REGRESSION: Repro assertion failure when forwarding draft in Range::compareBoundaryPoints
No layout test possible, attributedStringFrom:(DOMNode*)...etc isn't available to DRT.
* dom/Range.cpp:
(WebCore::Range::boundaryPointsValid): compareBoundaryPoints asserts that the incoming
positions are non-null since most of it's callers would be in a bad state if the positions
were null. boundaryPointsValid, which calls compareBoundaryPoints, is an exception.
Instead of removing the assert I've added nil checks in boundaryPointsValid, to keep it
from entering compareBoundaryPoints and hitting the assert.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16740
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
adele [Tue, 3 Oct 2006 18:55:19 +0000 (18:55 +0000)]
Reviewed by Geoff.
Make code for turning off new listbox implementation mac-only, since there's no implementation on other platforms.
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::recalcStyle):
(WebCore::HTMLSelectElement::isKeyboardFocusable):
(WebCore::HTMLSelectElement::isMouseFocusable):
(WebCore::HTMLSelectElement::createRenderer):
(WebCore::HTMLSelectElement::setRecalcListItems):
(WebCore::HTMLSelectElement::notifyOptionSelected):
(WebCore::HTMLSelectElement::defaultEventHandler):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16739
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin [Tue, 3 Oct 2006 18:18:08 +0000 (18:18 +0000)]
2006-10-04 Darin Adler <darin@apple.com>
Reviewed by Geoff.
- fix http://bugs.webkit.org/show_bug.cgi?id=11132
Caret disappears when you're typing
* editing/SelectionController.cpp:
(WebCore::SelectionController::setSelection): Remove unnecessary call to
clearCaretRectIfNeeded. The recomputeCaretRect now takes care of this.
(WebCore::SelectionController::recomputeCaretRect): Explicitly set m_needsLayout
to false so we can get the old caret repaint rect. Later we need to change the
design so getting the rect doesn't have a side effect of causing a layout without
invalidation.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16738
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
harrison [Tue, 3 Oct 2006 14:44:40 +0000 (14:44 +0000)]
LayoutTests:
Reviewed by Maciej.
<rdar://problem/
4671286> Candidate Window isn't displayed and only first candidate is displayed at typing location.
Updated test so that it actually shows the caret rect for the caret position.
Before, it was showing the caret rect for the 9th character of the test description.
* fast/text/justified-text-rect-expected.checksum:
* fast/text/justified-text-rect-expected.png:
* fast/text/justified-text-rect-expected.txt:
* fast/text/justified-text-rect.html:
WebCore:
Reviewed by Maciej.
<rdar://problem/
4671286> Candidate Window isn't displayed and only first candidate is displayed at typing location.
Updated test:
* fast/text/justified-text-rect.html
* bridge/mac/WebCoreFrameBridge.mm:
(-[WebCoreFrameBridge convertToNSRange:]):
(-[WebCoreFrameBridge convertToDOMRange:]):
Make the selection's root editable element (or the document itself) be
the basis for NSRange conversions. This supports "shadow DOM" like
that for text fields and text areas.
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::moveParagraphs):
Pass the document element as the scope.
* editing/TextIterator.cpp:
(WebCore::TextIterator::rangeFromLocationAndLength):
Make the first parameter the scope.
* editing/TextIterator.h:
Make the first parameter of rangeFromLocationAndLength() the scope.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16737
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Tue, 3 Oct 2006 12:14:44 +0000 (12:14 +0000)]
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Offer a way for BuildBot to not colorize the cmake output, when building
with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
Default is colorize output, though only Qt platform handles this for now.
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16736
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
eseidel [Tue, 3 Oct 2006 10:49:35 +0000 (10:49 +0000)]
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Make all important scripts work with Qt/Linux.
You can safely use this now:
set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
* Scripts/build-dumprendertree:
* Scripts/run-javascriptcore-tests:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16735
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Tue, 3 Oct 2006 09:46:17 +0000 (09:46 +0000)]
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
* Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Fix Qt/Linux build.
* CMakeLists.txt: Add counter related files.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16734
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdash [Tue, 3 Oct 2006 09:42:33 +0000 (09:42 +0000)]
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Eric.
Stop Bakefile-generated Makefile from running `pkg-config' multiple times per file.
* presets.bkl: Make use of "options" and Python commands to run pkg-config etc up front.
2006-10-03 Mark Rowe <bdash@webkit.org>
Reviewed by Eric.
http://bugs.webkit.org/show_bug.cgi?id=10981
Linux/GDK build fixes
Based on a patch by Krzysztof Kowalczyk.
* WebCoreSources.bkl:
* platform/gdk/FrameGdk.cpp:
(WebCore::doScroll):
(WebCore::FrameGdk::handleGdkEvent):
* platform/gdk/PlatformScrollBar.h: Added.
(WebCore::PlatformScrollBar::isWidget):
* platform/gdk/ScrollViewGdk.cpp:
* platform/gdk/TemporaryLinkStubs.cpp:
(FrameView::passMousePressEventToScrollbar):
(FrameView::passMousePressEventToSubframe):
(FrameView::passMouseReleaseEventToSubframe):
(FrameView::passMouseMoveEventToSubframe):
(FrameView::passWheelEventToSubframe):
(Cursor::Cursor):
(Widget::invalidate):
(Widget::invalidateRect):
(ScrollView::wheelEvent):
(ScrollView::convertToContainingWindow):
(ScrollView::convertFromContainingWindow):
(GraphicsContext::clip):
(PlatformScrollBar::PlatformScrollBar):
(PlatformScrollBar::updateThumbPosition):
(PlatformScrollBar::updateThumbProportion):
(ScrollBar::ScrollBar):
(ScrollBar::setProportion):
(WebCore::supportedKeySizes):
(WebCore::signedPublicKeyAndChallengeString):
* platform/gdk/WheelEventGdk.cpp:
(WebCore::PlatformWheelEvent::PlatformWheelEvent):
* platform/gdk/WidgetGdk.cpp:
(WebCore::Widget::convertToContainingWindow):
(WebCore::Widget::convertFromContainingWindow):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16733
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Tue, 3 Oct 2006 04:38:39 +0000 (04:38 +0000)]
Reviewed by Maciej.
(Forgot this in previous checkin)
Add message paramter to WebView::mouse* methods to pass down to
PlatformMouseEvent.
* COM/WebView.cpp:
(WebView::mouseMoved):
(WebView::mouseDown):
(WebView::mouseUp):
(WebView::mouseDoubleClick):
(WebViewWndProc):
* COM/WebView.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16732
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Tue, 3 Oct 2006 04:26:59 +0000 (04:26 +0000)]
Reviewed by Maciej.
Let Windows determine which mouse button is pressed.
* platform/PlatformMouseEvent.h: Add message parameter to constructor.
* platform/win/MouseEventWin.cpp:
(WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message
parameter to determine which mouse button is pressed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16731
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs [Tue, 3 Oct 2006 02:00:41 +0000 (02:00 +0000)]
Reviewed by Alice.
- take away direct knowledge of WebFrame from WebDataSource
* Loader/WebDocumentLoadState.h:
* Loader/WebDocumentLoadState.m:
(-[WebDocumentLoadState setFrameLoader:]):
(-[WebDocumentLoadState detachFromFrameLoader]):
* Loader/WebFrameLoader.m:
(-[WebFrameLoader _setDocumentLoadState:]):
(-[WebFrameLoader _setProvisionalDocumentLoadState:]):
* WebView/WebDataSource.m:
* WebView/WebDataSourceInternal.h:
* WebView/WebDocumentLoadStateMac.m:
(-[WebDocumentLoadStateMac detachFromFrameLoader]):
* WebView/WebFrame.m:
(-[WebFrame _loadDataSource:withLoadType:formState:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16730
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 01:38:21 +0000 (01:38 +0000)]
Reviewed by anders
Build fix
* editing/SelectionController.cpp:
(WebCore::SelectionController::empty):
* editing/SelectionController.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16729
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Tue, 3 Oct 2006 01:08:36 +0000 (01:08 +0000)]
LayoutTests:
Reviewed by john
* editing/execCommand/create-list-with-hr-expected.checksum: Added.
* editing/execCommand/create-list-with-hr-expected.png: Added.
* editing/execCommand/create-list-with-hr-expected.txt: Added.
* editing/execCommand/create-list-with-hr.html: Added.
WebCore:
Reviewed by john
<rdar://problem/
4755287>
Writely Editor: Crash occurs at WebCore::maxDeepOffset(WebCore::Node const*) when attempting to create a OL/UL following a HR element
* editing/markup.cpp:
(WebCore::createMarkup): Migrate to isBlock (isBlockFlow is true for inline replaced
elements). Don't skip blocks that aren't containers (like horizontal rules).
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16728
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
darin [Tue, 3 Oct 2006 01:06:57 +0000 (01:06 +0000)]
2006-10-03 Darin Adler <darin@apple.com>
Reviewed by Justin Garcia.
- correct mistaken code that would restart blinking every
time "invalidateSelection" is called even if the caret
has not moved
* editing/SelectionController.h:
* editing/SelectionController.cpp:
(WebCore::SelectionController::setSelection): Update for name change.
(WebCore::SelectionController::recomputeCaretRect): New function.
Computes caret rect and does any necessary invalidation if the rect
changes.
(WebCore::SelectionController::invalidateCaretRect): Renamed from
needsCaretRepaint. Invalidates the caret rect unconditionally. Also
calls recomputeCaretRect as a side effect.
* page/Frame.cpp:
(WebCore::Frame::invalidateSelection): Remove unneeded call to
clearCaretRectIfNeeded.
(WebCore::Frame::clearCaretRectIfNeeded): Updated for name change.
(WebCore::Frame::selectionLayoutChanged): Restructured to use the new
recomputeCaretRect function and not restart blinking if caret has
not changed position.
(WebCore::Frame::caretBlinkTimerFired): Removed some checks that
are not needed since selectionLayoutChanged already checks these.
* page/FramePrivate.h: Removed unused m_blinkCaret.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16727
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdakin [Tue, 3 Oct 2006 01:05:40 +0000 (01:05 +0000)]
Reviewed by Adam.
Build fix. Add counters to vcproj.
* WebCore.vcproj/WebCore/WebCore.vcproj:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16726
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
mjs [Mon, 2 Oct 2006 23:54:02 +0000 (23:54 +0000)]
Reviewed by Darin.
- move a big slice of data and logic from WebDataSource to WebDocumentLoadState
* Loader/WebDocumentLoadState.h:
* Loader/WebDocumentLoadState.m:
(-[WebDocumentLoadState initWithRequest:]):
(-[WebDocumentLoadState dealloc]):
(-[WebDocumentLoadState originalRequestCopy]):
(-[WebDocumentLoadState request]):
(-[WebDocumentLoadState replaceRequestURLForAnchorScrollWithURL:]):
(-[WebDocumentLoadState setRequest:]):
(-[WebDocumentLoadState setResponse:]):
(-[WebDocumentLoadState isStopping]):
(-[WebDocumentLoadState bridge]):
(-[WebDocumentLoadState setMainDocumentError:]):
(-[WebDocumentLoadState mainDocumentError]):
(-[WebDocumentLoadState clearErrors]):
(-[WebDocumentLoadState mainReceivedError:complete:]):
(-[WebDocumentLoadState stopLoading]):
(-[WebDocumentLoadState setupForReplace]):
(-[WebDocumentLoadState commitIfReady]):
(-[WebDocumentLoadState finishedLoading]):
(-[WebDocumentLoadState setCommitted:]):
(-[WebDocumentLoadState isCommitted]):
(-[WebDocumentLoadState setLoading:]):
(-[WebDocumentLoadState isLoading]):
(-[WebDocumentLoadState commitLoadWithData:]):
(-[WebDocumentLoadState doesProgressiveLoadWithMIMEType:]):
(-[WebDocumentLoadState receivedData:]):
(-[WebDocumentLoadState setupForReplaceByMIMEType:]):
(-[WebDocumentLoadState updateLoading]):
(-[WebDocumentLoadState response]):
* Loader/WebFrameLoader.h:
* Loader/WebFrameLoader.m:
(-[WebFrameLoader activeDocumentLoadState]):
(-[WebFrameLoader activeDataSource]):
(-[WebFrameLoader _archivedSubresourceForURL:]):
(-[WebFrameLoader addPlugInStreamLoader:]):
(-[WebFrameLoader removePlugInStreamLoader:]):
(-[WebFrameLoader addSubresourceLoader:]):
(-[WebFrameLoader removeSubresourceLoader:]):
(-[WebFrameLoader documentLoadState]):
(-[WebFrameLoader provisionalDocumentLoadState]):
(-[WebFrameLoader stopLoading]):
(-[WebFrameLoader _originalRequest]):
(-[WebFrameLoader _receivedData:]):
(-[WebFrameLoader _setRequest:]):
(-[WebFrameLoader bridge]):
(-[WebFrameLoader _handleFallbackContent]):
(-[WebFrameLoader _isStopping]):
(-[WebFrameLoader _setupForReplaceByMIMEType:]):
(-[WebFrameLoader _setResponse:]):
(-[WebFrameLoader _mainReceivedError:complete:]):
(-[WebFrameLoader _finishedLoading]):
(-[WebFrameLoader didReceiveServerRedirectForProvisionalLoadForFrame]):
(-[WebFrameLoader finishedLoadingDocumentLoadState:]):
(-[WebFrameLoader commitProvisitionalLoad]):
(-[WebFrameLoader committedLoadWithDocumentLoadState:data:]):
(-[WebFrameLoader isReplacing]):
(-[WebFrameLoader setReplacing]):
(-[WebFrameLoader revertToProvisionalWithDocumentLoadState:]):
(-[WebFrameLoader documentLoadState:setMainDocumentError:]):
(-[WebFrameLoader documentLoadState:mainReceivedCompleteError:]):
(-[WebFrameLoader finalSetupForReplaceWithDocumentLoadState:]):
* WebView/WebDataSource.m:
(-[WebDataSourcePrivate dealloc]):
(-[WebDataSource _prepareForLoadStart]):
(-[WebDataSource _mainDocumentError]):
(-[WebDataSource _finishedLoading]):
(-[WebDataSource _receivedData:]):
(-[WebDataSource _setMainDocumentError:]):
(-[WebDataSource _clearUnarchivingState]):
(-[WebDataSource _revertToProvisionalState]):
(-[WebDataSource _receivedMainResourceError:complete:]):
(-[WebDataSource _startLoading]):
(-[WebDataSource _loadFromPageCache:]):
(-[WebDataSource _bridge]):
(-[WebDataSource _setPrimaryLoadComplete:]):
(-[WebDataSource _URLForHistory]):
(-[WebDataSource _setTitle:]):
(-[WebDataSource _initWithDocumentLoadState:]):
(-[WebDataSource request]):
(-[WebDataSource response]):
(-[WebDataSource isLoading]):
(-[WebDataSource webArchive]):
* WebView/WebDataSourceInternal.h:
* WebView/WebDocumentLoadStateMac.m:
(-[WebDocumentLoadStateMac initWithRequest:]):
* WebView/WebFrame.m:
(-[WebFrame _createItem:]):
(-[WebFrame _receivedMainResourceError:]):
(-[WebFrame _transitionToCommitted:]):
(-[WebFrame _commitProvisionalLoad:]):
(-[WebFrame _checkLoadCompleteForThisFrame]):
(-[WebFrame _loadItem:withLoadType:]):
(-[WebFrame _continueFragmentScrollAfterNavigationPolicy:formState:]):
(-[WebFrame _didReceiveServerRedirectForProvisionalLoadForFrame]):
(-[WebFrame _provisionalLoadStarted]):
* WebView/WebFrameInternal.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16725
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
beidson [Mon, 2 Oct 2006 23:51:21 +0000 (23:51 +0000)]
Reviewed by Adele
If the Icon DB schema changes underneath you, the latest ToT can crash and burn when writing
icon data out because we don't correctly check SQL error conditions.
* loader/icon/IconDataCache.cpp:
(WebCore::IconDataCache::writeToDatabase):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16724
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
sfalken [Mon, 2 Oct 2006 23:36:07 +0000 (23:36 +0000)]
2006-10-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by Hyatt.
Added method to find out whether a layout has occurred.
* page/FrameView.cpp:
(WebCore::FrameView::didFirstLayout):
* page/FrameView.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16723
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdakin [Mon, 2 Oct 2006 23:25:58 +0000 (23:25 +0000)]
Minor harassment followed by abject surrender provided by ggggaren.
Tests for counters.
* fast/css/counters/contentNone-expected.checksum: Added.
* fast/css/counters/contentNone-expected.png: Added.
* fast/css/counters/contentNone-expected.txt: Added.
* fast/css/counters/contentNone.html: Added.
* fast/css/counters/counter00-expected.checksum: Added.
* fast/css/counters/counter00-expected.png: Added.
* fast/css/counters/counter00-expected.txt: Added.
* fast/css/counters/counter00.html: Added.
* fast/css/counters/counter01-expected.checksum: Added.
* fast/css/counters/counter01-expected.png: Added.
* fast/css/counters/counter01-expected.txt: Added.
* fast/css/counters/counter01.html: Added.
* fast/css/counters/counter02-expected.checksum: Added.
* fast/css/counters/counter02-expected.png: Added.
* fast/css/counters/counter02-expected.txt: Added.
* fast/css/counters/counter02.html: Added.
* fast/css/counters/counter03-expected.checksum: Added.
* fast/css/counters/counter03-expected.png: Added.
* fast/css/counters/counter03-expected.txt: Added.
* fast/css/counters/counter03.html: Added.
* fast/css/counters/counter04-expected.checksum: Added.
* fast/css/counters/counter04-expected.png: Added.
* fast/css/counters/counter04-expected.txt: Added.
* fast/css/counters/counter04.html: Added.
* fast/css/counters/counter05-expected.checksum: Added.
* fast/css/counters/counter05-expected.png: Added.
* fast/css/counters/counter05-expected.txt: Added.
* fast/css/counters/counter05.html: Added.
* fast/css/counters/counter06-expected.checksum: Added.
* fast/css/counters/counter06-expected.png: Added.
* fast/css/counters/counter06-expected.txt: Added.
* fast/css/counters/counter06.html: Added.
* fast/css/counters/counter07-expected.checksum: Added.
* fast/css/counters/counter07-expected.png: Added.
* fast/css/counters/counter07-expected.txt: Added.
* fast/css/counters/counter07.html: Added.
* fast/css/counters/counter08-expected.checksum: Added.
* fast/css/counters/counter08-expected.png: Added.
* fast/css/counters/counter08-expected.txt: Added.
* fast/css/counters/counter08.html: Added.
* fast/css/counters/counter09-expected.checksum: Added.
* fast/css/counters/counter09-expected.png: Added.
* fast/css/counters/counter09-expected.txt: Added.
* fast/css/counters/counter09.html: Added.
* fast/css/counters/counter10-expected.checksum: Added.
* fast/css/counters/counter10-expected.png: Added.
* fast/css/counters/counter10-expected.txt: Added.
* fast/css/counters/counter10.html: Added.
* fast/css/counters/counter11-expected.checksum: Added.
* fast/css/counters/counter11-expected.png: Added.
* fast/css/counters/counter11-expected.txt: Added.
* fast/css/counters/counter11.html: Added.
* fast/css/counters/counter12-expected.checksum: Added.
* fast/css/counters/counter12-expected.png: Added.
* fast/css/counters/counter12-expected.txt: Added.
* fast/css/counters/counter12.html: Added.
* fast/css/counters/counter13-expected.checksum: Added.
* fast/css/counters/counter13-expected.png: Added.
* fast/css/counters/counter13-expected.txt: Added.
* fast/css/counters/counter13.html: Added.
* fast/css/counters/counter14-expected.checksum: Added.
* fast/css/counters/counter14-expected.png: Added.
* fast/css/counters/counter14-expected.txt: Added.
* fast/css/counters/counter14.html: Added.
* fast/css/counters/counter15-expected.checksum: Added.
* fast/css/counters/counter15-expected.png: Added.
* fast/css/counters/counter15-expected.txt: Added.
* fast/css/counters/counter15.html: Added.
* fast/css/counters/counter16-expected.checksum: Added.
* fast/css/counters/counter16-expected.png: Added.
* fast/css/counters/counter16-expected.txt: Added.
* fast/css/counters/counter16.html: Added.
* fast/css/counters/counters00-expected.checksum: Added.
* fast/css/counters/counters00-expected.png: Added.
* fast/css/counters/counters00-expected.txt: Added.
* fast/css/counters/counters00.html: Added.
* fast/css/counters/counters01-expected.checksum: Added.
* fast/css/counters/counters01-expected.png: Added.
* fast/css/counters/counters01-expected.txt: Added.
* fast/css/counters/counters01.html: Added.
* fast/css/counters/counters02-expected.checksum: Added.
* fast/css/counters/counters02-expected.png: Added.
* fast/css/counters/counters02-expected.txt: Added.
* fast/css/counters/counters02.html: Added.
* fast/css/counters/counters03-expected.checksum: Added.
* fast/css/counters/counters03-expected.png: Added.
* fast/css/counters/counters03-expected.txt: Added.
* fast/css/counters/counters03.html: Added.
* fast/css/counters/counters04-expected.checksum: Added.
* fast/css/counters/counters04-expected.png: Added.
* fast/css/counters/counters04-expected.txt: Added.
* fast/css/counters/counters04.html: Added.
* fast/css/counters/counters05-expected.checksum: Added.
* fast/css/counters/counters05-expected.png: Added.
* fast/css/counters/counters05-expected.txt: Added.
* fast/css/counters/counters05.html: Added.
* fast/css/counters/counters06-expected.checksum: Added.
* fast/css/counters/counters06-expected.png: Added.
* fast/css/counters/counters06-expected.txt: Added.
* fast/css/counters/counters06.html: Added.
* fast/css/counters/counters07-expected.checksum: Added.
* fast/css/counters/counters07-expected.png: Added.
* fast/css/counters/counters07-expected.txt: Added.
* fast/css/counters/counters07.html: Added.
* fast/css/counters/counters08-expected.checksum: Added.
* fast/css/counters/counters08-expected.png: Added.
* fast/css/counters/counters08-expected.txt: Added.
* fast/css/counters/counters08.html: Added.
* fast/css/counters/counters09-expected.checksum: Added.
* fast/css/counters/counters09-expected.png: Added.
* fast/css/counters/counters09-expected.txt: Added.
* fast/css/counters/counters09.html: Added.
* fast/css/counters/counters10-expected.checksum: Added.
* fast/css/counters/counters10-expected.png: Added.
* fast/css/counters/counters10-expected.txt: Added.
* fast/css/counters/counters10.html: Added.
* fast/css/counters/counters11-expected.checksum: Added.
* fast/css/counters/counters11-expected.png: Added.
* fast/css/counters/counters11-expected.txt: Added.
* fast/css/counters/counters11.html: Added.
* fast/css/counters/counters12-expected.checksum: Added.
* fast/css/counters/counters12-expected.png: Added.
* fast/css/counters/counters12-expected.txt: Added.
* fast/css/counters/counters12.html: Added.
* fast/css/counters/counters13-expected.checksum: Added.
* fast/css/counters/counters13-expected.png: Added.
* fast/css/counters/counters13-expected.txt: Added.
* fast/css/counters/counters13.html: Added.
* fast/css/counters/counters14-expected.checksum: Added.
* fast/css/counters/counters14-expected.png: Added.
* fast/css/counters/counters14-expected.txt: Added.
* fast/css/counters/counters14.html: Added.
* fast/css/counters/counters15-expected.checksum: Added.
* fast/css/counters/counters15-expected.png: Added.
* fast/css/counters/counters15-expected.txt: Added.
* fast/css/counters/counters15.html: Added.
* fast/css/counters/counters18-expected.checksum: Added.
* fast/css/counters/counters18-expected.png: Added.
* fast/css/counters/counters18-expected.txt: Added.
* fast/css/counters/counters18.html: Added.
* fast/css/counters/implied00-expected.checksum: Added.
* fast/css/counters/implied00-expected.png: Added.
* fast/css/counters/implied00-expected.txt: Added.
* fast/css/counters/implied00.html: Added.
* fast/css/counters/root-expected.checksum: Added.
* fast/css/counters/root-expected.png: Added.
* fast/css/counters/root-expected.txt: Added.
* fast/css/counters/root.html: Added.
* fast/css/counters/visibilityNone-expected.checksum: Added.
* fast/css/counters/visibilityNone-expected.png: Added.
* fast/css/counters/visibilityNone-expected.txt: Added.
* fast/css/counters/visibilityNone.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16722
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
bdakin [Mon, 2 Oct 2006 23:15:31 +0000 (23:15 +0000)]
Reviewed by Darin.
Initial implementation of CSS2 counters. See http://
bugs.webkit.org/show_bug.cgi?id=4980 for more details.
* WebCore.xcodeproj/project.pbxproj:
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Return
the increment/reset list now that this is implemented.
* css/CSSPrimitiveValue.cpp:
(WebCore::CSSPrimitiveValue::cssText):
* css/Counter.h:
(WebCore::Counter::Counter):
(WebCore::Counter::~Counter):
(WebCore::Counter::identifier):
(WebCore::Counter::listStyle):
(WebCore::Counter::separator):
(WebCore::Counter::listStyleNumber):
(WebCore::Counter::setIdentifier):
(WebCore::Counter::setListStyle):
(WebCore::Counter::setSeparator):
* css/cssparser.cpp:
(WebCore::CSSParser::addProperty): Take care of reset/increment
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseContent): content can now take counters
(WebCore::CSSParser::parseCounterContent): Parse counter() and
counters()
(WebCore::CSSParser::parseCounter): Parse counter-reset and
counter-increment
* css/cssparser.h:
* css/cssstyleselector.cpp:
(WebCore::CSSStyleSelector::matchUARules):
(WebCore::CSSStyleSelector::applyProperty):
* platform/PlatformString.h:
* platform/String.cpp:
(WebCore::String::insert): Implemented a version of insert that
accepts a UChar* and a length.
* platform/StringImpl.cpp:
(WebCore::StringImpl::insert): Same as above.
* platform/StringImpl.h:
* rendering/CounterListItem.h: Added.
* rendering/CounterNode.cpp: Added.
(WebCore::CounterNode::CounterNode):
(WebCore::CounterNode::insertAfter):
(WebCore::CounterNode::removeChild):
(WebCore::CounterNode::remove):
(WebCore::CounterNode::setUsesSeparator):
(WebCore::CounterNode::recountAndGetNext):
(WebCore::CounterNode::recountTree):
(WebCore::CounterNode::setSelfDirty):
(WebCore::CounterNode::setParentDirty):
* rendering/CounterNode.h: Added.
(WebCore::CounterNode::~CounterNode):
(WebCore::CounterNode::parent):
(WebCore::CounterNode::previousSibling):
(WebCore::CounterNode::nextSibling):
(WebCore::CounterNode::firstChild):
(WebCore::CounterNode::lastChild):
(WebCore::CounterNode::value):
(WebCore::CounterNode::setValue):
(WebCore::CounterNode::count):
(WebCore::CounterNode::setCount):
(WebCore::CounterNode::setHasSeparator):
(WebCore::CounterNode::isReset):
(WebCore::CounterNode::hasSeparator):
(WebCore::CounterNode::willNeedLayout):
(WebCore::CounterNode::setWillNeedLayout):
(WebCore::CounterNode::isRoot):
(WebCore::CounterNode::setRenderer):
(WebCore::CounterNode::renderer):
* rendering/CounterResetNode.cpp: Added.
(WebCore::CounterResetNode::CounterResetNode):
(WebCore::CounterResetNode::insertAfter):
(WebCore::CounterResetNode::removeChild):
(WebCore::CounterResetNode::recountAndGetNext):
(WebCore::CounterResetNode::setParentDirty):
(WebCore::CounterResetNode::updateTotal):
* rendering/CounterResetNode.h: Added.
(WebCore::CounterResetNode::firstChild):
(WebCore::CounterResetNode::lastChild):
(WebCore::CounterResetNode::isReset):
(WebCore::CounterResetNode::total):
* rendering/RenderContainer.cpp:
(WebCore::RenderContainer::updatePseudoChildForObject): Account for
counter content.
* rendering/RenderCounter.cpp: Added.
(WebCore::RenderCounter::RenderCounter):
(WebCore::RenderCounter::layout):
(WebCore::toRoman):
(WebCore::toLetterString):
(WebCore::toHebrew):
(WebCore::RenderCounter::convertValueToType):
(WebCore::RenderCounter::calcMinMaxWidth):
* rendering/RenderCounter.h: Added.
(WebCore::RenderCounter::renderName):
(WebCore::RenderCounter::isCounter):
* rendering/RenderObject.cpp:
(WebCore::getRenderObjectsToCounterNodeMaps): Maps RenderObjects to
maps of CounterNodes
(WebCore::RenderObject::RenderObject):
(WebCore::RenderObject::destroy): Destroy the maps.
(WebCore::RenderObject::findCounter): Finds/creates counters.
* rendering/RenderObject.h:
(WebCore::RenderObject::isCounter):
* rendering/RenderStyle.cpp:
(WebCore::StyleVisualData::StyleVisualData):
(WebCore::RenderStyle::arenaDelete):
(WebCore::RenderStyle::RenderStyle):
(WebCore::RenderStyle::diff):
(WebCore::RenderStyle::setContent):
(WebCore::ContentData::clearContent):
(WebCore::RenderStyle::counterDataEquivalent):
(WebCore::hasCounter):
(WebCore::RenderStyle::hasCounterReset):
(WebCore::RenderStyle::hasCounterIncrement):
(WebCore::readCounter):
(WebCore::RenderStyle::counterReset):
(WebCore::RenderStyle::counterIncrement):
* rendering/RenderStyle.h:
(WebCore::StyleVisualData::operator==):
(WebCore::CounterData::CounterData):
(WebCore::CounterData::identifier):
(WebCore::CounterData::listStyle):
(WebCore::CounterData::separator):
(WebCore::ContentData::contentCounter):
(WebCore::ContentData::):
(WebCore::RenderStyle::counterIncrement):
(WebCore::RenderStyle::counterReset):
(WebCore::RenderStyle::setCounterIncrement):
(WebCore::RenderStyle::setCounterReset):
(WebCore::RenderStyle::setCounterResetList):
(WebCore::RenderStyle::setCounterIncrementList):
(WebCore::RenderStyle::counterResetValueList):
(WebCore::RenderStyle::counterIncrementValueList):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16721
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
aroben [Mon, 2 Oct 2006 21:03:31 +0000 (21:03 +0000)]
Reviewed by Tim H.
This change fixes a couple of problems with the window-properties
test. window-properties' output changes depending on the presence or
non-presence of session history (see
http://bugs.webkit.org/show_bug.cgi?id=10965 for details). For this
reason, the test must always be run as part of a run of ALL layout
tests. The test results checked in were generated from an individual
run of this test, so the buildbots were always failing since they run
all the tests at once.
This change regenerates the results for the test using a full run of
layout tests. The test now also prints out object class names, and
will print an error message when the test is run by itself.
* fast/js/window-properties-expected.txt:
* fast/js/window-properties.html:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16720
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
justing [Mon, 2 Oct 2006 20:44:13 +0000 (20:44 +0000)]
Reviewed by john
<rdar://problem/
4757583>
REGRESSION: tabbing into page focuses wrong control on 2nd pass
<rdar://problem/
4757594>
REGRESSION: Form field is left with secondary selection after tabbing out of WebView
* WebView/WebHTMLView.m:
(-[NSArray maintainsInactiveSelection]): Replace code that I removed in error in the patch
for 9642. Only leave inactive editable selections in the WebHTMLView if the nextResponder
is in the same WebView.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16719
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
adele [Mon, 2 Oct 2006 20:30:43 +0000 (20:30 +0000)]
LayoutTests:
Reviewed by Adam.
- Updated results for <rdar://problem/
4463841> Switch to use new list box implementation for <select multiple>
* fast/forms/HTMLOptionElement_label05-expected.checksum:
* fast/forms/HTMLOptionElement_label05-expected.png:
* fast/forms/HTMLOptionElement_label05-expected.txt:
* fast/forms/form-element-geometry-expected.checksum:
* fast/forms/form-element-geometry-expected.png:
* fast/forms/form-element-geometry-expected.txt:
* fast/forms/option-strip-whitespace-expected.checksum:
* fast/forms/option-strip-whitespace-expected.png:
* fast/forms/option-strip-whitespace-expected.txt:
* fast/forms/password-doubleclick-selection-expected.txt: Added.
* fast/forms/password-doubleclick-selection.html: Added.
* fast/forms/select-change-popup-to-listbox-expected.checksum:
* fast/forms/select-change-popup-to-listbox-expected.png:
* fast/forms/select-change-popup-to-listbox-expected.txt:
* fast/text/updateNewFont-expected.checksum:
* fast/text/updateNewFont-expected.png:
* fast/text/updateNewFont-expected.txt:
WebCore:
Reviewed by Adam.
- Fix for <rdar://problem/
4463841> Switch to use new list box implementation for <select multiple>
There are a few outstanding issues, so I've left the old code in for now. So you can use the old-style listboxes
by using "-webkit-appearance:none".
* css/html4.css:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16718
268f45cc-cd09-0410-ab3c-
d52691b4dbfc