- 31 May, 2006 2 commits
-
-
ggaren authored
- Fixed <rdar://problem/4559720> window sizing: make javascript window and screen sizing methods and properties work @ HIDPI The general approach here is to change some ints to floats, make a few key functions that scale between WebView and window/screen coordinates, and change other functions that work with screen coordinates to use the scaling functions for their underlying implementations. * manual-tests/window-open-features.html: Removed. * manual-tests/window-sizing.html: Added. More test coverage. * bindings/js/kjs_window.cpp: Changed ints to floats and IntRects to FloatRects, because window coordinates can be fractional when scaled to WebView/DOM coordinates. (KJS::floatFeature): (KJS::showModalDialog): (KJS::Window::getValueProperty): (KJS::constrainToVisible): (KJS::WindowFunc::callAsFunction): * bridge/BrowserExtension.h: * bridge/mac/BrowserExtensionMac.mm: (WebCore::BrowserExtensionMac::createNewWindow): Removed custom scaling code and replaced with calls to Page::windowRect and Page::setWindowRect. Renamed 'page' and 'bridge' to 'pageBridge' and 'frameBridge,' respectively. * bridge/mac/PageMac.mm: (WebCore::Page::windowRect): Changed to use scaling (WebCore::Page::setWindowRect): ditto * bridge/mac/WebCoreFrameBridge.mm: (globalPoint): * page/Page.h: * platform/IntRect.h: * platform/Screen.h: * platform/mac/MouseEventMac.mm: (WebCore::globalPositionForEvent): Changed to use flipScreenPoint * platform/mac/ScreenMac.mm: (WebCore::flipScreenRect): New key function (WebCore::flipScreenPoint): New key function (WebCore::scaleScreenRectToView): New key function (WebCore::scaleViewRectToScreen): New key function (WebCore::screenRect): Changed to use scaling (WebCore::usableScreenRect): ditto Feeble attempt to preserve Windows build: * platform/win/ScreenWin.cpp: (WebCore::scaleScreenRectToWidget): stub -- doesn't actually scale (WebCore::scaleWidgetRectToScreen): ditto * bridge/win/PageWin.cpp: (WebCore::Page::Page): (WebCore::Page::widget): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 May, 2006 7 commits
-
-
hyatt authored
to view(), isView(). Rename the frame view accessor on the old canvas from view() to frameView() (to avoid view()->view(), since that just looks stupid). :) Reviewed by andersca * WebCore.vcproj/WebCore/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/kjs_dom.cpp: * bindings/js/kjs_window.cpp: * bridge/mac/FrameMac.mm: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge _setupRootForPrinting:]): (-[WebCoreFrameBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]): (-[WebCoreFrameBridge selectionColor]): (-[WebCoreFrameBridge accessibilityTree]): * dom/Document.cpp: (WebCore::Document::attach): (WebCore::Document::updateSelection): (WebCore::Document::prepareMouseEvent): * editing/SelectionController.cpp: * kcanvas/device/quartz/KRenderingDeviceQuartz.mm: * ksvg2/svg/SVGClipPathElement.cpp: (SVGClipPathElement::canvasResource): * ksvg2/svg/SVGFEFloodElement.cpp: (SVGFEFloodElement::filterEffect): * ksvg2/svg/SVGGradientElement.cpp: (SVGGradientElement::rebuildStops): * ksvg2/svg/SVGHelper.cpp: (SVGHelper::PercentageOfViewport): * ksvg2/svg/SVGPathElement.cpp: (WebCore::SVGPathElement::getPointAtLength): * ksvg2/svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::currentTranslate): * ksvg2/svg/SVGStyledElement.cpp: (WebCore::SVGStyledElement::view): (WebCore::SVGStyledElement::pushAttributeContext): * ksvg2/svg/SVGStyledElement.h: * kwq/WebCoreAXObject.mm: (-[WebCoreAXObject accessibilityShouldUseUniqueId]): (-[WebCoreAXObject role]): (-[WebCoreAXObject value]): (-[WebCoreAXObject position]): (-[WebCoreAXObject accessibilityIsIgnored]): (-[WebCoreAXObject accessibilityAttributeNames]): (-[WebCoreAXObject topView]): (-[WebCoreAXObject accessibilityAttributeValue:]): * page/Frame.cpp: (WebCore::Frame::selectionRect): (WebCore::Frame::paint): (WebCore::Frame::adjustPageHeight): (WebCore::Frame::forceLayoutWithPageWidthRange): * page/FrameView.cpp: (WebCore::FrameView::adjustViewSize): (WebCore::FrameView::layout): * page/FrameView.h: * rendering/AutoTableLayout.cpp: (WebCore::shouldScaleColumns): * rendering/RenderBlock.cpp: (WebCore::RenderBlock::MarginInfo::MarginInfo): (WebCore::RenderBlock::isSelfCollapsingBlock): (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::paintChildren): (WebCore::RenderBlock::setSelectionState): (WebCore::RenderBlock::isSelectionRoot): (WebCore::RenderBlock::fillInlineSelectionGaps): (WebCore::RenderBlock::lowestPosition): (WebCore::RenderBlock::rightmostPosition): (WebCore::RenderBlock::leftmostPosition): (WebCore::RenderBlock::clearFloats): (WebCore::RenderBlock::nodeAtPoint): (WebCore::RenderBlock::calcBlocminMaxWidth): (WebCore::RenderBlock::inRootBlockContext): * rendering/RenderBox.cpp: (WebCore::RenderBox::setStyle): (WebCore::RenderBox::paintRootBoxDecorations): (WebCore::RenderBox::paintBackgroundExtended): (WebCore::RenderBox::calcHeight): (WebCore::RenderBox::calcPercentageHeight): (WebCore::RenderBox::availableHeightUsing): * rendering/RenderCanvas.cpp: Removed. * rendering/RenderCanvas.h: Removed. * rendering/RenderContainer.cpp: (WebCore::RenderContainer::removeChildNode): * rendering/RenderFileButton.cpp: (WebCore::RenderFileButton::RenderFileButton): * rendering/RenderFlow.cpp: (WebCore::RenderFlow::destroy): (WebCore::RenderFlow::paintLines): * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::layout): (WebCore::RenderFrameSet::userResize): (WebCore::RenderFrameSet::setResizing): * rendering/RenderImage.cpp: (WebCore::RenderImage::paint): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositions): (WebCore::RenderLayer::updateLayerPosition): (WebCore::RenderLayer::stackingContext): (WebCore::RenderLayer::enclosingPositionedAncestor): (WebCore::RenderLayer::convertToLayerCoords): (WebCore::RenderLayer::scrollToOffset): (WebCore::isSubframeCanvas): (WebCore::RenderLayer::intersectsDamageRect): * rendering/RenderLayer.h: (WebCore::RenderLayer::isStackingContext): * rendering/RenderListMarker.cpp: (WebCore::RenderListMarker::paint): * rendering/RenderObject.cpp: (WebCore::RenderObject::scroll): (WebCore::RenderObject::containingBlock): (WebCore::RenderObject::repaint): (WebCore::RenderObject::repaintRectangle): (WebCore::RenderObject::repaintAfterLayoutIfNeeded): (WebCore::RenderObject::draggableNode): (WebCore::RenderObject::selectionStartEnd): (WebCore::RenderObject::setStyle): (WebCore::RenderObject::viewRect): (WebCore::RenderObject::view): (WebCore::RenderObject::container): (WebCore::RenderObject::removeFromObjectLists): (WebCore::RenderObject::scheduleRelayout): (WebCore::RenderObject::imageChanged): (WebCore::RenderObject::maximalOutlineSize): * rendering/RenderObject.h: (WebCore::RenderObject::isRenderView): * rendering/RenderTextArea.cpp: (WebCore::RenderTextArea::RenderTextArea): * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintCheckbox): (WebCore::RenderThemeMac::paintRadio): (WebCore::RenderThemeMac::paintButton): * rendering/RenderTreeAsText.cpp: (externalRepresentation): * rendering/RenderView.cpp: Added. (WebCore::RenderView::RenderView): (WebCore::RenderView::~RenderView): (WebCore::RenderView::calcHeight): (WebCore::RenderView::calcWidth): (WebCore::RenderView::calcMinMaxWidth): (WebCore::RenderView::layout): (WebCore::RenderView::absolutePosition): (WebCore::RenderView::paint): (WebCore::RenderView::paintBoxDecorations): (WebCore::RenderView::repaintViewRectangle): (WebCore::RenderView::getAbsoluteRepaintRect): (WebCore::RenderView::computeAbsoluteRepaintRect): (WebCore::RenderView::absoluteRects): (WebCore::RenderView::selectionRect): (WebCore::RenderView::setSelection): (WebCore::RenderView::clearSelection): (WebCore::RenderView::selectionStartEnd): (WebCore::RenderView::updateWidgetPositions): (WebCore::RenderView::addWidget): (WebCore::RenderView::removeWidget): (WebCore::RenderView::viewRect): (WebCore::RenderView::docHeight): (WebCore::RenderView::docWidth): (WebCore::RenderView::setBestTruncatedAt): * rendering/RenderView.h: Added. (WebCore::RenderView::renderName): (WebCore::RenderView::isRenderView): (WebCore::RenderView::frameView): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::RenderWidget): (WebCore::RenderWidget::destroy): (WebCore::RenderWidget::updateWidgetPosition): * rendering/RenderWidget.h: (WebCore::RenderWidget::widget): * rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tomernic authored
<rdar://problem/4567776> REGRESSION: window.open() links do not work at www.newarchery.com * bindings/js/kjs_window.cpp: (KJS::WindowFunc::callAsFunction): Set the URL in the ResourceRequest; otherwise, it'll be uninitialized and createNewWindow() will not be able to load the URL into a pre-existing frame. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
- fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=9137 Children with percentage heights of absolutely positioned element with height: auto and top and bottom non-auto does not lay out correctly Adds special case. * rendering/RenderBox.cpp: (WebCore::RenderBox::calcPercentageHeight): (WebCore::RenderBox::calcReplacedHeightUsing): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bdakin authored
- Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=9085 Absolutely positioned objects with 'height': auto and 'top': and 'bottom': non-auto should not be content based * rendering/RenderBox.cpp: (WebCore::RenderBox::calcAbsoluteVertical): (WebCore::RenderBox::calcAbsoluteVerticalValues): (WebCore::RenderBox::calcAbsoluteHorizontalReplaced): (WebCore::RenderBox::calcAbsoluteVerticalReplaced): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by andersca. Small amount of svg-related code cleanup. No test case possible. * ksvg2/svg/SVGColor.h: * ksvg2/svg/SVGLength.cpp: (SVGLength::SVGLength): (SVGLength::value): * ksvg2/svg/SVGMarkerElement.cpp: * ksvg2/svg/SVGMatrix.cpp: (SVGMatrix::SVGMatrix): (SVGMatrix::copy): (SVGMatrix::postMultiply): (SVGMatrix::inverse): (SVGMatrix::postTranslate): (SVGMatrix::postScale): (SVGMatrix::postScaleNonUniform): (SVGMatrix::postRotate): (SVGMatrix::postRotateFromVector): (SVGMatrix::postFlipX): (SVGMatrix::postFlipY): (SVGMatrix::postSkewX): (SVGMatrix::postSkewY): (SVGMatrix::multiply): (SVGMatrix::translate): (SVGMatrix::scale): (SVGMatrix::scaleNonUniform): (SVGMatrix::rotate): (SVGMatrix::rotateFromVector): (SVGMatrix::flipX): (SVGMatrix::flipY): (SVGMatrix::skewX): (SVGMatrix::skewY): (SVGMatrix::setMatrix): (SVGMatrix::qmatrix): (SVGMatrix::removeScale): * ksvg2/svg/SVGMatrix.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by andersca. Small ammount of bindings-related code cleanup. No test case possible. * bindings/js/JSHTMLFormElementCustom.cpp: (WebCore::JSHTMLFormElement::nameGetter): * bindings/js/JSXMLSerializer.cpp: (WebCore::JSXMLSerializerConstructorImp::JSXMLSerializerConstructorImp): (WebCore::JSXMLSerializerConstructorImp::implementsConstruct): (WebCore::JSXMLSerializerConstructorImp::construct): (WebCore::): (WebCore::JSXMLSerializer::JSXMLSerializer): (WebCore::JSXMLSerializerProtoFunc::callAsFunction): * bindings/js/JSXMLSerializer.h: (WebCore::JSXMLSerializer::toBoolean): (WebCore::JSXMLSerializer::classInfo): (WebCore::JSXMLSerializer::): * bindings/js/kjs_window.cpp: (KJS::Window::getValueProperty): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 27 May, 2006 1 commit
-
-
andersca authored
* bindings/js/JSHTMLElementWrapperFactory.cpp: Correct include file names. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 26 May, 2006 11 commits
-
-
justing authored
Reviewed by levi Added, test for the crash by focusing an editable html element and then inserting a tab * editing/selection/editable-html-element-expected.checksum: Added. * editing/selection/editable-html-element-expected.png: Added. * editing/selection/editable-html-element-expected.txt: Added. * editing/selection/editable-html-element.html: Added. Fixed: * editing/selection/focus_editable_html-expected.checksum: * editing/selection/focus_editable_html-expected.png: * editing/selection/focus_editable_html-expected.txt: WebCore: Reviewed by levi <rdar://problem/4564296> Mail crashes on Leopard9A184 when I attempt to compose a new message * dom/Position.cpp: (WebCore::Position::inRenderedContent): Removed a candidate at [html, 0]. * editing/CreateLinkCommand.cpp: (WebCore::CreateLinkCommand::doApply): Added early return when there is no selection. * editing/InsertLineBreakCommand.cpp: (WebCore::InsertLineBreakCommand::doApply): Ditto. * editing/InsertTextCommand.cpp: (WebCore::InsertTextCommand::input): Ditto. * editing/Selection.cpp: (WebCore::Selection::validate): If visible positions can't be created from the endpoints, then create a null selection. Not doing this was making editing code think there was a valid, editable selection even though there wasn't. * editing/UnlinkCommand.cpp: (WebCore::UnlinkCommand::doApply): Early return. * editing/VisiblePosition.cpp: (WebCore::VisiblePosition::initDeepPosition): Special case the html/body element boundary. It looks like a non-editable/editable boundary since rootEditableElement stops at the body even if the html element is editable. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele authored
Fixes a mistake in my last checkin. Uses maxDeepOffset to get the end position for the textarea's inner div. * rendering/RenderTextField.cpp: (WebCore::RenderTextField::textWithHardLineBreaks): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
adele authored
Reviewed by Hyatt. Added test for new textarea implementation. Tests wrap attributes and form submission. * fast/forms/textarea-appearance-wrap-expected.txt: Added. * fast/forms/textarea-appearance-wrap.html: Added. WebCore: Reviewed by Hyatt. Added support for wrap=hard for new textarea implementation. Tests: fast/forms/textarea-appearance-wrap.html * dom/Range.h: Added version of toString that will convert BRs to newlines. * dom/Range.cpp: (WebCore::Range::toString): * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::ReplacementFragment): When in plain-text mode, and a white-space mode that doesn't collapse whitespace, create a fragment with one text node. * editing/visible_units.cpp: (WebCore::previousLinePosition): Subtract scroll offset so the absolute position for the containing block is correct. (WebCore::nextLinePosition): ditto. * rendering/RenderText.cpp: (WebCore::RenderText::positionForCoordinates): If the position is equal to the left edge of the box, make the affinity downstream so the position doesn't jump back to the previous line. (WebCore::RenderText::atLineWrap): The logic was reversed here in a recent change. If the box is not at a line break, then its at a line wrap. (WebCore::RenderText::caretRect): Only go to the next text box if its at a line wrap and the affinity is also downstream. If its upstream, then the correct box is on the current line. (WebCore::RenderText::inlineBox): ditto. * rendering/RenderTextField.cpp: (WebCore::RenderTextField::updateFromElement): multi line controls don't need to check valueMatchesRenderer before updating the renderer. For textareas, the renderer should always try to update. This matches our old textarea behavior. (WebCore::RenderTextField::text): Pass true to textContent so it converts BRs to newlines. (WebCore::RenderTextField::textWithHardLineBreaks): Iterate through the RootLineBoxes to find the soft wraps and replace them with newlines. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca authored
2006-05-26 Anders Carlsson <acarlsson@apple.com> Reviewed by Geoff. http://bugzilla.opendarwin.org/show_bug.cgi?id=9127 Invoke capturing event listeners when AT_TARGET * dom/EventTargetNode.cpp: (WebCore::EventTargetNode::handleLocalEvents): Invoke capturing event listeners for the AT_TARGET phase. This violates the DOM spec but it's what Mozilla does. LayoutTests: 2006-05-26 Anders Carlsson <acarlsson@apple.com> Reviewed by Geoff. http://bugzilla.opendarwin.org/show_bug.cgi?id=9127 Invoke capturing event listeners when AT_TARGET * dom/html/level2/events/dispatchEvent09-expected.txt: * dom/xhtml/level2/events/dispatchEvent09-expected.txt: These fail now. * fast/dom/capturing-event-listeners-expected.txt: Added. * fast/dom/capturing-event-listeners.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
<rdar://problem/4514529> Add a list type parameter and a return value to _increaseSelectionListLevel * WebView/WebHTMLView.m: (-[WebHTMLView _increaseSelectionListLevel]): - Now returns DOMNode* (-[WebHTMLView _increaseSelectionListLevelOrdered]): (-[WebHTMLView _increaseSelectionListLevelUnordered]): - Added. These also return DOMNode* * WebView/WebHTMLViewPrivate.h: - Updated as above git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
harrison authored
<rdar://problem/4514529> Add a list type parameter and a return value to _increaseSelectionListLevel * WebCore.vcproj/WebCore/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: - Renamed ModifySelectionListLevelCommand .cpp and .h to ModifySelectionListLevel .cpp and .h * bridge/mac/WebCoreFrameBridge.h: * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge canIncreaseSelectionListLevel]): (-[WebCoreFrameBridge canDecreaseSelectionListLevel]): (-[WebCoreFrameBridge increaseSelectionListLevel]): (-[WebCoreFrameBridge decreaseSelectionListLevel]): - Call functions in IncreaseSelectionListLevelCommand or DecreaseSelectionListLevelCommand instead of ModifySelectionListLevelCommand. (-[WebCoreFrameBridge increaseSelectionListLevelOrdered]): (-[WebCoreFrameBridge increaseSelectionListLevelUnordered]): - Added. * editing/ModifySelectionListLevel.cpp: Added. - Renamed from ModifySelectionListLevelCommand.cpp - Made ModifySelectionListLevelCommand class into a useful base class for new classes IncreaseSelectionListLevelCommand and DecreaseSelectionListLevelCommand. (WebCore::ModifySelectionListLevelCommand::ModifySelectionListLevelCommand): (WebCore::getStartEndListChildren): (WebCore::ModifySelectionListLevelCommand::insertSiblingNodeRangeBefore): (WebCore::ModifySelectionListLevelCommand::appendSiblingNodeRange): - ModifySelectionListLevelCommand is base class for IncreaseSelectionListLevelCommand and DecreaseSelectionListLevelCommand (WebCore::IncreaseSelectionListLevelCommand::IncreaseSelectionListLevelCommand): (WebCore::IncreaseSelectionListLevelCommand::listElement): (WebCore::canIncreaseListLevel): (WebCore::IncreaseSelectionListLevelCommand::doApply): (WebCore::IncreaseSelectionListLevelCommand::canIncreaseSelectionListLevel): (WebCore::increaseSelectionListLevelWithType): (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevel): (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelOrdered): (WebCore::IncreaseSelectionListLevelCommand::increaseSelectionListLevelUnordered): - Now a subclass of ModifySelectionListLevelCommand - Added Ordered and Unordered increaser functions - Increaser functions return the list element that the items were moved into (WebCore::DecreaseSelectionListLevelCommand::DecreaseSelectionListLevelCommand): (WebCore::canDecreaseListLevel): (WebCore::DecreaseSelectionListLevelCommand::doApply): (WebCore::DecreaseSelectionListLevelCommand::canDecreaseSelectionListLevel): (WebCore::DecreaseSelectionListLevelCommand::decreaseSelectionListLevel): - No functional changes other than to become a subclass of ModifySelectionListLevelCommand * editing/ModifySelectionListLevel.h: Added. (WebCore::): - Renamed from ModifySelectionListLevelCommand.cpp * editing/ModifySelectionListLevelCommand.cpp: Removed. - Renamed to ModifySelectionListLevel.cpp * editing/ModifySelectionListLevelCommand.h: Removed. - Renamed to ModifySelectionListLevel.h * editing/htmlediting.cpp: (WebCore::createOrderedListElement): (WebCore::createUnorderedListElement): * editing/htmlediting.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
tomernic authored
<http://bugzilla.opendarwin.org/show_bug.cgi?id=8347> REGRESSION: Flash movie audible but not visible until window is resized * Plugins/WebNetscapePluginDocumentView.m: (-[WebNetscapePluginDocumentView dataSourceUpdated:]): Layout if needed here. Maciej recently removed the "LayoutAcceptable" frame state, which used to cause plugin document views to lay out immediately upon receiving data. This call to -layout has the same effect. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Reviewed by adele. Build fixes/tweaks * WebCore.vcproj/WebCore/WebCore.vcproj: * config.h: * ksvg2/scripts/make_names.pl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Build fixes/tweaks * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Build fixes/tweaks * WebKitWin.vcproj/WebKitWin/WebKitWin.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
sfalken authored
Build fixes/tweaks * Spinneret/Spinneret.sln: * Spinneret/Spinneret/Spinneret.vcproj: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 May, 2006 19 commits
-
-
sfalken authored
Reviewed by adele. Fix build * WebCore.vcproj/WebCore/WebCore.vcproj: * config.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aliceli1 authored
* bindings/js/kjs_html.cpp: added bindings (KJS::HTMLElementFunction::callAsFunction): added case to handle namedItem for select elements * bindings/js/kjs_html.h: added enum value for bindings (KJS::JSHTMLElement::): * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::namedItem): implemented namedItem method * html/HTMLSelectElement.h: added prototype for namedItem method git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Implement containsCharacters method on Win32 for determining if a fallback font has the necessary glyphs to be used. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by hyatt. Landed by eseidel. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8848 TFOOT borders are copied to THEAD and TBODY Test: fast/table/border-collapsing/border-collapsing-head-foot.html * rendering/RenderTable.cpp: (WebCore::RenderTable::sectionAbove): Added. (WebCore::RenderTable::sectionBelow): Added. (WebCore::RenderTable::cellAbove): Changed to call sectionAbove. (WebCore::RenderTable::cellBelow): Changed to call sectionBelow. * rendering/RenderTable.h: * rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::collapsedTopBorder): Changed to call sectionAbove. (WebCore::RenderTableCell::collapsedBottomBorder): Changed to call sectionBelow. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by hyatt. Landed by eseidel. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3297 height property is not honored on table rows * rendering/RenderTableSection.cpp: (WebCore::RenderTableSection::addChild): Assign the row renderer to the grid row. (WebCore::RenderTableSection::calcRowHeight): Fix off-by-one index bug and add vertical spacing only for grid rows that have a renderer. (WebCore::RenderTableSection::recalcCells): Assign row renderers to grid rows. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by darin. Landed by eseidel. Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5978 WebKIt+SVG should use SVGDocumentImpl for image/svg+xml Make sure SVGDocument is created for standalone svg documents. * ksvg2/svg/SVGDOMImplementation.cpp: (SVGDOMImplementation::instance): (SVGDOMImplementation::createDocument): * ksvg2/svg/SVGDOMImplementation.h: * ksvg2/svg/SVGDocument.cpp: (WebCore::SVGDocument::SVGDocument): (WebCore::SVGDocument::~SVGDocument): * ksvg2/svg/SVGDocument.h: * ksvg2/svg/SVGTests.cpp: (WebCore::SVGTests::isValid): * ksvg2/svg/SVGTitleElement.cpp: * ksvg2/svg/SVGTitleElement.h: * page/Frame.cpp: (WebCore::Frame::begin): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by darin. Landed by eseidel. http://bugzilla.opendarwin.org/show_bug.cgi?id=5889 HTMLNames.* should be generated using make_names.pl Use a patched make_names.pl to autogenerate HTMLNames.* * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * html/HTMLNames.cpp: Removed. * html/HTMLNames.h: Removed. * html/HTMLTagNames.in: Added. * html/HTMLAttributeNames.in: Added. * ksvg2/scripts/make_names.pl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eseidel authored
Reviewed by andersca. Add "HasIndexGetter" support to bindings autogen system. http://bugzilla.opendarwin.org/show_bug.cgi?id=9057 * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSHTMLInputElementBase.cpp: * bindings/js/kjs_css.cpp: (KJS::toJS): * bindings/js/kjs_css.h: * bindings/js/kjs_dom.cpp: (KJS::DOMNamedNodeMap::getOwnPropertySlot): * bindings/scripts/CodeGeneratorJS.pm: * css/CSSValueList.idl: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
thatcher authored
<rdar://problem/4559808> WebKit fails to compile for ppc64 <rdar://problem/4522085> 64-bit: WebKit uses FSSpec which is not available in 64-bit Gets WebKit building under 64-bit. Rename WebNSInt and WebNSUInt to WebNSInteger and WebNSUInteger. Start using WebNSInteger where we need to match AppKit API usage of NSInteger. HIWebView and a couple of helper functions are disabled until they can be moved off of QuickDraw. <rdar://problem/4561772> HIWebView needs to be reworked to not use QuickDraw, needed for 64-bit * Carbon/CarbonUtils.m: disabled this file in 64-bit <rdar://problem/4561772> * Carbon/CarbonWindowAdapter.m: (-[CarbonWindowAdapter initWithCarbonWindowRef:takingOwnership:disableOrdering:carbon:]): * Carbon/CarbonWindowFrame.m: (+[CarbonWindowFrame frameRectForContentRect:styleMask:]): (+[CarbonWindowFrame contentRectForFrameRect:styleMask:]): (+[CarbonWindowFrame minFrameSizeForMinContentSize:styleMask:]): (-[CarbonWindowFrame frameRectForContentRect:styleMask:]): (-[CarbonWindowFrame contentRectForFrameRect:styleMask:]): (-[CarbonWindowFrame minFrameSizeForMinContentSize:styleMask:]): * Carbon/HIViewAdapter.m: disabled this file in 64-bit <rdar://problem/4561772> * Carbon/HIWebView.m: disabled this file in 64-bit <rdar://problem/4561772> (HIWebViewEventHandler): * DefaultDelegates/WebDefaultResourceLoadDelegate.m: (-[WebDefaultResourceLoadDelegate webView:resource:didReceiveContentLength:fromDataSource:]): * History/WebBackForwardList.m: (-[WebBackForwardList removeItem:]): (-[WebBackForwardList goToItem:]): * Misc/WebDownload.m: (-[WebDownloadInternal download:didReceiveDataOfLength:]): * Misc/WebFileDatabase.m: (UniqueFilePathForKey): * Misc/WebIconDatabase.m: (-[NSMutableDictionary retainIconForURL:]): (-[NSMutableDictionary releaseIconForURL:]): (-[WebIconDatabase _totalRetainCountForIconURLString:]): (-[WebIconDatabase _retainIconForIconURLString:]): (-[WebIconDatabase _releaseIconForIconURLString:]): * Misc/WebSearchableTextView.m: (-[NSString selectionRect]): * Misc/WebTypesInternal.h: Added. * Plugins/WebBaseNetscapePluginStream.m: (-[WebBaseNetscapePluginStream _destroyStream]): (CarbonPathFromPOSIXPath): * Plugins/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView sendActivateEvent:]): (-[WebBaseNetscapePluginView sendUpdateEvent]): (TSMEventHandler): (-[WebBaseNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]): (-[WebBaseNetscapePluginView _printedPluginBitmap]): (-[NSData _web_locationAfterFirstBlankLine]): * Plugins/WebBasePluginPackage.m: (-[WebBasePluginPackage hash]): * Plugins/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage load]): (functionPointerForTVector): * WebInspector/WebInspector.m: (-[WebInspector _updateSystemColors]): * WebKit.xcodeproj/project.pbxproj: * WebView/WebDataSource.m: (-[WebDataSource _didReceiveData:contentLength:forResource:]): * WebView/WebFrame.m: (-[WebFrame _sendRemainingDelegateMessagesWithIdentifier:response:length:error:]): * WebView/WebHTMLView.m: (-[NSArray drawRect:]): (-[WebHTMLView characterIndexForPoint:]): (-[WebHTMLView conversationIdentifier]): * WebView/WebResourceLoadDelegate.h: * WebView/WebUIDelegate.h: * WebView/WebView.h: * WebView/WebView.m: (-[WebView _mouseDidMoveOverElement:modifierFlags:]): (-[WebView spellCheckerDocumentTag]): * WebView/WebViewInternal.h: * WebView/WebViewPrivate.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
Modify DumpRenderTree so it will be able to spit out expected-win.txt files for win32 layout test results. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
hyatt authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-