1. 19 Mar, 2006 6 commits
  2. 18 Mar, 2006 16 commits
    • darin's avatar
      One more time. · 018ae5c6
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13387 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018ae5c6
    • darin's avatar
      A couple more fixes for things found during dry runs. · 03d3d756
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      03d3d756
    • darin's avatar
      Did another dry run of the renaming and had to fix a couple of things. · 8377821a
      darin authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8377821a
    • darin's avatar
      LayoutTests: · f46c05f3
      darin authored
              Reviewed by Darin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7830
                <canvas> createPattern 'repeat' options fail
      
              * fast/canvas/patternfill-repeat-expected.checksum: Added.
              * fast/canvas/patternfill-repeat-expected.png: Added.
              * fast/canvas/patternfill-repeat-expected.txt: Added.
              * fast/canvas/patternfill-repeat.html: Added.
      
      WebCore:
      
              Test: fast/canvas/patternfill-repeat.html
      
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7830
                <canvas> createPattern 'repeat' options fail
      
              * CanvasPattern.cpp (CanvasPattern::createPattern)
              Change stepping so that repeat-x, repeat-y, and no-repeat repeat 
              outside the view area by using large values for repeat interval.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f46c05f3
    • darin's avatar
      LayoutTests: · bbf2fa2b
      darin authored
              Reviewed by Darin.
      
              - Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7761
                Tabs in class attribute not treated as whitespace
      
              * fast/dom/Element/class-attribute-whitespace-expected.checksum: Added.
              * fast/dom/Element/class-attribute-whitespace-expected.png: Added.
              * fast/dom/Element/class-attribute-whitespace-expected.txt: Added.
              * fast/dom/Element/class-attribute-whitespace.html: Added.
              NOTE: This test will get broken if "eol-style" processing is done on it.
      
      WebCore:
      
              Test: fast/dom/Element/class-attribute-whitespace.html
      
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7761
                Tabs in class attribute not treated as whitespace
      
              * dom/dom_elementimpl.cpp:
              (WebCore::isClassWhitespace): Helper function to check if a character
              in the class attribute should be treated as whitespace. Added \r and \t.
              (WebCore::NamedMappedAttrMapImpl::parseClassAttribute): Instead of creating
              a QStringList and iterating it, do everything in one pass over the string.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbf2fa2b
    • darin's avatar
      LayoutTests: · 47b9e2c5
      darin authored
              Reviewed by Hyatt.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6795
                Slow image load causes render problem
      
              * fast/block/float/vertical-move-relayout-expected.checksum: Added.
              * fast/block/float/vertical-move-relayout-expected.png: Added.
              * fast/block/float/vertical-move-relayout-expected.txt: Added.
              * fast/block/float/vertical-move-relayout.html: Added.
      
      WebCore:
      
              Test: fast/block/float/vertical-move-relayout.html
      
              Reviewed by Hyatt.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6795
                Slow image load causes render problem
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::layoutBlockChildren): Call markAllDescendantsWithFloatsForLayout
              when the child's vertical position changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47b9e2c5
    • darin's avatar
      LayoutTests: · bf066274
      darin authored
              Reviewed by Darin.
      
              - Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6314
              Unclosed <style> element in <head> makes page completely blank
      
              * fast/js/exception-linenums-in-html-3-expected.txt: Added.
              * fast/js/exception-linenums-in-html-3.html: Added.
      
              Identical to fast/js/exception-linenums-in-html-1.html except that it contains
              an unclosed <style> tag, which causes the code path for Bug 6314 to be tested.
      
              * fast/js/missing-style-end-tag-js-expected.txt: Added.
              * fast/js/missing-style-end-tag-js.html: Added.
      
              While developing a fix for Bug 6314, a state variable (scriptCodeSize) was not
              reset in the tokenizer causing the next <script></script> tags to contain the
              entire contents of the document after the open <title> tag.  This test case
              tests for that condition.
      
              * fast/tokenizer/missing-style-end-tag-1-expected.checksum: Added.
              * fast/tokenizer/missing-style-end-tag-1-expected.png: Added.
              * fast/tokenizer/missing-style-end-tag-1-expected.txt: Added.
              * fast/tokenizer/missing-style-end-tag-1.html: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.checksum: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.png: Added.
              * fast/tokenizer/missing-style-end-tag-2-expected.txt: Added.
              * fast/tokenizer/missing-style-end-tag-2.html: Added.
      
              The first test case contains an unclosed <style> tag in <head>, while the
              second test case contains an unclosed <style> tag in <body>.  These two test
              cases result in different code paths being taken.
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6314
              Unclosed <style> element in <head> makes page completely blank
      
              Test: fast/js/exception-linenums-in-html-3.html
              Test: fast/js/missing-style-end-tag-js.html
              Test: fast/tokenizer/missing-style-end-tag-1.html
              Test: fast/tokenizer/missing-style-end-tag-2.html
      
              * khtml/html/htmlparser.cpp:
              (WebCore::HTMLParser::handleError): Add check for missing </style> tag and handle
              this condition if identified.
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::parseTag): If parseSpecial() consumes the rest of the
              document looking for a </style> tag, reset the state of the tokenizer and
              retokenize with no special handling for <style>.  The parser will handle the
              missing </style> tag in HTMLParser::handleError().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13381 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf066274
    • darin's avatar
      Reviewed by Darin. · 3353029e
      darin authored
              Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5351:
              SVG: Safari ignores <title> elements
      
              Make SVGTitleElementImpl act the same as HTMLTitleElementImpl,
              in the process setting the title on the right triggers.
      
              * ksvg2/svg/SVGTitleElementImpl.cpp:
              (SVGTitleElementImpl::SVGTitleElementImpl):
              (SVGTitleElementImpl::title):
              (SVGTitleElementImpl::closeRenderer):
              (SVGTitleElementImpl::insertedIntoDocument):
              (SVGTitleElementImpl::removedFromDocument):
              (SVGTitleElementImpl::childrenChanged):
              * ksvg2/svg/SVGTitleElementImpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3353029e
    • darin's avatar
      Reviewed by Darin. · 5a082425
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3438
      
              * fast/replaced/img-1x1-expected.checksum: Added.
              * fast/replaced/img-1x1-expected.txt: Added.
              * fast/replaced/img-1x1.html: Added.
              * fast/replaced/img-1x1-expected.png: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a082425
    • darin's avatar
      - updated test results for tests affected by Hyatt's latest table fix · 6cc92840
      darin authored
              * tables/mozilla/bugs/bug44505-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.checksum:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.png:
              * tables/mozilla_expected_failures/bugs/bug106966-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_caption_hidden_table-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_table-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.checksum:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png:
              * tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cc92840
    • darin's avatar
      - another try at fixing Windows build · 2d5412a8
      darin authored
              * WebCore.vcproj/WebCore/WebCore.vcproj: Added EventTargetNodeImpl.h and .cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2d5412a8
    • darin's avatar
      - another try at fixing Windows build · 065560d9
      darin authored
              * bridge/win/FrameWin.cpp: (WebCore::FrameWin::keyPress): Added EventTargetNodeCast.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      065560d9
    • darin's avatar
      - try to fix Windows build · 95c6fcc4
      darin authored
              * bridge/win/FrameWin.h: Remove KURL parameter.
              * bridge/win/FrameWin.cpp: (WebCore::FrameWin::urlSelected): Ditto.
              * platform/win/TemporaryLinkStubs.cpp: (BrowserExtensionWin::canRunModal): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13375 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95c6fcc4
    • darin's avatar
      Reviewed by Darin. · b98c6454
      darin authored
              - fix leaks caused by the fix for Bugzilla bug 3560
      
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::destroyLeftoverChildren): Text renderers with
              first-letter pseudo style are children of an existing first-letter inline
              that has been updated, and should be destroyed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13374 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b98c6454
    • darin's avatar
      A couple more renaming refinements. · 7905478e
      darin authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13373 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7905478e
    • hyatt's avatar
      Fix for bug 7841, tables, table rows, and table row groups should · 80f45ebd
      hyatt authored
              all support overflow:hidden.
      
              Reviewed by eric
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::adjustRenderStyle):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::layout):
              (WebCore::RenderTable::paint):
              (WebCore::RenderTable::getOverflowClipRect):
              * rendering/RenderTable.h:
              * rendering/RenderTableCol.h:
              (WebCore::RenderTableCol::requiresLayer):
              * rendering/RenderTableRow.h:
              (WebCore::RenderTableRow::requiresLayer):
              * rendering/render_box.cpp:
              (WebCore::RenderBox::setStyle):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::paintLayer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80f45ebd
  3. 17 Mar, 2006 18 commits
    • aliceli1's avatar
      Reviewed by Hyatt. · aa2a71be
      aliceli1 authored
              - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6999
                "Dynamically added link-tag disables the use of change styles 
                 dynamically"
      
              * khtml/html/html_headimpl.cpp:
              (WebCore::HTMLLinkElementImpl::process):
              - dynamically added link-tags for stylesheets were messing up the
                counting of pending stylesheets.  If a head link element 
                specifies a new stylesheet but the previously specified 
                stylesheet is still loading, tell the document that stylesheets 
                are loaded so that there are no remaining requests for it to be 
                loaded.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa2a71be
    • aliceli1's avatar
      Reviewed by Justin. · 4e4e81aa
      aliceli1 authored
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.checksum: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.png: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check-expected.txt: Added.
              * fast/dom/HTMLHeadElement/head-link-style-href-check.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e4e81aa
    • ggaren's avatar
      LayoutTests: · 42e58c6d
      ggaren authored
              Reviewed by Darin.
      
              * fast/dom/prototype-chain-expected.txt: Updated to reflect new
              prototype chain.
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fixed some crashes in event dispatch and settled the question of 
              when getDocument() can return NULL, removing superfluous NULL checks.
      
              I promise to check in a test case soon, but I need to land this before
              the global rename happens, and I left the test file on my other machine.
      
              Here's what I did:
      
              (1) Removed NULL checks for getDocument() in cases where we know it
              should not return NULL (which turned out to be all but one). Replaced 
              with ASSERT inside getDocument(). Tested to ensure there was no 
              regression @ albertsons.com.
      
              (2) Added the EventTargetNode class, which represents Nodes that
              implement the DOM EventTarget interface. Discussed this design with
              Maciej and Hyatt. The previous dsign -- assuming that all Nodes were 
              EventTargets -- made it possible to crash WebKit by, for example, 
              dispatching a mouse event to a documentType node that was not 
              associated with a document.
      
              (3) Reflected (2) into the JS bindings and touched JSDOMCore.cpp to 
              force a re-build.
      
              (4) Using classInfo checking, strengthened type constraints on 
              JavaScript method dispatch so that you can't finagle JavaScript into, 
              for example, invoking a document-dependent method belonging to a
              node type that's guaranteed to have a document on a node type that may
              not have one. 
      
              (5) Pushed some IE-specific JS bindings that depend on a node having a 
              document down from DOMNode to DOMElement. (An element always has a 
              document.) Tested that Firefox's behavior matched. Confirmed with MSDN.
      
              (6) Updated Objc bindigns to throw an exception if you try to use
              the event interface on a node that doesn't support it. Discussed this
              design with Maciej and TimH.
      
              (7) Consolidated repeated documentElement-finding code in the Position 
              class into the Position::documentElement() method. Did the same for
              repeated top-level document finding and DocumentImpl::topDocument().
              
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSDOMCore.cpp:
              * bindings/objc/DOM.mm:
              (-[DOMNode addEventListener:::]):
              (-[DOMNode removeEventListener:::]):
              (-[DOMNode dispatchEvent:]):
              (-[DOMNode KJS::Bindings::]):
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::keyEvent):
              (WebCore::MacFrame::dispatchCPPEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge setSelectedDOMRange:affinity:closeTyping:]):
              (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]):
              * css/css_base.cpp:
              (WebCore::StyleBaseImpl::baseURL):
              * css/css_computedstyle.cpp:
              (WebCore::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
              * css/css_valueimpl.cpp:
              (WebCore::CSSMutableStyleDeclarationImpl::removeProperty):
              (WebCore::CSSMutableStyleDeclarationImpl::setProperty):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * dom/Attr.idl:
              * dom/CharacterData.idl:
              * dom/CharacterDataImpl.cpp:
              (WebCore::CharacterDataImpl::CharacterDataImpl):
              (WebCore::CharacterDataImpl::rendererIsNeeded):
              (WebCore::CharacterDataImpl::dump):
              * dom/CharacterDataImpl.h:
              * dom/ContainerNodeImpl.cpp:
              (WebCore::ContainerNodeImpl::ContainerNodeImpl):
              (WebCore::ContainerNodeImpl::removeChild):
              (WebCore::ContainerNodeImpl::attach):
              (WebCore::ContainerNodeImpl::detach):
              (WebCore::ContainerNodeImpl::insertedIntoDocument):
              (WebCore::ContainerNodeImpl::removedFromDocument):
              (WebCore::ContainerNodeImpl::insertedIntoTree):
              (WebCore::ContainerNodeImpl::removedFromTree):
              (WebCore::ContainerNodeImpl::setFocus):
              (WebCore::ContainerNodeImpl::setActive):
              (WebCore::ContainerNodeImpl::setHovered):
              (WebCore::dispatchChildInsertionEvents):
              (WebCore::dispatchChildRemovalEvents):
              * dom/ContainerNodeImpl.h:
              * dom/DOMImplementationImpl.cpp:
              (WebCore::DOMImplementationImpl::createDocument):
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::removeAllEventListenersFromAllNodes):
              (WebCore::DocumentImpl::removeAllDisconnectedNodeEventListeners):
              (WebCore::DocumentImpl::getAccObjectCache):
              (WebCore::DocumentImpl::setFocusNode):
              (WebCore::DocumentImpl::topDocument):
              * dom/Element.idl:
              * dom/EventTargetNodeImpl.cpp: Added.
              (WebCore::EventTargetNodeImpl::EventTargetNodeImpl):
              (WebCore::EventTargetNodeImpl::~EventTargetNodeImpl):
              (WebCore::EventTargetNodeImpl::insertedIntoDocument):
              (WebCore::EventTargetNodeImpl::removedFromDocument):
              (WebCore::EventTargetNodeImpl::addEventListener):
              (WebCore::EventTargetNodeImpl::removeEventListener):
              (WebCore::EventTargetNodeImpl::removeAllEventListeners):
              (WebCore::EventTargetNodeImpl::handleLocalEvents):
              (WebCore::EventTargetNodeImpl::dispatchGenericEvent):
              (WebCore::EventTargetNodeImpl::dispatchEvent):
              (WebCore::EventTargetNodeImpl::dispatchSubtreeModifiedEvent):
              (WebCore::EventTargetNodeImpl::dispatchWindowEvent):
              (WebCore::EventTargetNodeImpl::dispatchUIEvent):
              (WebCore::EventTargetNodeImpl::dispatchKeyEvent):
              (WebCore::EventTargetNodeImpl::dispatchMouseEvent):
              (WebCore::EventTargetNodeImpl::dispatchSimulatedMouseEvent):
              (WebCore::EventTargetNodeImpl::dispatchWheelEvent):
              (WebCore::EventTargetNodeImpl::dispatchHTMLEvent):
              (WebCore::EventTargetNodeImpl::removeHTMLEventListener):
              (WebCore::EventTargetNodeImpl::setHTMLEventListener):
              (WebCore::EventTargetNodeImpl::getHTMLEventListener):
              (WebCore::EventTargetNodeImpl::disabled):
              (WebCore::EventTargetNodeImpl::defaultEventHandler):
              (WebCore::EventTargetNodeImpl::dump):
              * dom/EventTargetNodeImpl.h: Added.
              (WebCore::EventTargetNodeImpl::isEventTargetNode):
              (WebCore::EventTargetNodeImpl::preDispatchEventHandler):
              (WebCore::EventTargetNodeImpl::postDispatchEventHandler):
              (WebCore::EventTarget):
              (WebCore::forbidEventDispatch):
              (WebCore::allowEventDispatch):
              (WebCore::eventDispatchForbidden):
              * dom/NodeImpl.cpp:
              (WebCore::NodeImpl::NodeImpl):
              (WebCore::NodeImpl::~NodeImpl):
              (WebCore::NodeImpl::dump):
              (WebCore::NodeImpl::detach):
              (WebCore::NodeImpl::insertedIntoDocument):
              (WebCore::NodeImpl::removedFromDocument):
              * dom/NodeImpl.h:
              (WebCore::NodeImpl::isEventTargetNode):
              (WebCore::NodeImpl::isLink):
              (WebCore::NodeImpl::getDocument):
              (WebCore::NodeImpl::inDocument):
              * dom/dom2_eventsimpl.cpp:
              (WebCore::MouseRelatedEventImpl::receivedTarget):
              * dom/dom2_rangeimpl.cpp:
              (WebCore::RangeImpl::commonAncestorContainer):
              * dom/dom_elementimpl.cpp:
              (WebCore::inHTMLDocument):
              (WebCore::ElementImpl::focus):
              (WebCore::ElementImpl::blur):
              (WebCore::StyledElementImpl::parseMappedAttribute):
              * dom/dom_position.cpp:
              (WebCore::Position::documentElement):
              * dom/dom_position.h:
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::computeAndStoreNodeDesiredStyle):
              * editing/SelectionController.cpp:
              (WebCore::SelectionController::needsCaretRepaint):
              * editing/visible_units.cpp:
              (WebCore::previousBoundary):
              (WebCore::nextBoundary):
              (WebCore::previousLinePosition):
              (WebCore::nextLinePosition):
              (WebCore::startOfDocument):
              (WebCore::endOfDocument):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNode::mark):
              (KJS::DOMNode::getValueProperty):
              (KJS::DOMNode::putValueProperty):
              (KJS::DOMNodeProtoFunc::callAsFunction):
              (KJS::DOMEventTargetNode::DOMEventTargetNode):
              (KJS::DOMEventTargetNode::getOwnPropertySlot):
              (KJS::DOMEventTargetNode::getValueProperty):
              (KJS::DOMEventTargetNode::put):
              (KJS::DOMEventTargetNode::putValueProperty):
              (KJS::DOMEventTargetNode::setListener):
              (KJS::DOMEventTargetNode::getListener):
              (KJS::DOMEventTargetNode::pushEventHandlerScope):
              (KJS::DOMEventTargetNodeProtoFunc::callAsFunction):
              (KJS::):
              (KJS::DOMDocument::DOMDocument):
              (KJS::DOMDocument::getOwnPropertySlot):
              (KJS::DOMDocument::put):
              (KJS::DOMDocument::putValueProperty):
              (KJS::DOMDocumentProtoFunc::callAsFunction):
              (KJS::DOMElement::DOMElement):
              (KJS::DOMElement::getValueProperty):
              (KJS::DOMElement::put):
              (KJS::DOMElement::putValueProperty):
              (KJS::DOMElement::getOwnPropertySlot):
              (KJS::DOMElementProtoFunc::callAsFunction):
              (KJS::checkNodeSecurity):
              * khtml/ecma/kjs_dom.h:
              (KJS::DOMNode::):
              (KJS::DOMEventTargetNode::):
              (KJS::DOMElement::):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSLazyEventListener::parseCode):
              (KJS::getNodeEventListener):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::bodyGetter):
              (KJS::HTMLElement::anchorGetter):
              (KJS::HTMLElement::getValueProperty):
              (KJS::HTMLElement::bodySetter):
              * khtml/ecma/kjs_views.cpp:
              (KJS::DOMAbstractViewProtoFunc::callAsFunction):
              * khtml/html/HTMLFormElementImpl.cpp:
              (WebCore::HTMLFormElementImpl::registerFormElement):
              (WebCore::HTMLFormElementImpl::removeFormElement):
              * khtml/html/HTMLGenericFormElementImpl.cpp:
              (WebCore::HTMLGenericFormElementImpl::insertedIntoTree):
              * khtml/html/HTMLInputElementImpl.cpp:
              (WebCore::HTMLInputElementImpl::~HTMLInputElementImpl):
              (WebCore::HTMLInputElementImpl::focus):
              * khtml/html/HTMLOptionElementImpl.cpp:
              (WebCore::HTMLOptionElementImpl::text):
              * khtml/html/HTMLSelectElementImpl.cpp:
              (WebCore::HTMLSelectElementImpl::~HTMLSelectElementImpl):
              * khtml/html/HTMLTextAreaElementImpl.cpp:
              (WebCore::HTMLTextAreaElementImpl::~HTMLTextAreaElementImpl):
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLBodyElementImpl::insertedIntoDocument):
              (WebCore::HTMLFrameElementImpl::isURLAllowed):
              (WebCore::HTMLFrameElementImpl::openURL):
              (WebCore::HTMLFrameElementImpl::frameWidth):
              (WebCore::HTMLFrameElementImpl::frameHeight):
              * khtml/html/html_imageimpl.cpp:
              (WebCore::HTMLImageLoader::~HTMLImageLoader):
              (WebCore::HTMLImageLoader::updateFromElement):
              (WebCore::HTMLImageLoader::notifyFinished):
              (WebCore::HTMLImageElementImpl::width):
              (WebCore::HTMLImageElementImpl::height):
              (WebCore::HTMLMapElementImpl::~HTMLMapElementImpl):
              * khtml/html/html_inlineimpl.cpp:
              (WebCore::HTMLAnchorElementImpl::defaultEventHandler):
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::notifyFinished):
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              (SVGAnimateColorElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateElementImpl.cpp:
              (SVGAnimateElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
              (SVGAnimateTransformElementImpl::handleTimerEvent):
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              (SVGAnimationElementImpl::closeRenderer):
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGDocumentImpl.cpp:
              (WebCore::SVGDocumentImpl::dispatchRecursiveEvent):
              * ksvg2/svg/SVGDocumentImpl.h:
              * ksvg2/svg/SVGImageElementImpl.cpp:
              * ksvg2/svg/SVGSetElementImpl.cpp:
              (SVGSetElementImpl::handleTimerEvent):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject mouseButtonListener]):
              (-[KWQAccObject accessibilityPerformAction:]):
              * kwq/KWQTextArea.mm:
              (-[KWQTextAreaTextView dispatchHTMLEvent:]):
              * page/Frame.cpp:
              (WebCore::dispatchKHTMLEditableContentChanged):
              * page/FrameView.cpp:
              (WebCore::FrameView::dispatchDragEvent):
              (WebCore::FrameView::dispatchMouseEvent):
              (WebCore::FrameView::viewportWheelEvent):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::scrollToOffset):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::shouldSelect):
              (WebCore::RenderObject::backslashAsCurrencySymbol):
              * rendering/render_replaced.cpp:
              (WebCore::RenderWidget::sendConsumedMouseUp):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42e58c6d
    • bdakin's avatar
      Reviewed by hyatt · 0589f07a
      bdakin authored
              This test should actually be in the failures folder. Moving.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0589f07a
    • hyatt's avatar
      Update the table opacity test case to reflect the now-correct results. · 96f44d2c
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96f44d2c
    • hyatt's avatar
      Fix for 7837, make opacity work with table rows. Make transparent backgrounds · e031dd02
      hyatt authored
              stack properly in cells (so that the layers behind can show through like they
              should).
      
              Reviewed by beth
      
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::requiresLayer):
              (WebCore::RenderTableCell::paintBackgroundsBehindCell):
              (WebCore::RenderTableCell::paintBoxDecorations):
              * rendering/RenderTableCell.h:
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::paint):
              * rendering/RenderTableRow.h:
              (WebCore::RenderTableRow::requiresLayer):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::paint):
              * rendering/render_layer.cpp:
              (WebCore::RenderLayer::updateLayerPosition):
              (WebCore::RenderLayer::isTransparent):
              (WebCore::RenderLayer::transparentAncestor):
              (WebCore::RenderLayer::beginTransparencyLayers):
              (WebCore::RenderLayer::paintLayer):
              (WebCore::RenderLayer::absoluteBoundingBox):
              * rendering/render_object.cpp:
              (WebCore::RenderObject::requiresLayer):
              * rendering/render_object.h:
              (WebCore::RenderObject::isTransparent):
              (WebCore::RenderObject::opacity):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e031dd02
    • mjs's avatar
      Reviewed by Darin. · f8fa72ec
      mjs authored
              
              - fixed "charAt layout test fails on intel macs; some NaNs are printed as -NaN"
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7745
      
              * kjs/ustring.cpp:
              (KJS::UString::from): Use "NaN" for all NaN values, regardless of sign.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8fa72ec
    • mjs's avatar
      Reviewed by Adele. · dcce106f
      mjs authored
              - clean up ResourceRequest to be closer to a proper request interface
      
              * page/ResourceRequest.h: folded URL into ResourceRequest, other cleanup
              (WebCore::ResourceRequest::ResourceRequest): Add new explicit constructor
              that takes a KURL.
              (WebCore::ResourceRequest::url): getter for KURL
              (WebCore::ResourceRequest::setURL): corresponding setter
              (WebCore::ResourceRequest::referrer): new getter for referrer, instead
              of storing it in m_metaData (it was the only remaining real use of it)
              (WebCore::ResourceRequest::setReferrer): corresponding setter
              * bridge/BrowserExtension.h: 
              - removed unused openURLRequest and openURLNotify methods
              - folded KURL parameter into ResourceRequest
              * bridge/mac/BrowserExtensionMac.h: remove KURL args from methods that
              also take a ResourceRequest
              * bridge/mac/BrowserExtensionMac.mm:
              (WebCore::BrowserExtensionMac::createNewWindow): adjust for ResourceRequest
              changes.
              * bridge/mac/MacFrame.h: remove KURL args from methods that also take a
              ResourceRequest
              * bridge/mac/MacFrame.mm:
              (WebCore::MacFrame::openURLRequest): adjust for ResourceRequest changes
              (WebCore::MacFrame::submitForm): ditto
              (WebCore::MacFrame::urlSelected): ditto
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge openURL:reload:contentType:refresh:lastModified:pageCache:]): 
              adjust for ResourceRequest changes
              * bridge/win/BrowserExtensionWin.h:
              * khtml/ecma/kjs_window.cpp:
              (KJS::createNewWindow): adjust for ResourceRequest changes
              (KJS::WindowFunc::callAsFunction): ditto
              * page/Frame.cpp:
              (WebCore::Frame::didOpenURL): adjust for ResourceRequest changes
              (WebCore::Frame::receivedFirstData): ditto
              (WebCore::Frame::begin): ditto
              (WebCore::Frame::completeURL): ditto
              (WebCore::Frame::changeLocation): ditto
              (WebCore::Frame::urlSelected): ditto
              (WebCore::Frame::requestFrame): ditto
              (WebCore::Frame::submitForm): ditto
              * page/Frame.h:
              * platform/win/TemporaryLinkStubs.cpp:
              (BrowserExtensionWin::createNewWindow): ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcce106f
    • bdakin's avatar
      Reviewed by Darin, landed by Beth. · 715072f3
      bdakin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7693
                WebKit relies on unpredictable timing for onload events
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      715072f3
    • sullivan's avatar
      Reviewed by Beth Dakin · 53987a4c
      sullivan authored
              
              - fixed <rdar://problem/4239051> Sometimes "Copy Link" in Safari results in a 
              URL on the pasteboard with no usable "title"
      
              * History/WebURLsWithTitles.m:
              (+[WebURLsWithTitles writeURLs:andTitles:toPasteboard:]):
              trim whitespace from titles that are put on pasteboard. This leaves an empty string
              for the title in cases where there's no displayed text, like an image in an <a> element
              that happens to have whitespace in the source, e.g. <a href="foo"> <img whatever></a>
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53987a4c
    • adele's avatar
      Updated results for background color change. · 246d3448
      adele authored
              * fast/forms/input-appearance-focus-expected.txt:
              * fast/forms/input-appearance-minWidth-expected.txt:
              * fast/forms/input-appearance-selection-expected.txt:
              * fast/forms/input-appearance-visibility-expected.txt:
              * fast/forms/input-appearance-width-expected.txt:
              * fast/forms/input-baseline-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      246d3448
    • bdakin's avatar
      Reviewed by Geoff · 4737c786
      bdakin authored
              A few more mozilla table tests.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4737c786
    • adele's avatar
      LayoutTests: · 718a8ecd
      adele authored
              Reviewed by Tim Hatcher.
      
              * fast/forms/input-appearance-default-bkcolor-expected.checksum: Added.
              * fast/forms/input-appearance-default-bkcolor-expected.png: Added.
              * fast/forms/input-appearance-default-bkcolor-expected.txt: Added.
              * fast/forms/input-appearance-default-bkcolor.html: Added.
      
      WebCore:
      
              Reviewed by Tim H.
      
              Make default backgrounds for new text fields white
              instead of transparent.  This will move to html4.css
              when we flip the switch.
      
              Test added:
              * fast/forms/input-appearance-default-bkcolor.html
      
              * rendering/render_theme_mac.mm:
              (WebCore::RenderThemeMac::adjustTextFieldStyle):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      718a8ecd
    • hyatt's avatar
      Make table sections and table captions support opacity. · d8f21d5e
      hyatt authored
              Reviewed by darin
      
              Covered by some of the new Mozilla table tests.
      
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::paint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d8f21d5e
    • hyatt's avatar
      Fix table test that now passes. · c3600479
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3600479
    • bdakin's avatar
      Reviewed by Maciej, landed by Beth. · 33b3d656
      bdakin authored
              fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3560
              page with use of first-letter crashes reproducibly in 
              RenderObject::renderArena()
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33b3d656
    • darin's avatar
      - missing bit of my check-in yesterday · 060b5ba2
      darin authored
              Maciej moved setWindowFrame for me, but I also had removed
              setWindowContentRect.
      
              * WebCoreSupport/WebFrameBridge.m: Removed unused setWindowContextRect and
              windowContentRect methods.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      060b5ba2
    • eseidel's avatar
      2006-03-17 Eric Seidel <eseidel@apple.com> · 3bac0354
      eseidel authored
              * libWebKitSystemInterface.a: commit a universal binary.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@13354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bac0354