- 24 May, 2007 7 commits
-
-
aroben authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21707 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben authored
addMessageToConsole now takes two additional parameters to specify the message source (HTML, JS, CSS, XML) and level (error, warning, log). To maintain our old behavior, all current messages were given JSMessageSource and ErrorMessageLevel parameters. Messages matching these characteristics are passed up to the ChromeClient. Reviewed by Hyatt. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
\r without a following \n and so that document.write doesn't lead to line numbering confusion. Reviewed by aroben * html/HTMLParser.cpp: (WebCore::HTMLParser::reportErrorToConsole): * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::processListing): (WebCore::HTMLTokenizer::parseSpecial): (WebCore::HTMLTokenizer::parseComment): (WebCore::HTMLTokenizer::parseServer): (WebCore::HTMLTokenizer::parseProcessingInstruction): (WebCore::HTMLTokenizer::parseText): (WebCore::HTMLTokenizer::parseEntity): (WebCore::HTMLTokenizer::parseTag): (WebCore::HTMLTokenizer::write): (WebCore::HTMLTokenizer::processToken): (WebCore::HTMLTokenizer::setSrc): * html/HTMLTokenizer.h: (WebCore::HTMLTokenizer::lineNumberPtr): * html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::addLine): * loader/TextDocument.cpp: (WebCore::TextTokenizer::write): * platform/SegmentedString.cpp: (WebCore::SegmentedString::SegmentedString): (WebCore::SegmentedString::operator=): (WebCore::SegmentedString::clear): * platform/SegmentedString.h: (WebCore::SegmentedString::SegmentedString): (WebCore::SegmentedString::advance): (WebCore::SegmentedString::escaped): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21704 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21702 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
QWebNetworkInterface instances by moving the code into QWebNetworkManager. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 May, 2007 32 commits
-
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21699 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
able to work properly even when whitespace or comment nodes are present. Reviewed by aroben fast/table/rowindex-comment-nodes.html * html/HTMLTableRowElement.cpp: (WebCore::HTMLTableRowElement::rowIndex): (WebCore::HTMLTableRowElement::insertCell): (WebCore::HTMLTableRowElement::deleteCell): * html/HTMLTableSectionElement.cpp: (WebCore::HTMLTableSectionElement::insertRow): (WebCore::HTMLTableSectionElement::deleteRow): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21698 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
<select> does. Reviewed by aroben fast/forms/stuff-on-my-optgroup.html * html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::checkDTD): * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::checkDTD): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21696 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Reviewed by aroben * html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::checkDTD): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
* platform/qt/CursorQt.cpp: (WebCore::notAllowedCursor): (WebCore::zoomInCursor): (WebCore::zoomOutCursor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdash authored
Fix the gdk build following changes in r21685. * platform/gdk/CursorGdk.cpp: (WebCore::zoomInCursor): (WebCore::zoomOutCursor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5222611hyatt authored
http://buymeasoda.com/dev/issues/image_onload/image_onload.html Clamp z-index so that values that exceed maxint (or that are below minint) are clamped to those values. Reviewed by darin * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::applyProperty): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer authored
Reviewed by David Hyatt. - tests for http://bugs.webkit.org/show_bug.cgi?id=13563 REGRESSION: Crash loading message in Yahoo! Mail * fast/css/stale-style-selector-crash-1-expected.txt: Added. * fast/css/stale-style-selector-crash-1.html: Added. * fast/css/stale-style-selector-crash-2-expected.txt: Added. * fast/css/stale-style-selector-crash-2.html: Added. WebCore: Reviewed by David Hyatt. - fix http://bugs.webkit.org/show_bug.cgi?id=13563 REGRESSION: Crash loading message in Yahoo! Mail Tests: fast/css/stale-style-selector-crash-1.html fast/css/stale-style-selector-crash-2.html * dom/Document.cpp: (WebCore::Document::Document): Initialize the m_didCalculateStyleSelector flag to 'false'. (WebCore::Document::updateStyleSelector): Do not bail out if we have ever calculated a non-trivial style selector, even if at the moment we are pending style sheets. We could have calculated a non-trivial selector already either because at some point there were no pending style sheets (so the currently pending ones were added dynamically) or because we were forced to do a layout ignoring pending style sheets. Either way, once there is a style selector, we need to keep it up to date, otherwise we can crash under recalcStyle() during updateRendering() or simply not recalculate style correctly for dynamic changes. (WebCore::Document::recalcStyleSelector): Set m_didCalculateStyleSelector to 'true' when creating a new style selector. * dom/Document.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
<rdar://problem/5224749> Show a zoom/unzoom cursor for resizable image documents * WebCore.xcodeproj/project.pbxproj: Install the zoom cursors. * loader/ImageDocument.cpp: (WebCore::ImageDocument::resizeImageToFit): Set the cursor to the zoom in cursor. (WebCore::ImageDocument::restoreImageSize): If the image fits, reset the cursor. Otherwise, set it to the zoom in cursor. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
<rdar://problem/3663808> Resize large images to fit in the browser window Add new WebPreferences SPI. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.m: (+[WebPreferences initialize]): (-[WebPreferences enableAutomaticImageResizing]): (-[WebPreferences setEnableAutomaticImageResizing:]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _updateWebCoreSettingsFromPreferences:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
darin authored
Reviewed by Hyatt. - updated the many tests with an extra newline or two at the end because of the bug where plain-text serialization will consider nodes that are not rendered WebCore: Reviewed by Hyatt. - fix problems where unrendered nodes were affecting on plain text serialization * editing/TextIterator.cpp: (WebCore::TextIterator::advance): Don't call handleXXX functions or exitNode for nodes without renderers. (WebCore::shouldEmitNewlineAfterNode): Only consider rendered nodes when deciding if this is the last node in the document. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
<rdar://problem/3663808> Resize large images to fit in the browser window * WebCore.exp: Add new settings method. * loader/ImageDocument.cpp: (WebCore::ImageEventListener::ImageEventListener): New class that handles resize events and click events and forwards them to the image document. (WebCore::ImageTokenizer::ImageTokenizer): (WebCore::ImageTokenizer::writeRawData): (WebCore::ImageTokenizer::finish): (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::cachedImage): Let the ImageDocument class keep track of its document structure. (WebCore::ImageDocument::scale): Returns the scale that should be used when resizing the image. (WebCore::ImageDocument::resizeImage): Update the image size. (WebCore::ImageDocument::imageClicked): Toggle between resized and not resized. When restoring the size, scroll the image so that the area under the mouse stays the same. (WebCore::ImageDocument::imageChanged): When the image size is known, resize the image if needed. (WebCore::ImageDocument::restoreImageSize): Restore the image size. (WebCore::ImageDocument::imageNeedsResizing): Return whether the image is too big for its window or not. (WebCore::ImageDocument::windowSizeChanged): Called when the window's size changes. Determine if the window fits or not and resize it if it doesn't fit. (WebCore::ImageEventListener::handleEvent): Forward events to the image document. * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setEnableAutomaticImageResizing): * page/Settings.h: (WebCore::Settings::enableAutomaticImageResizing): Add new setting. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
Add -webkit-zoom-in and -webkit-zoom-out cursors. * Resources/zoomInCursor.png: Added. * Resources/zoomOutCursor.png: Added. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSValueKeywords.in: * page/EventHandler.cpp: (WebCore::selectCursor): * platform/Cursor.h: * platform/mac/CursorMac.mm: (WebCore::zoomInCursor): (WebCore::zoomOutCursor): * rendering/RenderStyle.h: (WebCore::): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Part one of patch for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement - Just the HTMLElement part. * bindings/js/kjs_html.cpp: (KJS::JSHTMLElement::getValueProperty): (KJS::JSHTMLElement::putValueProperty): * bindings/js/kjs_html.h: (KJS::JSHTMLElement::): * html/HTMLElement.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
Reviewed by Darin. Update tests for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement - Corrects prototype chain for JSHTMLDocument and adds test for HTMLFormElement. * fast/dom/prototype-chain-expected.txt: * fast/dom/prototype-chain.html: WebCore: Reviewed by Darin. - rdar://problem/5183523 - We now check the document's URL to see if it can load a resource in the case of a URL click, instead of checking the referrer, which is blank for local files. * loader/FrameLoader.cpp: (WebCore::FrameLoader::load): (WebCore::FrameLoader::open): * platform/PlatformString.h: (WebCore::debugPrintString): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
weinig authored
Reviewed by Darin. Update tests for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement - Corrects prototype chain for JSHTMLDocument and adds test for HTMLFormElement. * fast/dom/prototype-chain-expected.txt: * fast/dom/prototype-chain.html: WebCore: Reviewed by Darin. Part two of patch for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement - Just the HTMLDocument part. * WebCore.pro: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSHTMLDocumentCustom.cpp: Added. (WebCore::JSHTMLDocument::canGetItemsForName): (WebCore::JSHTMLDocument::nameGetter): (WebCore::JSHTMLDocument::all): (WebCore::JSHTMLDocument::setAll): (WebCore::JSHTMLDocument::location): (WebCore::JSHTMLDocument::setLocation): (WebCore::JSHTMLDocument::open): (WebCore::writeHelper): (WebCore::JSHTMLDocument::write): (WebCore::JSHTMLDocument::writeln): (WebCore::JSHTMLDocument::clear): * bindings/js/kjs_dom.cpp: (KJS::toJS): * bindings/js/kjs_dom.h: * bindings/js/kjs_html.cpp: * bindings/js/kjs_html.h: * bindings/objc/DOMPrivate.h: * bindings/scripts/CodeGeneratorJS.pm: Add [Deletable] property for Document.all and fix HasOverridingNameGetter to allow correct prototype chain * dom/Document.cpp: (WebCore::Document::plugins): adds alias to embeds() for bindings * dom/Document.h: * html/HTMLDocument.cpp: (WebCore::HTMLDocument::width): (WebCore::HTMLDocument::height): (WebCore::HTMLDocument::dir): (WebCore::HTMLDocument::setDir): (WebCore::HTMLDocument::designMode): (WebCore::HTMLDocument::setDesignMode): (WebCore::HTMLDocument::bgColor): (WebCore::HTMLDocument::setBgColor): (WebCore::HTMLDocument::fgColor): (WebCore::HTMLDocument::setFgColor): (WebCore::HTMLDocument::alinkColor): (WebCore::HTMLDocument::setAlinkColor): (WebCore::HTMLDocument::linkColor): (WebCore::HTMLDocument::setLinkColor): (WebCore::HTMLDocument::vlinkColor): (WebCore::HTMLDocument::setVlinkColor): (WebCore::HTMLDocument::captureEvents): (WebCore::HTMLDocument::releaseEvents): * html/HTMLDocument.h: * html/HTMLDocument.idl: WebKit: Reviewed by Darin. Patch for http://bugs.webkit.org/show_bug.cgi?id=13830 Auto-generate JS DOM bindings for HTMLDocument and most of the rest of HTMLElement * MigrateHeaders.make: add DOMHTMLDocumentPrivate.h * WebKit.xcodeproj/project.pbxproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5221838hyatt authored
window at mac.com. Back out the change to make self-closed <script/> into a Dashboard quirk only. Reviewed by aroben * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::parseTag): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
oliver authored
Fix for <rdar://problem/5223782> REGRESSION: Can't drag and drop a standalone image The main resource for a standalone image webarchive has the same mimetype as the underlying image. * Misc/WebNSPasteboardExtras.mm: (-[NSPasteboard _web_writePromisedRTFDFromArchive:containsImage:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
- Fixed build breakage. * fast/dom/open-and-close-by-DOM-expected.txt: Added. * fast/dom/open-and-close-by-DOM.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rdar://problem/5078453pyeh authored
<rdar://problem/5078453> AXNext/PrevLineEndTextMarkerForTextMarker returns kAXErrorNoValue for attachment range Floating objects, such as aligned images, are not included as part of any line. So when the given text marker is on the floating object, the returned line edge cannot be found and asserts are fired. In addition, this paints an inconsistent text layout (in the accessibility sense) of where the floating object resides. Character/word methods report floating object at the beginning of the text line(s). Yet line methods never present floating objects anywhere. To fix this, the ax line methods will now do more checking to ensure floating object nodes are included when determining the line range/position. That way, assistive apps won't get stuck using the line methods to read line-by-line * bridge/mac/WebCoreAXObject.mm: (updateAXLineStartForVisiblePosition): Added a helper method to adjust line start position to account for floating objects (-[WebCoreAXObject doAXLeftLineTextMarkerRangeForTextMarker:]): (-[WebCoreAXObject doAXRightLineTextMarkerRangeForTextMarker:]): (-[WebCoreAXObject doAXNextLineEndTextMarkerForTextMarker:]): (-[WebCoreAXObject doAXPreviousLineStartTextMarkerForTextMarker:]): Fixed up line routines to include floating object nodes in line position calculation. startOfLine/endOLine may return null for position next to a floating position. So now there's extra checks to prevent returning null line position/ranges back to AX. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kmccullo authored
- Removing failing tests until I've fixed them. * fast/dom/open-and-close-by-DOM-expected.txt: Removed. * fast/dom/open-and-close-by-DOM.html: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
http and file loading and fixed a bug in the HTTP redirect handling. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugs.webkit.org/show_bug.cgi?id=13174 line-height in font shorthand does not override a previously stated line-height property Make sure line-height is calculated against definite font-size and uses the last set line-height, ie. directly or through font shorthand. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Don't do HTTP downloads in a second thread. Simplifies the code significantly and fixes crashes on some Web pages. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
Initialize variable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugs.webkit.org/show_bug.cgi?id=13784 REGRESSION (r13744-13750): Crash with empty gradient when drawing to canvas Fix crash by testing for zero stops, and returning transparent black in this case. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis authored
http://bugs.webkit.org/show_bug.cgi?id=13801 Crash when loading nonexisting symbol Check for referenced element and when not found just return. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
lars authored
when redirecting and clean up qHash forward declaration a bit. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hausmann authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 May, 2007 1 commit
-
-
weinig authored
Fix license. * bindings/js/JSHTMLAnchorElementCustom.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-