Timeline
Oct 26, 2005:
- 11:31 PM Changeset in webkit [10979] by
-
- 2 edits4 adds in trunk/LayoutTests
Bug #: 5404
Submitted by: eseidel
Reviewed by: mjs & darin
Test case updates for XML serialization fixes.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5404
- fast/dom/dom-parse-serialize-display-expected.txt:
- fast/innerHTML/004-expected.txt: Added.
- fast/innerHTML/004.xhtml: Added.
- fast/innerHTML/005-expected.txt: Added.
- fast/innerHTML/005.html: Added.
- 11:03 PM Changeset in webkit [10978] by
-
- 7 edits in trunk/WebCore
Bug #: 5404
Submitted by: eseidel
Reviewed by: mjs & darin
Various fixes to createMarkup and toString code to properly
support serialization of XML.
http://bugzilla.opendarwin.org/show_bug.cgi?id=5404
- khtml/editing/markup.cpp: (khtml::startMarkup): (khtml::doesHTMLForbidEndTag): (khtml::shouldSelfClose): (khtml::endMarkup): (khtml::markup): (khtml::createFragmentFromMarkup): (khtml::createMarkup):
- khtml/html/html_elementimpl.cpp: (HTMLElementImpl::createContextualFragment): (HTMLElementImpl::toString):
- khtml/html/htmltokenizer.cpp: (khtml::parseHTMLDocumentFragment):
- khtml/html/htmltokenizer.h:
- khtml/xml/dom_xmlimpl.cpp: (DOM::ProcessingInstructionImpl::ProcessingInstructionImpl): (DOM::ProcessingInstructionImpl::~ProcessingInstructionImpl): (DOM::ProcessingInstructionImpl::toString):
- khtml/xml/dom_xmlimpl.h: (DOM::ProcessingInstructionImpl::sheet): (DOM::ProcessingInstructionImpl::setStyleSheet):
- 3:13 PM Changeset in webkit [10977] by
-
- 2 edits in trunk/WebCore
Don't allow position:relative to apply to table sections. Fixes the crash described in
Radar bug 4107882. (http://cityoflakeforest.com/cs/pw/cs_pw2a3.htm)
Reviewed by bdakin
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::adjustRenderStyle):
- 2:47 PM Changeset in webkit [10976] by
-
- 5 edits in trunk/WebCore
Reviewed by John.
Fixes a few problems with <rdar://problem/3612121> that I noticed with code inspection.
- khtml/rendering/render_layer.h: removed inline scrollToPoint
- khtml/rendering/render_layer.cpp: (khtml::RenderLayer::getRectToExpose):
- khtml/khtml_part.cpp: (KHTMLPart::gotoAnchor): Used to call scrollToPoint, now calls scrollRectToVisible
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::jumpToSelection): Now uses the enclosing layer of the selection start, instead of the outermost layer. (KWQKHTMLPart::centerSelectionInVisibleArea): ditto.
- 1:45 PM Changeset in webkit [10975] by
-
- 19 edits in trunk/LayoutTests
2005-10-26 Anders Carlsson <andersca@mac.com>
Reviewed by Maciej.
- dom/xhtml/level3/core/nodeisequalnode01-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode02-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode04-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode06-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode07-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode10-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode11-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode12-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode13-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode14-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode19-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode20-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode22-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode28-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode29-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode31-expected.txt:
- dom/xhtml/level3/core/nodeisequalnode32-expected.txt: These now pass.
- dom/xhtml/level3/core/nodeisequalnode21-expected.txt: This now fails because doctype is null.
- 1:44 PM Changeset in webkit [10974] by
-
- 8 edits in trunk/WebCore
2005-10-26 Anders Carlsson <andersca@mac.com>
Reviewed by Maciej.
- khtml/ecma/kjs_dom.cpp: (KJS::DOMNodeProtoFunc::callAsFunction):
- khtml/ecma/kjs_dom.h: Add JS wrapper.
(KJS::DOMNode::):
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::isEqualNode):
- khtml/xml/dom_nodeimpl.h: Implement isEqualNode.
- kwq/DOM.mm: (-[DOMNode isEqualNode:]): Add Objective C wrapper.
- 1:23 PM Changeset in webkit [10973] by
-
- 2 edits2 adds in branches/Safari-2-0-branch/JavaScriptCore
- Fixed <rdar://problem/4306000> Mail and Safari will launch faster if JavaScriptCore has no weak exports (typeinfo for subclasses in WebCore)
Reviewed by Darin.
- as: Wrapper for the system assembler that supresses all type-info .weak_definition lines
- gcc-path: small wrapper that sets the PATH before calling gcc, this makes gcc use our as
- JavaScriptCore.xcodeproj/project.pbxproj: set CC and CPLUSPLUS to point to gcc-path only in Default configuration
- 12:53 PM Changeset in webkit [10972] by
-
- 2 edits in trunk/LayoutTests/fast/css
Revise for overflow backout.
- 12:52 PM Changeset in webkit [10971] by
-
- 1 edit in trunk/LayoutTests/fast/table/overflowHidden-expected.txt
Fix overflow test.
- 12:52 PM Changeset in webkit [10970] by
-
- 1 edit in trunk/LayoutTests/fast/clip/008-expected.txt
Fix clip test now that overflow change was backed out.
- 12:48 PM Changeset in webkit [10969] by
-
- 1 edit2 adds in trunk/LayoutTests/fast/forms
Add indeterminate test. Fix 001 test.
- 12:44 PM Changeset in webkit [10968] by
-
- 12 edits in trunk/WebCore
Add support for the indeterminate boolean for placing checkboxes
into a mixed state. This is a feature of WinIE.
Along with this feature, add support for the CSS3 :indeterminate
selector, although one wonders how this could be part of the selectors spec
when no DOM standard covers the ability to make a mixed checkbox
in the first place.
This implementation may seem like it's overlooking some things, but it's not.
Specifically "indeterminate" has no effect on form submission, it does not
get cleared by a form reset, and the pre/post reversal code for undoing clicks
only resets the state that changed in WinIE. This is all bizarre behavior,
but this is a WinIE extension, so we're going to match.
Reviewed by mjs
fast/forms/indeterminate.html
- khtml/css/css_base.cpp: (CSSSelector::extractPseudoType):
- khtml/css/css_base.h: (DOM::CSSSelector::):
- khtml/css/cssstyleselector.cpp: (khtml::CSSStyleSelector::checkOneSelector):
- khtml/ecma/kjs_html.cpp: (KJS::HTMLElement::inputGetter): (KJS::HTMLElement::inputSetter):
- khtml/ecma/kjs_html.h: (KJS::HTMLElement::):
- khtml/html/html_formimpl.cpp: (DOM::HTMLInputElementImpl::init): (DOM::HTMLInputElementImpl::setIndeterminate): (DOM::HTMLInputElementImpl::preDispatchEventHandler): (DOM::HTMLInputElementImpl::postDispatchEventHandler):
- khtml/html/html_formimpl.h: (DOM::HTMLInputElementImpl::isIndeterminate): (DOM::HTMLInputElementImpl::indeterminate):
- khtml/rendering/render_theme.cpp: (khtml::RenderTheme::isIndeterminate):
- khtml/rendering/render_theme.h:
- khtml/rendering/render_theme_mac.mm: (khtml::RenderThemeMac::updateCheckedState): (khtml::RenderThemeMac::setCheckboxCellState):
- khtml/xml/dom_nodeimpl.h: (DOM::NodeImpl::isIndeterminate):
- 12:23 AM Changeset in webkit [10967] by
-
- 2 edits in trunk/WebCore
Re-landed fix for the following bug:
<rdar://problem/4302874> crash repeatedly reloading www.supermanhomepage.com (fixed in Denver, broken on TOT)
- khtml/ecma/kjs_events.cpp: (KJS::JSAbstractEventListener::handleEvent):
Oct 25, 2005:
- 11:10 PM Changeset in webkit [10966] by
-
- 7 edits in trunk
LayoutTests:
- dom/xhtml/level1/core/hc_documentgetdoctype-expected.txt: Expect success.
WebCore:
Reviewed by Eric.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5315 need to set document type based on contents of <!DOCTYPE> (fixes one layout test)
- khtml/html/html_documentimpl.cpp: (DOM::HTMLDocumentImpl::determineParseMode): Use the new setDocType function instead of modifying m_doctype directly.
- khtml/xml/dom_docimpl.h: Changed to use SharedPtr more. (DOM::DocumentImpl::realDocType): Add get() since we're using SharedPtr. (DOM::DocumentImpl::setDocType): Added.
- khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createDocument): Use setDocType instead of using realDocType()->copyFrom to set up the document type in the new document. (DocumentImpl::DocumentImpl): Don't create an empty document type during constructor. (DocumentImpl::~DocumentImpl): Remove explicit deref since we're using SharedPtr. (DocumentImpl::doctype): Add get() since we're using SharedPtr. (DocumentTypeImpl::DocumentTypeImpl): Streamlined implementation since we're using SharedPtr.
- khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::internalSubset): Added. Calls setDocType. (khtml::internalSubsetHandler): Added. Calls xmlSAX2InternalSubset after calling our function. (khtml::XMLTokenizer::finish): Changed to pass our internalSubsetHandler function pointer.
- 11:08 PM Changeset in webkit [10965] by
-
- 5 edits in trunk/WebCore
This patch makes a number of refinements to buttons to make
the custom <input>s on hotwire.com look correct.
Also back out my fix for bug 5283, since it causes some bad
regressions and basically needs to be rethought. (This part
not reviewed, since it's just a backout.)
Reviewed by darin
- khtml/css/html4.css: Added rules to reset many more properties on form controls, including text-align, letter-spacing, word-spacing, line-height text-transform and others. Remove the !important from the line-height reset, since WinIE honors line-height on buttons. Mozilla does not, but we will match WinIE.
- khtml/rendering/render_button.cpp: (khtml::RenderButton::setStyle): Make sure to preserve the box-flex of our generated interior block, so that it doesn't end up packing left inside its container when styles change.
(khtml::RenderButton::paintObject):
Change the clipping heuristic to only clip to the border box.
This does mean text can run right up to the edge of an Aqua
button, but without this change we just don't match other
browsers.
- khtml/rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::layoutHorizontalBox): (khtml::RenderFlexibleBox::layoutVerticalBox): Change the behavior of box-align:center. If it would result in spillage out the top or left when centering, then don't move it.
- 11:05 PM Changeset in webkit [10964] by
-
- 8 edits in trunk/LayoutTests
Update isSameNode results back, now that the fix is landed.
- dom/xhtml/level3/core/nodeissamenode01-expected.txt:
- dom/xhtml/level3/core/nodeissamenode02-expected.txt:
- dom/xhtml/level3/core/nodeissamenode03-expected.txt:
- dom/xhtml/level3/core/nodeissamenode04-expected.txt:
- dom/xhtml/level3/core/nodeissamenode05-expected.txt:
- dom/xhtml/level3/core/nodeissamenode06-expected.txt:
- dom/xhtml/level3/core/nodeissamenode10-expected.txt:
- 9:55 PM Changeset in webkit [10963] by
-
- 5 edits in trunk/WebCore
Re-landing the isSameNode fix from Anders, I verified there is no effect on performance:
<rdar://problem/4302880> Re-land isSameNode change
- khtml/ecma/kjs_dom.cpp:
- khtml/ecma/kjs_dom.h:
- khtml/xml/dom_nodeimpl.h:
- kwq/DOM.mm:
- 4:46 PM Changeset in webkit [10962] by
-
- 2 edits in trunk/WebCore
Re-land the following fix, I tested to verify there is no performance regression:
Makes <object> tags not use image mode for svg content:
http://bugzilla.opendarwin.org/show_bug.cgi?id=5175
- khtml/html/html_objectimpl.cpp: (DOM::HTMLObjectElementImpl::isImageType):
- 3:33 PM Changeset in webkit [10961] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt.
- fixed <rdar://problem/3612121> setting focus, by tabbing, searching, or with JavaScript does not scroll overflow:auto/scroll/overlay to reveal focused element (3480)
- khtml/rendering/render_layer.cpp: (khtml::RenderLayer::scrollRectToVisible): Added case for when the renderer has an overflow clip, so we can scroll overflow and views recursively.
- 3:32 PM Changeset in webkit [10960] by
-
- 5 edits in trunk/WebCore
Reviewed by Vicki.
Fixed <rdar://problem/4098450> RoboHelp-generated html help system crashes in latest Safari -KWQValueListImpl::copyOnWrite
The tokenizer's timer was causing the tokenizer to be deleted twice.
In timerEvent, we'll now check to see if the write has destroyed the tokenizer before trying to do it again.
- khtml/html/htmltokenizer.cpp: (khtml::HTMLTokenizer::write): Returns a boolean to indicate whether end() gets called (khtml::HTMLTokenizer::timerEvent): Moved code from allDataProcessed, and now, checks to see if write() called end() to notify WebKit that processing is done.
- khtml/html/htmltokenizer.h: write() returns a bool.
- khtml/xml/xml_tokenizer.cpp: (khtml::XMLTokenizer::write): returns a bool (always false in the XMLTokenizer case).
- khtml/xml/xml_tokenizer.h: ditto.
- 3:26 PM Changeset in webkit [10959] by
-
- 4 edits4 adds in trunk
* empty log message *
- 2:40 PM Changeset in webkit [10958] by
-
- 1 edit in trunk/LayoutTests/fast/forms/001-expected.txt
Commit changed forms 001.html test to account for box-sizing and clipping.
- 2:14 PM Changeset in webkit [10957] by
-
- 17 edits2 deletes in trunk/WebCore
Reviewed by Hyatt.
- first step of fix for <rdar://problem/3612121> setting focus, by tabbing, searching, or with JavaScript does not scroll overflow:auto/scroll/overlay to reveal focused element (3480) This change moves the scrolling code for revealing elements to the RenderLayer, instead of being specific to the view.
- khtml/rendering/render_layer.h: Added scrollRectToVisible. Added getRectToExpose. Added ScrollAlignment enum so callers can be more specific about exactly where they want to scroll. (khtml::RenderLayer::scrollToPoint): Added inline function to scroll to a point.
- khtml/rendering/render_layer.cpp: (khtml::RenderLayer::scrollRectToVisible): Replaces recursive view scrolling functions. (khtml::RenderLayer::getRectToExpose): Calculates the rectangle to expose based on the alignment parameters.
- khtml/khtml_part.cpp: (KHTMLPart::gotoAnchor): Changed use of setContentsPosRecursive to scrollToPoint. (KHTMLPart::setActiveNode): Changed use of ensureVisible to scrollRectToVisible.
- khtml/khtmlview.cpp: (KHTMLView::doAutoScroll): Changed use of ensureVisible to scrollRectToVisible. (KHTMLView::focusNextPrevNode): ditto.
- kwq/KWQKHTMLPart.mm: (KWQKHTMLPart::jumpToSelection): Changed use of _KWQ_scrollRectToVisible to scrollRectToVisible. (KWQKHTMLPart::nextKeyViewInFrame): Changed use of ensureRectVisibleCentered to scrollRectToVisible. (KWQKHTMLPart::centerSelectionInVisibleArea): ditto.
- khtml/xml/dom_elementimpl.cpp: (ElementImpl::scrollIntoView): Changed use of setContentsPos and ensureVisible to scrollRectToVisible.
- kwq/WebCoreBridge.mm: (-[WebCoreBridge ensureSelectionVisible]): Changed use of ensureRectVisibleCentered to scrollRectToVisible.
- kwq/KWQComboBox.mm: (-[KWQPopUpButton becomeFirstResponder]): Changing use of _KWQ_scrollFrameToVisible to scrollRectToVisible.
- kwq/KWQFileButton.mm: (KWQFileButton::focusChanged): ditto.
- kwq/KWQListBox.mm: (-[KWQTableView becomeFirstResponder]): ditto.
- kwq/KWQSlider.mm: (-[KWQSlider becomeFirstResponder]): ditto.
- kwq/KWQTextArea.mm: (-[KWQTextAreaTextView becomeFirstResponder]): ditto.
- kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): ditto.
- kwq/KWQScrollView.h: Removed ensureVisible, and ensureRectVisibleCentered. Added ensureRectVisible which just calls across to AppKit to scroll the NSView.
- kwq/KWQScrollView.mm: (QScrollView::ensureRectVisible): ditto.
- WebCore.xcodeproj/project.pbxproj: Removed KWQNSViewExtras since it is no longer needed.
- kwq/KWQNSViewExtras.h: Removed.
- kwq/KWQNSViewExtras.m: Removed.
- 1:56 PM Changeset in webkit [10956] by
-
- 16 edits in trunk/LayoutTests
- updated results for <rdar://problem/4288276> DOM tests expect hierarchy exception adding wrong types of nodes to parents (4568)
- dom/html/level1/core/hc_attrappendchild2-expected.txt:
- dom/html/level1/core/hc_nodeappendchildinvalidnodetype-expected.txt:
- dom/html/level1/core/hc_nodeinsertbeforeinvalidnodetype-expected.txt:
- dom/html/level1/core/hc_nodereplacechildinvalidnodetype-expected.txt:
- dom/xhtml/level1/core/hc_attrappendchild2-expected.txt:
- dom/xhtml/level1/core/hc_attrappendchild4-expected.txt:
- dom/xhtml/level1/core/hc_attrinsertbefore5-expected.txt:
- dom/xhtml/level1/core/hc_attrinsertbefore7-expected.txt:
- dom/xhtml/level1/core/hc_nodeappendchildinvalidnodetype-expected.txt:
- dom/xhtml/level1/core/hc_nodeinsertbeforeinvalidnodetype-expected.txt:
- dom/xhtml/level1/core/hc_nodereplacechildinvalidnodetype-expected.txt:
- dom/xhtml/level3/core/nodeinsertbefore03-expected.txt:
- dom/xhtml/level3/core/nodeinsertbefore20-expected.txt:
- dom/xhtml/level3/core/nodereplacechild20-expected.txt:
- dom/xhtml/level3/core/nodereplacechild35-expected.txt:
- 1:54 PM Changeset in webkit [10955] by
-
- 10 edits in trunk/WebCore
Land box-sizing support and change button to work correctly
with it.
Also stop honoring of font properties on <input> if
Aqua is enabled. If you allow bold, but don't honor size, then
you end up with poorly rendered buttons on cnn.com (box-sizing
made this apparent, since the buttons got smaller).
Fix the clipping code for button content to actually work. :)
Function needed to be designated virtual in order to get
called.
Reviewed by darin
fast/box-sizing/box-sizing.html is the new test case.
- ChangeLog:
- WebCore.xcodeproj/project.pbxproj:
- khtml/rendering/render_block.cpp: (khtml::RenderBlock::calcMinMaxWidth):
- khtml/rendering/render_block.h:
- khtml/rendering/render_box.cpp: (RenderBox::calcBorderBoxWidth): (RenderBox::calcBorderBoxHeight): (RenderBox::calcContentBoxWidth): (RenderBox::calcContentBoxHeight): (RenderBox::calcWidth): (RenderBox::calcWidthUsing): (RenderBox::calcHeight): (RenderBox::calcHeightUsing): (RenderBox::calcPercentageHeight): (RenderBox::calcReplacedWidth): (RenderBox::calcReplacedWidthUsing): (RenderBox::calcReplacedHeightUsing): (RenderBox::availableHeightUsing): (RenderBox::calcAbsoluteHorizontalValues): (RenderBox::calcAbsoluteVerticalValues):
- khtml/rendering/render_box.h:
- khtml/rendering/render_button.cpp: (khtml::RenderButton::paintObject):
- khtml/rendering/render_button.h:
- khtml/rendering/render_flexbox.cpp: (khtml::RenderFlexibleBox::calcMinMaxWidth):
- khtml/rendering/render_theme_mac.mm: (khtml::RenderThemeMac::setFontFromControlSize): (khtml::RenderThemeMac::adjustButtonStyle):
- 1:50 PM Changeset in webkit [10954] by
-
- 5 adds in trunk/LayoutTests/fast/box-sizing
Commit new box-sizing test
- 1:49 PM Changeset in webkit [10953] by
-
- 2 edits in trunk/WebCore
Reviewed by Hyatt.
- fix <rdar://problem/4288276> DOM tests expect hierarchy exception adding wrong types of nodes to parents (4568)
Check that the node being added is an allowable child. If inserting a document fragment node, check each child of
the node. Fixes 4 of the W3C DOM HTML tests and 11 of the XHTML tests.
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::checkAddChild):
- 12:32 PM Changeset in webkit [10952] by
-
- 2 edits in trunk/WebKit
Reviewed by Darin.
Remove the use of a stamp file in the Frameworks symlink build phase.
This lets us pass the build verification.
- WebKit.xcodeproj/project.pbxproj:
- 9:39 AM Changeset in webkit [10951] by
-
- 6 edits2 adds in trunk
LayoutTests:
- added test for http://bugzilla.opendarwin.org/show_bug.cgi?id=4945 event init calls should not do anything if the event has already been dispatched
- fast/events/init-event-after-dispatch-expected.txt: Added.
- fast/events/init-event-after-dispatch.html: Added.
WebCore:
Reviewed by Dave Hyatt.
- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4945 event init calls should not do anything if the event has already been dispatched
- made a small performance improvement to event creation by simplifying the date code (seen on profiles)
- changed DOMTimestamp to be a 64-bit integer on Mac OS X (requested by the DOM standard)
- khtml/dom/dom_node.h: Made DOMTimestamp be unsigned long long on Mac OS X.
- khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::dispatchGenericEvent): Assert that the event has a target. (DOM::NodeImpl::dispatchWindowEvent): Set the event target to the document.
- khtml/xml/dom2_eventsimpl.h: Changed many data members to use SharedPtr instead of explicit ref/deref. Changed m_createTime to be a DOMTimeStamp instead of a QDateTime. (DOM::EventImpl::setTarget): Now inlined. (DOM::EventImpl::timeStamp): Now inlined. (DOM::EventImpl::preventDefault): Now inlined. (DOM::EventImpl::dispatched): Added. Returns true if the event was already dispatched, meaning it already has a target.
- khtml/xml/dom2_eventsimpl.cpp: (DOM::currentTimeStamp): Added. Faster inline version on Mac OS X, since this shows up in profiles. (DOM::EventImpl::EventImpl): Changed to use contructor syntax and set m_createTime to currentTimeStamp(). (DOM::EventImpl::~EventImpl): Removed explicit derefs; no longer needed. (DOM::EventImpl::initEvent): Do nothing if dispatched() is true. Simplify since SharedPtr handles ref/deref. (DOM::UIEventImpl::UIEventImpl): Changed to use contructor syntax and take advantage of the fact that some data members are now SharedPtr. (DOM::UIEventImpl::initUIEvent): Do nothing if dispatched() is true. Simplify since SharedPtr handles ref/deref. (DOM::MouseEventImpl::MouseEventImpl): Changed to use contructor syntax and take advantage of the fact that some data members are now SharedPtr. (DOM::MouseEventImpl::~MouseEventImpl): Removed explicit derefs; no longer needed. (DOM::MouseEventImpl::initMouseEvent): Do nothing if dispatched() is true. Simplify since SharedPtr handles ref/deref. (DOM::MouseEventImpl::isDragEvent): Use a local variable. (DOM::KeyboardEventImpl::KeyboardEventImpl): Changed to use contructor syntax and take advantage of the fact that some data members are now SharedPtr. (DOM::KeyboardEventImpl::~KeyboardEventImpl): Removed explicit derefs; no longer needed. (DOM::KeyboardEventImpl::initKeyboardEvent): Do nothing if dispatched() is true. Simplify since SharedPtr handles ref/deref. (DOM::MutationEventImpl::MutationEventImpl): Changed to use contructor syntax and take advantage of the fact that some data members are now SharedPtr. (DOM::MutationEventImpl::initMutationEvent): Do nothing if dispatched() is true. Simplify since SharedPtr handles ref/deref. (DOM::ClipboardEventImpl::ClipboardEventImpl): Simplify since SharedPtr handles initialization and ref/deref. (DOM::RegisteredEventListener::RegisteredEventListener): Ditto.