- 18 Mar, 2007 38 commits
-
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Fix for REGRESSION bug 13108, frame borders being painted when they shouldn't be. Rework both frame borders and resizing to be more like other browsers. Reviewed by ggaren fast/frames/no-frame-borders.html * html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::HTMLFrameElement): (WebCore::HTMLFrameElement::attach): (WebCore::HTMLFrameElement::parseMappedAttribute): * html/HTMLFrameElement.h: (WebCore::HTMLFrameElement::hasFrameBorder): * html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::HTMLFrameElementBase): (WebCore::HTMLFrameElementBase::parseMappedAttribute): * html/HTMLFrameElementBase.h: * html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::attach): * html/HTMLFrameSetElement.h: (WebCore::HTMLFrameSetElement::hasFrameBorder): * html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::HTMLIFrameElement): * rendering/RenderFrame.cpp: (WebCore::RenderFrame::edgeInfo): * rendering/RenderFrame.h: * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::paint): (WebCore::RenderFrameSet::GridAxis::resize): (WebCore::RenderFrameSet::fillFromEdgeInfo): (WebCore::RenderFrameSet::computeEdgeInfo): (WebCore::RenderFrameSet::edgeInfo): (WebCore::RenderFrameSet::layout): (WebCore::RenderFrameSet::startResizing): (WebCore::RenderFrameSet::continueResizing): (WebCore::RenderFrameSet::canResizeRow): (WebCore::RenderFrameSet::canResizeColumn): (WebCore::RenderFrameSet::splitPosition): (WebCore::RenderFrameSet::hitTestSplit): (WebCore::RenderFrameSet::dump): * rendering/RenderFrameSet.h: (WebCore::): (WebCore::FrameEdgeInfo::FrameEdgeInfo): (WebCore::FrameEdgeInfo::preventResize): (WebCore::FrameEdgeInfo::allowBorder): (WebCore::FrameEdgeInfo::setPreventResize): (WebCore::FrameEdgeInfo::setAllowBorder): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Rubber-stamped by Brady. Update references to bugzilla.opendarwin.org with bugs.webkit.org. * bindings/c/c_utility.cpp: (KJS::Bindings::convertUTF8ToUTF16): * kjs/function.cpp: (KJS::FunctionImp::callAsFunction): * kjs/grammar.y: * kjs/keywords.table: * kjs/lexer.cpp: (KJS::Lexer::shift): 2007-03-19 Mark Rowe <mrowe@apple.com> Rubber-stamped by Brady. Update references to bugzilla.opendarwin.org with bugs.webkit.org. * ChangeLog: * WebCore.vcproj/WebCore/build-generated-files.sh: * manual-tests/ATSU-bad-layout.html: * manual-tests/accidental-strict-mode.html: * manual-tests/applet-param-no-name.html: * manual-tests/bidi-parens.html: * manual-tests/bugzilla-3855.html: * manual-tests/bugzilla-4840.html: * manual-tests/bugzilla-6821.html: * manual-tests/containing-block-position-chage.html: * manual-tests/contenteditable-link.html: * manual-tests/css3-cursor-fallback-quirks.html: * manual-tests/css3-cursor-fallback-strict.html: * manual-tests/custom-cursors.html: * manual-tests/dictionary-scrolled-iframe.html: * manual-tests/dom-manipulation-on-resize.html: * manual-tests/drag-image-to-address-bar.html: * manual-tests/empty-link-target.html: * manual-tests/empty-title-popup.html: * manual-tests/first-line-style-crash.html: * manual-tests/invalid-mouse-event.html: * manual-tests/left-overflow-repaint.html: * manual-tests/linkjump-3.html: * manual-tests/log-keypress-events.html: * manual-tests/named-window-blank-target.html: * manual-tests/plain-text-paste.html: * manual-tests/plugin-controller-datasource.html: * manual-tests/pre-tab-selection-rect.html: * manual-tests/redirection-target.html: * manual-tests/redraw-page-cache-visited-links.html: * manual-tests/reset-initiatedDrag.html: * manual-tests/resources/named-window-blank-target-step2.html: * manual-tests/resources/named-window-blank-target-step3.html: * manual-tests/resources/named-window-blank-target-step4.html: * manual-tests/resources/redraw-page-cache-visited-links-2.html: * manual-tests/scrollbar-hittest.html: * manual-tests/scrollbar-hittest2.html: * manual-tests/subview-click-assertion.html: * manual-tests/tabbing-input-google.html: * manual-tests/text-field-autoscroll.html: * manual-tests/textarea-after-stylesheet-link.html: * manual-tests/textarea-focus.html: * manual-tests/whitespace-pre-affinity.html: 2007-03-19 Mark Rowe <mrowe@apple.com> Rubber-stamped by Brady. Update references to bugzilla.opendarwin.org with bugs.webkit.org. * WebInspector/webInspector/inspector.css: * WebView/WebHTMLView.mm: (-[WebHTMLView firstRectForCharacterRange:]): * WebView/WebView.mm: (-[WebView initWithFrame:frameName:groupName:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mjs authored
* misc/morph.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://bugs.webkit.org/show_bug.cgi?id=13091bdash authored
Roll out r20297, fix for http://bugs.webkit.org/show_bug.cgi?id=13091, as it causes regressions in layout tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Update results after Hyatt's patch in r20268. * tables/mozilla/bugs/bug137388-2-expected.checksum: * tables/mozilla/bugs/bug137388-2-expected.png: * tables/mozilla/bugs/bug137388-2-expected.txt: * tables/mozilla/bugs/bug137388-3-expected.checksum: * tables/mozilla/bugs/bug137388-3-expected.png: * tables/mozilla/bugs/bug137388-3-expected.txt: * tables/mozilla/bugs/bug50695-2-expected.checksum: * tables/mozilla/bugs/bug50695-2-expected.png: * tables/mozilla/bugs/bug50695-2-expected.txt: * tables/mozilla_expected_failures/bugs/bug137388-1-expected.checksum: * tables/mozilla_expected_failures/bugs/bug137388-1-expected.png: * tables/mozilla_expected_failures/bugs/bug137388-1-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kjk authored
* platform/gdk/ScrollViewGdk.cpp: (WebCore::ScrollView::update): add a stub git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson authored
http://bugs.webkit.org/show_bug.cgi?id=13111 When stopped a load before it completes, partial images become the broken image icon * loader/loader.cpp: (WebCore::Loader::didFail): Split off into a method that knows the difference between failed and cancelled. If a load is cancelled, don't call error() on the object - only remove it from the cache (WebCore::Loader::cancelRequests): Call didFail(loader, true) * loader/loader.h: Added didFail(SubresourceLoader*, bool cancelled) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Adele. - fix http://bugs.webkit.org/show_bug.cgi?id=13101 REGRESSION (NativeTextField): Specifying word-wrap:break-word makes text field wrap Test: fast/forms/input-text-word-wrap.html * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::createInnerTextStyle): Force the inner block to 'word-wrap:normal'. 2007-03-18 Mitz Pettel <mitz@webkit.org> Reviewed by Adele. - test for http://bugs.webkit.org/show_bug.cgi?id=13101 REGRESSION (NativeTextField): Specifying word-wrap:break-word makes text field wrap * fast/forms/input-text-word-wrap-expected.checksum: Added. * fast/forms/input-text-word-wrap-expected.png: Added. * fast/forms/input-text-word-wrap-expected.txt: Added. * fast/forms/input-text-word-wrap.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Tim Hatcher. - fix http://bugs.webkit.org/show_bug.cgi?id=13091 REGRESSION (r20075): Wrong text style and pixel break in Apple Store Locator HUD Test: fast/innerHTML/additional-inline-style.html * editing/markup.cpp: (WebCore::startMarkup): Changed to add inline style based on CSS rules only in AnnotateForInterchange mode. 2007-03-18 Mitz Pettel <mitz@webkit.org> Reviewed by Tim Hatcher. - test and updated result for http://bugs.webkit.org/show_bug.cgi?id=13091 REGRESSION (r20075): Wrong text style and pixel break in Apple Store Locator HUD * editing/pasteboard/paste-table-002-expected.txt: * fast/innerHTML/additional-inline-style-expected.txt: Added. * fast/innerHTML/additional-inline-style.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Reviewed by Tim Hatcher. Fix http://bugs.webkit.org/show_bug.cgi?id=13005 Bug 13005: WebScriptObject +throwException needs NULL check. Add checking for NULL interpreter before throwing exception. * bindings/objc/WebScriptObject.mm: (+[WebScriptObject throwException:]): 2007-03-18 Dan Waylonis <waylonis@mac.com> Reviewed by Tim Hatcher. DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005 Bug 13005: WebScriptObject +throwException needs NULL check. Add tests to ensure that a plugin can safely throw an exception in dealloc. * DumpRenderTree/ObjCPlugin.h: * DumpRenderTree/ObjCPlugin.m: (+[ObjCPlugin webScriptNameForKey:]): (+[ObjCPlugin isKeyExcludedFromWebScript:]): (-[ObjCPlugin dealloc]): 2007-03-18 Dan Waylonis <waylonis@mac.com> Reviewed by Tim Hatcher. Tests for http://bugs.webkit.org/show_bug.cgi?id=13005 Bug 13005: WebScriptObject +throwException needs NULL check. A plugin that throws on dealloc can crash WebKit. * plugins/throw-on-dealloc-expected.txt: Added. * plugins/throw-on-dealloc.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren authored
Reviewed by Oliver Hunt. Exposed some extra toUInt32 functionality, as part of the fix for REGRESSION: Incomplete document.all implementation breaks abtelectronics.com (Style Change Through JavaScript Blanks Content) * JavaScriptCore.exp: * kjs/identifier.h: (KJS::Identifier::toUInt32): LayoutTests: Reviewed by Oliver Hunt. Layout test for http://bugs.webkit.org/show_bug.cgi?id=13106 REGRESSION: Incomplete document.all implementation breaks abtelectronics.com (Style Change Through JavaScript Blanks Content) * fast/dom/collection-null-like-arguments-expected.txt: Added. * fast/dom/collection-null-like-arguments.html: Added. WebCore: Reviewed by Oliver Hunt. Fixed http://bugs.webkit.org/show_bug.cgi?id=13106 REGRESSION: Incomplete document.all implementation breaks abtelectronics.com (Style Change Through JavaScript Blanks Content) When indexing into collections, treat the empty string as an invalid argument, instead of the number 0. * bindings/js/kjs_html.cpp: (KJS::JSHTMLCollection::getOwnPropertySlot): (KJS::JSHTMLCollection::callAsFunction): (KJS::JSHTMLCollectionPrototypeFunction::callAsFunction): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren authored
* JavaScriptCore.exp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ggaren authored
Fixed <rdar://problem/5064964> Repro ASSERT failure in JS Bindings when closing window @ lowtrades.bptrade.com Unfortunately, the bindings depend on UString and Identifier as string representations. So, they need to acquire the JSLock when doing something that will ref/deref their strings. Layout tests, the original site, and Java, Flash, and Quicktime on the web work. No leaks reported. No automated test for this because testing the Java bindings, like math, is hard. * bindings/runtime.h: Made Noncopyable, just to be sure. * bindings/c/c_class.cpp: (KJS::Bindings::CClass::~CClass): Acquire the JSLock and explicitly clear the keys in our hashtable, since they're UString::Reps, and ref/deref aren't thread-safe. (KJS::Bindings::CClass::methodsNamed): Also acquire the JSLock when adding keys to the table, since the table ref's them. (KJS::Bindings::CClass::fieldNamed): ditto. * bindings/c/c_utility.cpp: Removed dead function. (KJS::Bindings::convertValueToNPVariant): Acquire the JSLock because doing it recursively is pretty cheap, and it's just too confusing to tell whether all our callers do it for us. (KJS::Bindings::convertNPVariantToValue): ditto * bindings/c/c_utility.h: * bindings/jni/jni_class.cpp: Same deal as c_class.cpp. (JavaClass::JavaClass): (JavaClass::~JavaClass): * bindings/jni/jni_instance.cpp: Same deal as c_utility.cpp. (JavaInstance::stringValue): * bindings/jni/jni_jsobject.cpp: (JavaJSObject::convertValueToJObject): * bindings/jni/jni_runtime.cpp: (JavaMethod::~JavaMethod): Moved from header, for clarity. (appendClassName): Made this static, so the set of callers is known, and we can assert that we hold the JSLock. Also changed it to take a UString reference, which makes the calling code simpler. (JavaMethod::signature): Store the ASCII value we care about instead of a UString, since UString is so much more hassle. Hold the JSLock while building up the temporary UString. * bindings/jni/jni_runtime.h: Nixed dead code in JavaMethod. (KJS::Bindings::JavaString::JavaString): Hold a UString::Rep instead of a UString, so we can acquire the JSLock and explicitly release it. (KJS::Bindings::JavaString::_commonInit): (KJS::Bindings::JavaString::~JavaString): (KJS::Bindings::JavaString::UTF8String): (KJS::Bindings::JavaString::uchars): (KJS::Bindings::JavaString::length): (KJS::Bindings::JavaString::ustring): * bindings/jni/jni_utility.cpp: (KJS::Bindings::convertArrayInstanceToJavaArray): Made this static, so the set of callers is known, and we can assert that we hold the JSLock. (KJS::Bindings::convertValueToJValue): Acquire the JSLock because doing it recursively is pretty cheap, and it's just too confusing to tell whether all our callers do it for us. * bindings/objc/objc_runtime.h: Nixed some dead code. * bindings/objc/objc_utility.mm: (KJS::Bindings::convertNSStringToString): Same drill as above. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap authored
http://bugs.webkit.org/show_bug.cgi?id=13105 REGRESSION: an exception raised when calculating base value of a dot expression is not returned Test: fast/js/dot-node-base-exception.html * kjs/nodes.cpp: (FunctionCallDotNode::evaluate): Added the necessary KJS_CHECKEXCEPTIONVALUE. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Build fix. * JavaScriptCore.vcproj/testkjs/testkjs.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Use fillRect instead of drawLine, since drawLine has some odd behavior (it's only used for borders). Reviewed by aroben * platform/graphics/IntRect.h: * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::paintColumnBorder): (WebCore::RenderFrameSet::paintRowBorder): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Reviewed by aroben * rendering/RenderFrameSet.cpp: (WebCore::borderFillColor): (WebCore::RenderFrameSet::paintColumnBorder): (WebCore::RenderFrameSet::paintRowBorder): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Reviewed by aroben * html/HTMLIFrameElement.cpp: (WebCore::HTMLIFrameElement::mapToEntry): (WebCore::HTMLIFrameElement::parseMappedAttribute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Reviewed by aroben * css/html4.css: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Move frame borders out of WebKit and into WebCore. Reviewed by aroben, olliej * bridge/mac/FrameViewMac.mm: * css/html4.css: * html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::HTMLFrameSetElement): (WebCore::HTMLFrameSetElement::mapToEntry): (WebCore::HTMLFrameSetElement::parseMappedAttribute): (WebCore::HTMLFrameSetElement::attach): * html/HTMLFrameSetElement.h: (WebCore::HTMLFrameSetElement::hasBorderColor): * page/FrameView.cpp: (WebCore::FrameViewPrivate::FrameViewPrivate): * page/FrameView.h: * page/mac/WebCoreFrameBridge.h: * platform/graphics/IntRect.h: (WebCore::IntRect::topLeft): (WebCore::IntRect::topRight): (WebCore::IntRect::bottomLeft): (WebCore::IntRect::bottomRight): * rendering/RenderFrame.cpp: (WebCore::RenderFrame::viewCleared): * rendering/RenderFrameSet.cpp: (WebCore::borderStartEdgeColor): (WebCore::borderEndEdgeColor): (WebCore::RenderFrameSet::paintColumnBorder): (WebCore::RenderFrameSet::paintRowBorder): (WebCore::RenderFrameSet::paint): * rendering/RenderFrameSet.h: * rendering/RenderPartObject.cpp: (WebCore::RenderPartObject::viewCleared): * rendering/RenderView.cpp: (WebCore::RenderView::repaintViewRectangle): WebKit: Move frame borders out of WebKit and into WebCore. Reviewed by aroben, olliej * WebCoreSupport/WebFrameBridge.mm: * WebKit.xcodeproj/project.pbxproj: * WebView/WebFrameView.mm: (-[WebFrameView drawRect:]): (-[WebFrameView setFrameSize:]): * WebView/WebFrameViewInternal.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Mar, 2007 2 commits
-
-
hyatt authored
Make onload do an explicit paint when a top-level document is ready (to ensure that a first paint always happens before any timers set by the onload can fire). Reviewed by aroben * dom/Document.cpp: (WebCore::Document::implicitClose): * platform/ScrollView.h: * platform/mac/ScrollViewMac.mm: (WebCore::ScrollView::update): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-