- 29 Apr, 2009 31 commits
-
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. Reverted my previous change to add resetChromiumPluginCache(). https://bugs.webkit.org/show_bug.cgi?id=25318 * plugins/chromium/PluginDataChromium.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@43004 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
beidson@apple.com authored
Reviewed by Darin Adler <rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail Roll out trac.webkit.org/changeset/35867 which fixed <rdar://problem/6153432> Cloned <rdar://problem/6153432> to <rdar://problem/6839881> to find a better fix for that Tiger Mail bug. * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::subresource): Remove the preload referenced check. git-svn-id: svn://svn.chromium.org/blink/trunk@43003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Dimitri Glazkov. https://bugs.webkit.org/show_bug.cgi?id=25430 Provide style sheet for UI controls of media elements for Chromium port. * rendering/RenderThemeChromiumWin.cpp: (WebCore::RenderThemeChromiumWin::extraMediaControlsStyleSheet): git-svn-id: svn://svn.chromium.org/blink/trunk@43002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. Expose sudden termination to Chromium port. https://bugs.webkit.org/show_bug.cgi?id=25457 * platform/SuddenTermination.h: * platform/chromium/ChromiumBridge.h: * platform/chromium/SuddenTerminationChromium.cpp: Added. (WebCore::disableSuddenTermination): (WebCore::enableSuddenTermination): git-svn-id: svn://svn.chromium.org/blink/trunk@43001 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Dimitri Glazkov. Remove unused EventListeners. * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@43000 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hyatt@apple.com authored
Reviewed by John Sullivan. Fix for <rdar://problem/6835573>, Find Banner turns invisible when WebView is resized. Make sure not to resize the interior views of a WebView in response to its bounds changing when not using viewless WebKit. Auto-resizing rules were already in place to handle size adjustments for us. Just mark as needing layout and do nothing else. This does mean viewless WebKit is broken with the Find Banner, and that will likely require a Safari change (using a new API that will enable clients to define the edges of the content area as offsets from the sides of the WebView). * WebView/WebView.mm: (-[WebView _boundsChanged]): git-svn-id: svn://svn.chromium.org/blink/trunk@42999 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Disable media/video-zoom-controls.html on Windows for now. * platform/win/Skipped: add media/video-zoom-controls.html. git-svn-id: svn://svn.chromium.org/blink/trunk@42998 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timothy@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25448 Reviewed by Timothy Hatcher. * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._loaded): git-svn-id: svn://svn.chromium.org/blink/trunk@42997 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ariya@webkit.org authored
2009-04-29 Ariya Hidayat <ariya.hidayat@nokia.com> Reviewed by Simon Fraser. [Qt] Initialize GraphicsContext's and ImageBuffer's QPainter to match the default values of canvas attributes. * platform/graphics/qt/ImageBufferQt.cpp: (WebCore::ImageBufferData::ImageBufferData): LayoutTests: 2009-04-29 Ariya Hidayat <ariya.hidayat@nokia.com> Reviewed by Simon Fraser. Updated expected results after Qt's GraphicsContext fixes. * platform/qt/fast/canvas/set-colors-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@42996 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ariya@webkit.org authored
Reviewed by Simon Hausmann. Implement QWebElement::evaluateScript. * Api/qwebelement.cpp: (setupScriptContext): (QWebElement::evaluateScript): * Api/qwebelement.h: * tests/qwebelement/tst_qwebelement.cpp: (tst_QWebElement::evaluateScript): git-svn-id: svn://svn.chromium.org/blink/trunk@42995 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Reviewed by Ariya Hidayat. Replaced QWebElementCollection with QList<QWebElement>. git-svn-id: svn://svn.chromium.org/blink/trunk@42994 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
git-svn-id: svn://svn.chromium.org/blink/trunk@42993 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
https://bugs.webkit.org/show_bug.cgi?id=25420ap@webkit.org authored
experimenting with other aspects of the issue, so it didn't check what it should have checked. * http/tests/xmlhttprequest/detaching-frame-2.html: git-svn-id: svn://svn.chromium.org/blink/trunk@42992 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
Rubber stamped by Beth Dakin. Missed one. * UserObjectImp.cpp: (UserObjectImp::callAsFunction): git-svn-id: svn://svn.chromium.org/blink/trunk@42991 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
Rubber stamped by Beth Dakin. Missed one. * bindings/scripts/CodeGeneratorJS.pm: git-svn-id: svn://svn.chromium.org/blink/trunk@42990 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * API/JSCallbackConstructor.cpp: (JSC::constructJSCallback): * API/JSCallbackFunction.cpp: (JSC::JSCallbackFunction::call): * API/JSCallbackObjectFunctions.h: (JSC::::construct): (JSC::::call): * bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump): * bytecode/CodeBlock.h: (JSC::CodeBlock::getConstant): * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitEqualityOp): * interpreter/CallFrame.cpp: (JSC::CallFrame::thisValue): * interpreter/Interpreter.cpp: (JSC::Interpreter::callEval): (JSC::Interpreter::throwException): (JSC::Interpreter::createExceptionScope): (JSC::Interpreter::privateExecute): (JSC::Interpreter::retrieveArguments): * interpreter/Register.h: (JSC::Register::): (JSC::Register::Register): (JSC::Register::jsValue): (JSC::Register::marked): (JSC::Register::mark): (JSC::Register::i): (JSC::Register::activation): (JSC::Register::arguments): (JSC::Register::callFrame): (JSC::Register::codeBlock): (JSC::Register::function): (JSC::Register::propertyNameIterator): (JSC::Register::scopeChain): (JSC::Register::vPC): * jit/JITStubs.cpp: (JSC::JITStubs::cti_op_call_NotJSFunction): (JSC::JITStubs::cti_op_load_varargs): (JSC::JITStubs::cti_op_call_eval): * jsc.cpp: (functionPrint): (functionDebug): (functionRun): (functionLoad): * runtime/ArgList.h: (JSC::ArgList::at): * runtime/Arguments.cpp: (JSC::Arguments::copyToRegisters): (JSC::Arguments::fillArgList): (JSC::Arguments::getOwnPropertySlot): * runtime/ArrayConstructor.cpp: (JSC::constructArrayWithSizeQuirk): * runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncJoin): (JSC::arrayProtoFuncConcat): (JSC::arrayProtoFuncPush): (JSC::arrayProtoFuncSlice): (JSC::arrayProtoFuncSort): (JSC::arrayProtoFuncSplice): (JSC::arrayProtoFuncUnShift): (JSC::arrayProtoFuncFilter): (JSC::arrayProtoFuncMap): (JSC::arrayProtoFuncEvery): (JSC::arrayProtoFuncForEach): (JSC::arrayProtoFuncSome): (JSC::arrayProtoFuncReduce): (JSC::arrayProtoFuncReduceRight): (JSC::arrayProtoFuncIndexOf): (JSC::arrayProtoFuncLastIndexOf): * runtime/BooleanConstructor.cpp: (JSC::constructBoolean): (JSC::callBooleanConstructor): * runtime/DateConstructor.cpp: (JSC::constructDate): (JSC::dateParse): (JSC::dateUTC): * runtime/DatePrototype.cpp: (JSC::formatLocaleDate): (JSC::fillStructuresUsingTimeArgs): (JSC::fillStructuresUsingDateArgs): (JSC::dateProtoFuncSetTime): (JSC::dateProtoFuncSetYear): * runtime/ErrorConstructor.cpp: (JSC::constructError): * runtime/FunctionConstructor.cpp: (JSC::constructFunction): * runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncApply): (JSC::functionProtoFuncCall): * runtime/JSArray.cpp: (JSC::JSArray::JSArray): (JSC::constructArray): * runtime/JSArray.h: * runtime/JSGlobalObjectFunctions.cpp: (JSC::encode): (JSC::decode): (JSC::globalFuncEval): (JSC::globalFuncParseInt): (JSC::globalFuncParseFloat): (JSC::globalFuncIsNaN): (JSC::globalFuncIsFinite): (JSC::globalFuncEscape): (JSC::globalFuncUnescape): (JSC::globalFuncJSCPrint): * runtime/MathObject.cpp: (JSC::mathProtoFuncAbs): (JSC::mathProtoFuncACos): (JSC::mathProtoFuncASin): (JSC::mathProtoFuncATan): (JSC::mathProtoFuncATan2): (JSC::mathProtoFuncCeil): (JSC::mathProtoFuncCos): (JSC::mathProtoFuncExp): (JSC::mathProtoFuncFloor): (JSC::mathProtoFuncLog): (JSC::mathProtoFuncMax): (JSC::mathProtoFuncMin): (JSC::mathProtoFuncPow): (JSC::mathProtoFuncRound): (JSC::mathProtoFuncSin): (JSC::mathProtoFuncSqrt): (JSC::mathProtoFuncTan): * runtime/NativeErrorConstructor.cpp: (JSC::NativeErrorConstructor::construct): * runtime/NumberConstructor.cpp: (JSC::constructWithNumberConstructor): (JSC::callNumberConstructor): * runtime/NumberPrototype.cpp: (JSC::numberProtoFuncToString): (JSC::numberProtoFuncToFixed): (JSC::numberProtoFuncToExponential): (JSC::numberProtoFuncToPrecision): * runtime/ObjectConstructor.cpp: (JSC::constructObject): * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncHasOwnProperty): (JSC::objectProtoFuncIsPrototypeOf): (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): (JSC::objectProtoFuncPropertyIsEnumerable): * runtime/PropertySlot.h: (JSC::PropertySlot::getValue): * runtime/RegExpConstructor.cpp: (JSC::constructRegExp): * runtime/RegExpObject.cpp: (JSC::RegExpObject::match): * runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncCompile): * runtime/StringConstructor.cpp: (JSC::stringFromCharCodeSlowCase): (JSC::stringFromCharCode): (JSC::constructWithStringConstructor): (JSC::callStringConstructor): * runtime/StringPrototype.cpp: (JSC::stringProtoFuncReplace): (JSC::stringProtoFuncCharAt): (JSC::stringProtoFuncCharCodeAt): (JSC::stringProtoFuncConcat): (JSC::stringProtoFuncIndexOf): (JSC::stringProtoFuncLastIndexOf): (JSC::stringProtoFuncMatch): (JSC::stringProtoFuncSearch): (JSC::stringProtoFuncSlice): (JSC::stringProtoFuncSplit): (JSC::stringProtoFuncSubstr): (JSC::stringProtoFuncSubstring): (JSC::stringProtoFuncLocaleCompare): (JSC::stringProtoFuncFontcolor): (JSC::stringProtoFuncFontsize): (JSC::stringProtoFuncAnchor): (JSC::stringProtoFuncLink): WebCore: 2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * bindings/js/JSAudioConstructor.cpp: (WebCore::constructAudio): * bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::strokeRect): (WebCore::JSCanvasRenderingContext2D::drawImage): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::createPattern): (WebCore::JSCanvasRenderingContext2D::putImageData): (WebCore::JSCanvasRenderingContext2D::fillText): (WebCore::JSCanvasRenderingContext2D::strokeText): * bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setData): (WebCore::JSClipboard::setDragImage): * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::hasItem): (WebCore::JSDOMApplicationCache::add): (WebCore::JSDOMApplicationCache::remove): (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener): * bindings/js/JSDOMStringListCustom.cpp: (WebCore::JSDOMStringList::item): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::open): (WebCore::JSDOMWindow::showModalDialog): (WebCore::JSDOMWindow::postMessage): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): (WebCore::JSDOMWindow::atob): (WebCore::JSDOMWindow::btoa): (WebCore::JSDOMWindow::addEventListener): (WebCore::JSDOMWindow::removeEventListener): * bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): (WebCore::JSDatabase::transaction): * bindings/js/JSElementCustom.cpp: (WebCore::JSElement::setAttribute): (WebCore::JSElement::setAttributeNode): (WebCore::JSElement::setAttributeNS): (WebCore::JSElement::setAttributeNodeNS): * bindings/js/JSGeolocationCustom.cpp: (WebCore::JSGeolocation::getCurrentPosition): (WebCore::JSGeolocation::watchPosition): * bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::callHTMLCollection): (WebCore::JSHTMLCollection::item): (WebCore::JSHTMLCollection::namedItem): * bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::documentWrite): * bindings/js/JSHTMLInputElementCustom.cpp: (WebCore::JSHTMLInputElement::setSelectionRange): * bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::add): * bindings/js/JSHTMLSelectElementCustom.cpp: (WebCore::JSHTMLSelectElement::remove): * bindings/js/JSImageConstructor.cpp: (WebCore::constructImage): * bindings/js/JSInspectorControllerCustom.cpp: (WebCore::JSInspectorController::highlightDOMNode): (WebCore::JSInspectorController::addResourceSourceToFrame): (WebCore::JSInspectorController::addSourceToFrame): (WebCore::JSInspectorController::getResourceDocumentNode): (WebCore::JSInspectorController::search): (WebCore::JSInspectorController::databaseTableNames): (WebCore::JSInspectorController::setting): (WebCore::JSInspectorController::setSetting): (WebCore::JSInspectorController::wrapCallback): * bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::evaluate): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::replace): (WebCore::JSLocation::assign): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::startConversation): (WebCore::JSMessagePort::addEventListener): (WebCore::JSMessagePort::removeEventListener): * bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::insertBefore): (WebCore::JSNode::replaceChild): (WebCore::JSNode::removeChild): (WebCore::JSNode::appendChild): (WebCore::JSNode::addEventListener): (WebCore::JSNode::removeEventListener): * bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::acceptNode): * bindings/js/JSNodeListCustom.cpp: (WebCore::callNodeList): * bindings/js/JSOptionConstructor.cpp: (WebCore::constructHTMLOptionElement): * bindings/js/JSQuarantinedObjectWrapper.cpp: (WebCore::JSQuarantinedObjectWrapper::construct): (WebCore::JSQuarantinedObjectWrapper::call): * bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item): * bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql): * bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::addEventListener): (WebCore::JSSVGElementInstance::removeEventListener): * bindings/js/JSSVGLengthCustom.cpp: (WebCore::JSSVGLength::convertToSpecifiedUnits): * bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::rotateFromVector): * bindings/js/JSSVGPathSegListCustom.cpp: (WebCore::JSSVGPathSegList::initialize): (WebCore::JSSVGPathSegList::getItem): (WebCore::JSSVGPathSegList::insertItemBefore): (WebCore::JSSVGPathSegList::replaceItem): (WebCore::JSSVGPathSegList::removeItem): (WebCore::JSSVGPathSegList::appendItem): * bindings/js/JSSVGPointListCustom.cpp: (WebCore::JSSVGPointList::initialize): (WebCore::JSSVGPointList::getItem): (WebCore::JSSVGPointList::insertItemBefore): (WebCore::JSSVGPointList::replaceItem): (WebCore::JSSVGPointList::removeItem): (WebCore::JSSVGPointList::appendItem): * bindings/js/JSSVGTransformListCustom.cpp: (WebCore::JSSVGTransformList::initialize): (WebCore::JSSVGTransformList::getItem): (WebCore::JSSVGTransformList::insertItemBefore): (WebCore::JSSVGTransformList::replaceItem): (WebCore::JSSVGTransformList::removeItem): (WebCore::JSSVGTransformList::appendItem): * bindings/js/JSWebKitCSSMatrixConstructor.cpp: (WebCore::constructWebKitCSSMatrix): * bindings/js/JSWebKitPointConstructor.cpp: (WebCore::constructWebKitPoint): * bindings/js/JSWorkerConstructor.cpp: (WebCore::constructWorker): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::importScripts): (WebCore::JSWorkerContext::addEventListener): (WebCore::JSWorkerContext::removeEventListener): (WebCore::JSWorkerContext::setTimeout): (WebCore::JSWorkerContext::setInterval): * bindings/js/JSWorkerCustom.cpp: (WebCore::JSWorker::addEventListener): (WebCore::JSWorker::removeEventListener): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::setRequestHeader): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::getResponseHeader): (WebCore::JSXMLHttpRequest::overrideMimeType): (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): * bindings/js/JSXMLHttpRequestUploadCustom.cpp: (WebCore::JSXMLHttpRequestUpload::addEventListener): (WebCore::JSXMLHttpRequestUpload::removeEventListener): * bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::importStylesheet): (WebCore::JSXSLTProcessor::transformToFragment): (WebCore::JSXSLTProcessor::transformToDocument): (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): (WebCore::ScheduledAction::ScheduledAction): * bindings/js/ScheduledAction.h: * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptCallFrame.h: * bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::initialize): * bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): (JSC::Bindings::CInstance::invokeConstruct): * bridge/jni/jni_instance.cpp: (JavaInstance::invokeMethod): * bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): WebKit/mac: 2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::marshalValues): git-svn-id: svn://svn.chromium.org/blink/trunk@42989 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ddkilzer@apple.com authored
Reviewed by Maciej Stachowiak. Revised fix for <rdar://problem/5861045> in r42644. * runtime/UString.cpp: (JSC::newCapacityWithOverflowCheck): Added. (JSC::concatenate): Used newCapacityWithOverflowCheck(). (JSC::UString::append): Ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@42988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ddkilzer@apple.com authored
Reviewed by David Hyatt. Restore alignment to device pixel boundaries. https://bugs.webkit.org/show_bug.cgi?id=25458 Adjust the adjusted destination rect to be device pixel aligned. * platform/graphics/cg/ImageCG.cpp: (WebCore::BitmapImage::draw): 2009-04-28 David Carson <dacarson@apple.com> Reviewed by David Kilzer. Restore alignment to device pixel boundaries. https://bugs.webkit.org/show_bug.cgi?id=25458 Updated test results with progressions. * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.checksum: * platform/mac/svg/W3C-SVG-1.1/render-groups-03-t-expected.png: Yin-yang image shifted slightly to pixel boundaries. * platform/mac/svg/custom/focus-ring-expected.checksum: * platform/mac/svg/custom/focus-ring-expected.png: Focus rings drawn around rotated "focus text" and checkered images shifted slightly to pixel boundaries. * platform/mac/svg/custom/image-small-width-height-expected.checksum: * platform/mac/svg/custom/image-small-width-height-expected.png: Checkered images shifted slightly to pixel boundaries. git-svn-id: svn://svn.chromium.org/blink/trunk@42987 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ddkilzer@apple.com authored
* platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.checksum: Added. * platform/mac/fast/css-generated-content/beforeAfter-interdocument-expected.png: Added. * platform/mac/fast/table/cell-coalescing-expected.checksum: Added. * platform/mac/fast/table/cell-coalescing-expected.png: Added. * platform/mac/webarchive/adopt-attribute-styled-body-webarchive-expected.checksum: Added. * platform/mac/webarchive/adopt-attribute-styled-body-webarchive-expected.png: Added. * platform/mac/webarchive/adopt-attribute-styled-node-webarchive-expected.checksum: Added. * platform/mac/webarchive/adopt-attribute-styled-node-webarchive-expected.png: Added. * platform/mac/webarchive/adopt-inline-styled-node-webarchive-expected.checksum: Added. * platform/mac/webarchive/adopt-inline-styled-node-webarchive-expected.png: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42986 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Anders Carlsson. Move unimplemented captureEvents and releaseEvents from JSDOMWindow to DOMWindow. * bindings/js/JSDOMWindowCustom.cpp: * page/DOMWindow.cpp: (WebCore::DOMWindow::captureEvents): (WebCore::DOMWindow::releaseEvents): * page/DOMWindow.h: * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@42985 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@webkit.org authored
git-svn-id: svn://svn.chromium.org/blink/trunk@42984 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=25420 <rdar://problem/6829570> REGRESSION: XMLHttpRequest allows loading from another origin Test: http/tests/xmlhttprequest/detaching-frame-2.html This was caused by faulty DOMWindow::document(), which could return a new document from the window's frame after navigation. * bindings/js/JSDOMWindowCustom.h: (WebCore::JSDOMWindowBase::allowsAccessFromPrivate): Removed an obsolete check that allowed access when document was null. Contrary to what a comment said, that can happen for a window that is no longer in frame, not to one whose document is not constructed yet. * bindings/js/JSXMLHttpRequestConstructor.cpp: (WebCore::constructXMLHttpRequest): Bail out if context was not found. This currently happens due to a shortcoming in DOMWindow::document() - when it is fixed, the XMLHttpRequest object in included regression test will be constructed successfully, but won't be sent, because its context will be frameless. * page/DOMWindow.cpp: (WebCore::DOMWindow::document): Check that the window in frame hasn't been replaced yet. Added FIXME comments about how this may be better fixed in the future. * bindings/js/JSAudioConstructor.cpp: (WebCore::JSAudioConstructor::document): (WebCore::constructAudio): * bindings/js/JSImageConstructor.cpp: (WebCore::JSImageConstructor::document): (WebCore::constructImage): * bindings/js/JSMessageChannelConstructor.cpp: (WebCore::JSMessageChannelConstructor::construct): * bindings/js/JSOptionConstructor.cpp: (WebCore::JSOptionConstructor::document): (WebCore::constructHTMLOptionElement): Make matching changes to other constructors that hold a reference to global object. git-svn-id: svn://svn.chromium.org/blink/trunk@42983 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Gavin Barraclough. Add logic to the codegen for right shift to avoid jumping to a helper function when shifting a small floating point value. git-svn-id: svn://svn.chromium.org/blink/trunk@42982 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
git-svn-id: svn://svn.chromium.org/blink/trunk@42980 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ddkilzer@apple.com authored
Reviewed by David Kilzer. https://bugs.webkit.org/show_bug.cgi?id=25462 Make sure "--pixel --add-platform-exceptions" produces platform specific pixel test results. * Scripts/run-webkit-tests: Support "--pixel --add-platform-exceptions" git-svn-id: svn://svn.chromium.org/blink/trunk@42979 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
git-svn-id: svn://svn.chromium.org/blink/trunk@42978 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Add a couple table hit tests https://bugs.webkit.org/show_bug.cgi?id=21892 * svg/hittest/svg-inside-display-table-expected.txt: Added. * svg/hittest/svg-inside-display-table.xhtml: Added. * svg/hittest/svg-inside-table-expected.txt: Added. * svg/hittest/svg-inside-table.xhtml: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42977 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Geoff Garen Add a cti_get_by_val_string function to specialise indexing into a string object. This gives us a slight performance win on a number of string tests. git-svn-id: svn://svn.chromium.org/blink/trunk@42976 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Simon Fraser. <rdar://problem/6834830> Make sure we cover the two possible values reported by event.total that are playback engine specific. * media/progress-event-total-expected.txt: Match the new test. * media/progress-event-total.html: Test the two values. git-svn-id: svn://svn.chromium.org/blink/trunk@42975 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timothy@apple.com authored
collects the individual rects, making sure to only include RenderText. <rdar://problem/6810061> Reviewed by Sam Weinig. * bindings/objc/DOM.mm: (-[DOMNode textRects]): Added. Make a Range and call textRects. (-[DOMNode lineBoxRects]): Call textRects method. (-[DOMRange textRects]): Call Range::textRects. (-[DOMRange lineBoxRects]): Call textRects method. * bindings/objc/DOMPrivate.h: Add the new methods and a comment about lineBoxRects being deprecated. * dom/Range.cpp: (WebCore::Range::boundingBox): Call textRects (renamed from addLineBoxRects). (WebCore::Range::textRects): Renamed from addLineBoxRects. Iterate over the nodes instead of the RenderObjects to correctly account for offsets. Also only call absoluteRectsForRange on RenderText. * dom/Range.h: Renamed addLineBoxRects to textRects. * page/Frame.cpp: (WebCore::Frame::selectionTextRects): Call textRects (renamed from addLineBoxRects). * rendering/RenderObject.cpp: (WebCore::RenderObject::absoluteRectsForRange): Remove if conditions that made this function very specific for the lineBoxRects API. These functions are still used by the InspectorController, and this change improves what the Inspector shows. (WebCore::RenderObject::absoluteQuadsForRange): Ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@42974 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
timothy@apple.com authored
This argument was default to true and no one ever passed false. Reviewed by Sam Weinig. * rendering/RenderBlock.cpp: (WebCore::RenderBlock::absoluteRects): (WebCore::RenderBlock::absoluteQuads): * rendering/RenderBlock.h: * rendering/RenderBox.cpp: (WebCore::RenderBox::absoluteRects): (WebCore::RenderBox::absoluteQuads): * rendering/RenderBox.h: * rendering/RenderInline.cpp: (WebCore::RenderInline::absoluteRects): (WebCore::RenderInline::absoluteQuads): * rendering/RenderInline.h: * rendering/RenderObject.h: (WebCore::RenderObject::absoluteRects): (WebCore::RenderObject::absoluteQuads): * rendering/RenderSVGHiddenContainer.cpp: (WebCore::RenderSVGHiddenContainer::absoluteRects): (WebCore::RenderSVGHiddenContainer::absoluteQuads): * rendering/RenderSVGHiddenContainer.h: * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::absoluteRects): (WebCore::RenderSVGImage::absoluteQuads): * rendering/RenderSVGImage.h: * rendering/RenderSVGInlineText.cpp: (WebCore::RenderSVGInlineText::absoluteRects): (WebCore::RenderSVGInlineText::absoluteQuads): * rendering/RenderSVGInlineText.h: * rendering/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::absoluteRects): (WebCore::RenderSVGModelObject::absoluteQuads): * rendering/RenderSVGModelObject.h: * rendering/RenderSVGTSpan.cpp: (WebCore::RenderSVGTSpan::absoluteRects): (WebCore::RenderSVGTSpan::absoluteQuads): * rendering/RenderSVGTSpan.h: * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::absoluteRects): (WebCore::RenderSVGText::absoluteQuads): * rendering/RenderSVGText.h: * rendering/RenderSVGTextPath.cpp: (WebCore::RenderSVGTextPath::absoluteQuads): * rendering/RenderSVGTextPath.h: * rendering/RenderText.cpp: (WebCore::RenderText::absoluteRects): * rendering/RenderText.h: * rendering/RenderView.cpp: (WebCore::RenderView::absoluteRects): (WebCore::RenderView::absoluteQuads): * rendering/RenderView.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42973 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 28 Apr, 2009 9 commits
-
-
eric.carlson@apple.com authored
Reviewed by Simon Fraser. <rdar://problem/6794691> Media documents and <video controls> never show controls on Windows RenderThemeWin doesn't implement the media element controller rendering methods, so media controls stopped rendering when we switched from RenderThemeSafari. Rather than having copies of the code in both places, the logic is in a new class that is called from both. * WebCore.vcproj/WebCore.vcproj: Add RenderMediaControls.cpp. * rendering/RenderMediaControls.cpp: Added. (WebCore::determineState): Translate renderer state to ThemeControlState. (WebCore::RenderMediaControls::adjustMediaSliderThumbSize): Adjust slider thumb. (WebCore::parentMediaElement): Return the HTMLMediaElement parent of a controller element. (WebCore::RenderMediaControls::paintMediaControlsPart): Paint a media controller part. * rendering/RenderMediaControls.h: Added. * rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintSliderTrack): Remove the MediaSliderPart case, it is never called for the media slider. (WebCore::RenderThemeSafari::adjustSliderThumbSize): Call RenderMediaControls function. (WebCore::RenderThemeSafari::paintMediaFullscreenButton): Ditto. (WebCore::RenderThemeSafari::paintMediaMuteButton): Ditto. (WebCore::RenderThemeSafari::paintMediaPlayButton): Ditto. (WebCore::RenderThemeSafari::paintMediaSeekBackButton): Ditto. (WebCore::RenderThemeSafari::paintMediaSeekForwardButton): Ditto. (WebCore::RenderThemeSafari::paintMediaSliderTrack): Ditto. (WebCore::RenderThemeSafari::paintMediaSliderThumb): Ditto. * rendering/RenderThemeWin.cpp: (WebCore::RenderThemeWin::adjustSliderThumbSize): Ditto. (WebCore::RenderThemeWin::paintMediaFullscreenButton): Ditto. (WebCore::RenderThemeWin::paintMediaMuteButton): Ditto. (WebCore::RenderThemeWin::paintMediaPlayButton): Ditto. (WebCore::RenderThemeWin::paintMediaSeekBackButton): Ditto. (WebCore::RenderThemeWin::paintMediaSeekForwardButton): Ditto. (WebCore::RenderThemeWin::paintMediaSliderTrack): Ditto. (WebCore::RenderThemeWin::paintMediaSliderThumb): Ditto. * rendering/RenderThemeWin.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42972 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bdakin@apple.com authored
Reviewed by Sam Weinig. Fix for <rdar://problem/6419515> REGRESSION (r31037): Positioned images with % height are collapsed when printing * rendering/RenderBox.cpp: (WebCore::RenderBox::calcHeight): Make sure we don't ignore printing here! git-svn-id: svn://svn.chromium.org/blink/trunk@42971 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: fix distcheck build, add (even more) missing files to list. * GNUmakefile.am: git-svn-id: svn://svn.chromium.org/blink/trunk@42970 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
oliver@apple.com authored
Reviewed by Geoff Garen. Add logic to the codegen for right shift to avoid jumping to a helper function when shifting a small floating point value. git-svn-id: svn://svn.chromium.org/blink/trunk@42969 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
adele@apple.com authored
2009-04-28 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. Fix for <rdar://problem/6617298> Typing delete on an unquoted blank line unquotes the preceding, quoted blank line Test: editing/deleting/type-delete-after-quote.html When a selection is deleted that contains a whole number paragraphs plus a line break, we refrain from merging paragraphs after the delete, since it is unclear to most users that such a selection actually ends at the start of the next paragraph. However, when a user hits delete with a caret selection, they actually do expect the start of that paragraph to be merged into the paragraph before it. We can tell that we're in this state because the TypingCommand creates the selection to delete but it doesn't change the endingSelection. So we can tell that if we started with a caret selection, then we're not in this special case where we have to protect the user from unexpected behavior from deleting a range they selected. * editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializePositionData): LayoutTests: 2009-04-28 Adele Peterson <adele@apple.com> Reviewed by Darin Adler. Test for <rdar://problem/6617298> Typing delete on an unquoted blank line unquotes the preceding, quoted blank line * editing/deleting/type-delete-after-quote.html: Added. * platform/mac/editing/deleting/delete-4038408-fix-expected.txt: This expected result change reflects a change in how the editing is done, but the document structure remains the same, and there are no visible changes to the result. * platform/mac/editing/deleting/type-delete-after-quote-expected.checksum: Added. * platform/mac/editing/deleting/type-delete-after-quote-expected.png: Added. * platform/mac/editing/deleting/type-delete-after-quote-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42968 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: fix distcheck build, add (more) missing files to list. * GNUmakefile.am: git-svn-id: svn://svn.chromium.org/blink/trunk@42967 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Add text gradient test to cover https://bugs.webkit.org/show_bug.cgi?id=25403 * platform/mac/svg/text/text-gradient-positioning-expected.checksum: Added. * platform/mac/svg/text/text-gradient-positioning-expected.png: Added. * platform/mac/svg/text/text-gradient-positioning-expected.txt: Added. * svg/text/text-gradient-positioning.svg: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42966 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
andersca@apple.com authored
Reviewed by Kevin Decker and Darin Adler. Fix <rdar://problem/6836132>. * Plugins/Hosted/NetscapePluginHostProxy.mm: (WKPCCheckIfAllowedToLoadURL): Call the instance proxy. (WKPCCancelCheckIfAllowedToLoadURL): Ditto. * Plugins/Hosted/NetscapePluginInstanceProxy.h: * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::NetscapePluginInstanceProxy): Initialize the check ID counter. (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURL): Create a WebPluginContainerCheck, add it to the map, and start it. (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL): Remove the check from the map. (WebKit::NetscapePluginInstanceProxy::checkIfAllowedToLoadURLResult): Call the WKPH MIG callback. * Plugins/Hosted/WebHostedNetscapePluginView.h: * Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView _webPluginContainerCancelCheckIfAllowedToLoadRequest:]): Call the instance proxy. (-[WebHostedNetscapePluginView _containerCheckResult:contextInfo:]): Ditto. * Plugins/Hosted/WebKitPluginClient.defs: * Plugins/Hosted/WebKitPluginHost.defs: Add MIG declarations. git-svn-id: svn://svn.chromium.org/blink/trunk@42965 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Add text repaint test to cover https://bugs.webkit.org/show_bug.cgi?id=16188 * platform/mac/svg/text/text-repaint-rects-expected.checksum: Added. * platform/mac/svg/text/text-repaint-rects-expected.png: Added. * platform/mac/svg/text/text-repaint-rects-expected.txt: Added. * svg/text/text-repaint-rects.xhtml: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-