- 05 May, 2008 11 commits
-
-
ap@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=11947 nbsps should be converted to entities in innerHTML https://bugs.webkit.org/show_bug.cgi?id=18769 replacing with spaces using regexp creates inconsistent result Tests: fast/dom/innerHTML-nbsp.html fast/dom/innerHTML-escaping-attribute.html * editing/markup.cpp: (WebCore::appendAttributeValue): (WebCore::escapeContentText): (WebCore::appendEscapedContent): Added U+00a0/nbsp to the list of characters to escape. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt@apple.com authored
2008-05-05 David Hyatt <hyatt@apple.com> Fix for https://bugs.webkit.org/show_bug.cgi?id=18821. Fix some bugs in both get/PutImageData of <canvas>. Reviewed by Eric New tests added in fast/canvas/ * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::getImageData): (WebCore::ImageBuffer::putImageData): LayoutTests: 2008-05-05 David Hyatt <hyatt@apple.com> Fix for https://bugs.webkit.org/show_bug.cgi?id=18821, putImageData incorrect when data has alpha. Reviewed by Eric * fast/canvas/canvas-alphaImageData-behavior-expected.txt: Added. * fast/canvas/canvas-alphaImageData-behavior.html: Added. * fast/canvas/canvas-alphaImageData-behavior.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by John Sullivan. - fix debug-only leak seen on buildbot * wtf/HashTable.h: (WTF::HashTable::checkKey): After writing an empty value in, but before constructing a deleted value on top of it, call the destructor so the empty value doesn't leak. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Jess. Apparently preflighting can cause hangs for some reason. Revert this for now. * Plugins/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage _initWithPath:]): * Plugins/WebPluginPackage.m: (-[WebPluginPackage initWithPath:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
* Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit leak tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin@apple.com authored
Reviewed by Mitz. - https://bugs.webkit.org/show_bug.cgi?id=18789 fix some shouldCloseWithWindow edge cases * WebView/WebView.mm: (-[WebView viewWillMoveToWindow:]): Fix bug where we would stop observing the NSWindowWillCloseNotification if the view was moved out of the window but still had that window set as the host window. Also make sure this function doesn't do anything if the WebView is already closed. (-[WebView setHostWindow:]): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- fix test failure due to Windows' preference for Mac results over generic results * platform/win/editing/selection/move-left-right-expected.txt: Copied from LayoutTests/editing/selection/move-left-right-expected.txt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Dave Hyatt. - fix https://bugs.webkit.org/show_bug.cgi?id=18809 Forms with block level generated content and absolutely positioned labels break inline layout (fixed on reflow) Test: fast/block/basic/adding-near-anonymous-block.html * rendering/RenderBlock.cpp: (WebCore::RenderBlock::addChildToFlow): When adding a floating or positioned object, if it follows an anonymous block, put it inside the anonymous block. When adding an inline, check if it comes after an anonymous block and put it in the anonymous block. LayoutTests: Reviewed by Dave Hyatt. - test, updated test and updated results for https://bugs.webkit.org/show_bug.cgi?id=18809 Forms with block level generated content and absolutely positioned labels break inline layout (fixed on reflow) * fast/block/basic/adding-near-anonymous-block.html: Added. * media/video-controls-rendering.html: Changed to work around https://bugs.webkit.org/show_bug.cgi?id=18857 which now affects this test in its original form. * platform/mac/css1/box_properties/clear-expected.txt: * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.checksum: Added. * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.png: Added. * platform/mac/fast/block/basic/adding-near-anonymous-block-expected.txt: Added. * platform/mac/fast/forms/input-align-image-expected.txt: * platform/mac/media/audio-controls-rendering-expected.txt: * platform/mac/media/video-controls-rendering-expected.txt: * platform/mac/tables/mozilla/bugs/bug51140-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
Reviewed by Darin. Speculative fix for <rdar://problem/5906790> Crash in Loader::servePendingRequests() due to hash table being modified during iteration I don't know how to reproduce this. It would require the load to fail (or succeed) synchronously, something that should not usually happen. * loader/loader.cpp: (WebCore::Loader::Loader): (WebCore::Loader::load): (WebCore::Loader::servePendingRequests): (WebCore::Loader::cancelRequests): (WebCore::Loader::Host::Host): * loader/loader.h: (WebCore::Loader::Host::name): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG tests expect to be 480x360) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Disable SVG As Image support in the Qt port again, as it requires more work. Right now the chrome client is assumed to be a ChromeClientQt, which the SVG Image support changes. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 04 May, 2008 9 commits
-
-
kevino@webkit.org authored
Allow events to specify the ID of the particular wxWebView they are to be sent to. https://bugs.webkit.org/show_bug.cgi?id=18659 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
Reviewed by Mitz. Test for <rdar://problem/5840475> CrashTracer: [USER] 2 crashes in Safari at com.apple.WebCore: WebCore::RenderBlock::insertPositionedObject * fast/transforms/container-transform-crash-expected.txt: Added. * fast/transforms/container-transform-crash.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
Reviewed by Mitz. Fix <rdar://problem/5840475> CrashTracer: [USER] 2 crashes in Safari at com.apple.WebCore: WebCore::RenderBlock::insertPositionedObject Non-block objects can have transforms so containingBlock() could end up returning null. RenderObject::container() needs to match. Test: fast/transforms/container-transform-crash.html * rendering/RenderObject.cpp: (WebCore::RenderObject::containingBlock): (WebCore::RenderObject::container): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Roll out r32851. It broke tiger builds. * bindings/objc/DOMUtility.mm: (KJS::createDOMWrapper): (WebCore::createDOMWrapper): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by Sam Weinig. - fix https://bugs.webkit.org/show_bug.cgi?id=18879 <rdar://problem/5909481> Reproducible crash when removing a gradient Test: fast/gradients/crash-on-remove.html * css/CSSImageGeneratorValue.cpp: (WebCore::CSSImageGeneratorValue::CSSImageGeneratorValue): (WebCore::CSSImageGeneratorValue::addClient): Added a call to ref() the value. (WebCore::CSSImageGeneratorValue::removeClient): Added code to deref() the value. LayoutTests: Reviewed by Sam Weinig. - test for https://bugs.webkit.org/show_bug.cgi?id=18879 <rdar://problem/5909481> Reproducible crash when removing a gradient * fast/gradients/crash-on-remove-expected.txt: Added. * fast/gradients/crash-on-remove.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32854 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Maciej Stachowiak. Don't print out the full url. * fast/dom/Window/dom-access-from-closure-iframe-expected.txt: * fast/dom/Window/dom-access-from-closure-window-expected.txt: * fast/dom/Window/resources/dom-access-from-closure-iframe-child.html: * fast/dom/Window/resources/dom-access-from-closure-window-child.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
Reviewed by John. * WebCoreSupport/WebChromeClient.h: (WebChromeClient::addMessageToConsole): Renamed sourceID parameter to sourceURL to match implementation in WebChromeClient.mm. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Mark Rowe. Move createDOMWrapper(JSObject* object) out of the KJS namespace and into the WebCore namespace now that the required compilers don't freak out about this anymore. * bindings/objc/DOMUtility.mm: (WebCore::createDOMWrapper): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=18652 onchange events don't seem to fire for input[type=range] controls. Fire changeEvent when clicking the slider outside the current thumb position. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 03 May, 2008 6 commits
-
-
weinig@apple.com authored
Reviewed by Mark Rowe. Remove unused enums from JSDOMWindowBase. * bindings/js/JSDOMWindowBase.h: (WebCore::JSDOMWindowBase::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Real build fix. * WebCore.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Build fix. * bindings/js/kjs_events.cpp: (WebCore::JSAbstractEventListener::handleEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Reviewed by Dan Bernstein. Add tests that show our behavior when using closures from a global object whose frame has been navigated. Related to https://bugs.webkit.org/show_bug.cgi?id=17249. * fast/dom/Window/closure-access-after-navigation-iframe-expected.txt: Added. * fast/dom/Window/closure-access-after-navigation-iframe.html: Added. * fast/dom/Window/closure-access-after-navigation-window-expected.txt: Added. * fast/dom/Window/closure-access-after-navigation-window.html: Added. * fast/dom/Window/dom-access-from-closure-iframe-expected.txt: Added. * fast/dom/Window/dom-access-from-closure-iframe.html: Added. * fast/dom/Window/dom-access-from-closure-window-expected.txt: Added. * fast/dom/Window/dom-access-from-closure-window.html: Added. * fast/dom/Window/resources/closure-access-after-navigation-iframe-child-1.html: Added. * fast/dom/Window/resources/closure-access-after-navigation-iframe-child-2.html: Added. * fast/dom/Window/resources/closure-access-after-navigation-window-child-1.html: Added. * fast/dom/Window/resources/closure-access-after-navigation-window-child-2.html: Added. * fast/dom/Window/resources/dom-access-from-closure-iframe-child.html: Added. * fast/dom/Window/resources/dom-access-from-closure-window-child.html: Added. * fast/dom/Window/resources/notify-opener-done.html: Added. * fast/dom/Window/resources/notify-parent-done.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig@apple.com authored
Rubber-stamped by Geoffrey Garen. Rename JSDOMWindowWrapper to JSDOMWindowShell. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=18568 background: currentColor fails Implement currentColor from CSS3 color module. Tests: fast/css/background-currentcolor.html git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 02 May, 2008 14 commits
-
-
andersca@apple.com authored
2008-05-02 Anders Carlsson <andersca@apple.com> Reviewed by Mark. Turns out calling locationInWindow on keyboard events will not throw an exception, but the point returned is completely bogus, so remove coordinates from the keyboard event struct. * bridge/npapi.h: (_NPCocoaEvent::): WebKit/mac: 2008-05-02 Anders Carlsson <andersca@apple.com> Reviewed by Mark. Various Cocoa event model and 64-bit plug-in fixes. * Plugins/WebNetscapePluginEventHandlerCocoa.mm: (WebNetscapePluginEventHandlerCocoa::sendMouseEvent): Set click count. (WebNetscapePluginEventHandlerCocoa::flagsChanged): (WebNetscapePluginEventHandlerCocoa::sendKeyEvent): Don't try to get the mouse location for keyboard events. * Plugins/WebPluginPackage.m: (-[WebPluginPackage initWithPath:]): Preflight the bundle so we won't show 32-bit WebKit plug-ins when running as 64-bit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32830 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Mark. Add an "x86_64" make rule. * Makefile.shared: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Alp Toker. http://bugs.webkit.org/show_bug.cgi?id=18856 [GTK] variable initialization missing Not initializing the m_needsXEmbed variable could have very funny results. Most often those results would be crashes. * plugins/PluginView.cpp: (WebCore::PluginView::PluginView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32828 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
alp@webkit.org authored
Reviewed by Eric. https://bugs.webkit.org/show_bug.cgi?id=18811 Enable dashboard and offline web apps in autotools git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32827 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Get rid of static data in nodes.cpp (well, at least of non-debug one). No measurable change on SunSpider. * kjs/InitializeThreading.cpp: (KJS::initializeThreadingOnce): * kjs/nodes.cpp: (KJS::newTrackedObjects): (KJS::trackedObjectExtraRefCounts): (KJS::initializeNodesThreading): (KJS::ParserRefCounted::ParserRefCounted): (KJS::ParserRefCounted::ref): (KJS::ParserRefCounted::deref): (KJS::ParserRefCounted::refcount): (KJS::ParserRefCounted::deleteNewObjects): * kjs/nodes.h: Made newTrackedObjects and trackedObjectExtraRefCounts per-thread. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
2008-05-02 Anders Carlsson <andersca@apple.com> Reviewed by Sam. Name the event union so it will work in plain C. * bridge/npapi.h: (_NPCocoaEvent::): WebKit/mac: 2008-05-02 Anders Carlsson <andersca@apple.com> Reviewed by Sam. The event union is now named. * Plugins/WebNetscapePluginEventHandlerCocoa.mm: (WebNetscapePluginEventHandlerCocoa::drawRect): (WebNetscapePluginEventHandlerCocoa::sendMouseEvent): (WebNetscapePluginEventHandlerCocoa::flagsChanged): (WebNetscapePluginEventHandlerCocoa::sendKeyEvent): (WebNetscapePluginEventHandlerCocoa::windowFocusChanged): (WebNetscapePluginEventHandlerCocoa::focusChanged): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32821 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
Reviewed by Mark. Make sure that 32-bit only plug-ins aren't shown when running as 64-bit. Call preflightAndReturnError on the bundle, which will check if any of the architectures in the bundle match the current architecture. * Plugins/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage _initWithPath:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32820 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@webkit.org authored
Move call stack depth counter to global object. * kjs/ExecState.h: (KJS::ExecState::functionCallDepth): Added a recursion depth counter to per-thread data. * kjs/JSGlobalObject.cpp: (KJS::JSGlobalObject::init): Initialize PerThreadData.functionCallDepth. * kjs/JSGlobalObject.h: (KJS::JSGlobalObject::perThreadData): Made the result non-const. * kjs/object.cpp: (KJS::throwStackSizeExceededError): Moved throwError to a separate function, since it is now the only thing in JSObject::call that needs a PIC branch. (KJS::JSObject::call): Use a per-thread variable instead of local static for recursion depth tracking. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
- add an option to svn-apply to set the reviewer name in change logs * Scripts/svn-apply: Added a [-r|--reviewer name] option. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
Reviewed by John Sullivan. - render text shadows with zero offset, as the shadow can be seen behind the text if the text is translucent Test: fast/text/shadow-no-blur.html * platform/graphics/mac/FontMac.mm: (WebCore::Font::drawComplexText): Removed the isEmpty() condition on the shadow offset. Since isEmpty() is also true for sizes that have one or more non-positive components, this also ensures that subpixel antialiasing of the text is maintained with shadows in all directions. (WebCore::Font::drawGlyphs): Ditto. * platform/graphics/win/FontCGWin.cpp: (WebCore::Font::drawGlyphs): Ditto. LayoutTests: Reviewed by John Sullivan. - add pixel test for text shadows with zero blur and various offsets, including zero offset * fast/text/shadow-no-blur.html: Added. * platform/mac/fast/text/shadow-no-blur-expected.checksum: Added. * platform/mac/fast/text/shadow-no-blur-expected.png: Added. * platform/mac/fast/text/shadow-no-blur-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32817 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Updated Qt layout-tests to match changes in font metrics. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32816 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Build the Qt port with SVG Use and As Image support. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32815 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Fixed potential crash on SVG animation (added more checks to the assert). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann@webkit.org authored
Doc: Mention that you have to enable plugins in QWebSettings for them to work. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@32813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-