Reviewed by Dave Hyatt.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 May 2009 08:52:32 +0000 (08:52 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 May 2009 08:52:32 +0000 (08:52 +0000)
        <rdar://problem/6576889> REGRESSION (r35185): Cannot watch Flash movies on omg.yahoo.com

        The problem was caused by missing <head> element - we used to create it when moving a
        misplaced <style> element, but we now handle those in place. Other browsers always create
        a <head> element.

        There is no guarantee that a <head> element always exists - first, it can be removed with
        removeChild or innerHTML, and also, we don't currently create it for frameset documents, or
        for manually created ones (e.g. ImageDocument).

        Test: fast/parser/head-element-for-yahoo-player.html

WebKit:
        * dom/Document.cpp: (WebCore::Document::implicitClose): Create a <head> element for about:blank.
        A removed comment talked about rdar://3758785, but that problem doesn't re-occur even if this
        code is removed completely.

        * html/HTMLHtmlElement.cpp: (WebCore::HTMLHtmlElement::checkDTD): No longer allow <script>
        elements as children of <html>. This isn't directly related to this bug, but it was easier
        to fix both at once (IE and Firefox both don't allow such mispositioned <script> elements).

        * html/HTMLParser.cpp:
        (WebCore::HTMLParser::handleError): Move <script> to <head> if <body> hasn't been created yet.
        Create a <head> it a <body> is created implicitly to contain some other element.
        (WebCore::HTMLParser::bodyCreateErrorCheck): Ensure that a <head> exists when <body> is
        explicitly present in source.
        (WebCore::HTMLParser::createHead): Do the work even if <html> element hasn't been created yet.

LayoutTests:
        * fast/parser/head-element-for-yahoo-player-expected.txt: Added.
        * fast/parser/head-element-for-yahoo-player.html: Added.
        Test the regression case (a misplaced <style> that used to create <head> implicitly).

        * editing/selection/select-all-005.html: Use a new index when selecting the body.

        * fast/dom/Document/document-write-doctype-expected.txt:
        * fast/dom/Document/resources/document-write-doctype.js:
        Removed checks for "Gecko quirk" of implicitly adding HEAD - that not a quirk, but standard
        behavior per HTML5.

        * editing/execCommand/create-list-1-expected.txt:
        * platform/mac/editing/deleting/4845371-expected.txt:
        * platform/mac/editing/deleting/4866671-expected.txt:
        * platform/mac/editing/deleting/4875189-expected.txt:
        * platform/mac/editing/deleting/5026848-1-expected.txt:
        * platform/mac/editing/deleting/5026848-2-expected.txt:
        * platform/mac/editing/deleting/5026848-3-expected.txt:
        * platform/mac/editing/deleting/5032066-expected.txt:
        * platform/mac/editing/deleting/5091898-expected.txt:
        * platform/mac/editing/deleting/5099303-expected.txt:
        * platform/mac/editing/deleting/5115601-expected.txt:
        * platform/mac/editing/deleting/5126166-expected.txt:
        * platform/mac/editing/deleting/5156801-2-expected.txt:
        * platform/mac/editing/deleting/5168598-expected.txt:
        * platform/mac/editing/deleting/5272440-expected.txt:
        * platform/mac/editing/deleting/5300379-expected.txt:
        * platform/mac/editing/deleting/5390681-expected.txt:
        * platform/mac/editing/deleting/5408255-expected.txt:
        * platform/mac/editing/deleting/5433862-2-expected.txt:
        * platform/mac/editing/deleting/5483370-expected.txt:
        * platform/mac/editing/deleting/delete-at-start-or-end-expected.txt:
        * platform/mac/editing/deleting/delete-block-table-expected.txt:
        * platform/mac/editing/deleting/delete-hr-expected.txt:
        * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt:
        * platform/mac/editing/deleting/delete-to-select-table-expected.txt:
        * platform/mac/editing/deleting/deletionUI-single-instance-expected.txt:
        * platform/mac/editing/deleting/merge-endOfParagraph-expected.txt:
        * platform/mac/editing/deleting/merge-no-br-expected.txt:
        * platform/mac/editing/deleting/merge-whitespace-pre-expected.txt:
        * platform/mac/editing/execCommand/4641880-1-expected.txt:
        * platform/mac/editing/execCommand/4641880-2-expected.txt:
        * platform/mac/editing/execCommand/4747450-expected.txt:
        * platform/mac/editing/execCommand/4786404-1-expected.txt:
        * platform/mac/editing/execCommand/4786404-2-expected.txt:
        * platform/mac/editing/execCommand/4916402-expected.txt:
        * platform/mac/editing/execCommand/4916541-expected.txt:
        * platform/mac/editing/execCommand/4916583-expected.txt:
        * platform/mac/editing/execCommand/4920488-expected.txt:
        * platform/mac/editing/execCommand/4920742-1-expected.txt:
        * platform/mac/editing/execCommand/4924441-expected.txt:
        * platform/mac/editing/execCommand/5049671-expected.txt:
        * platform/mac/editing/execCommand/5080333-1-expected.txt:
        * platform/mac/editing/execCommand/5080333-2-expected.txt:
        * platform/mac/editing/execCommand/5119244-expected.txt:
        * platform/mac/editing/execCommand/5120591-expected.txt:
        * platform/mac/editing/execCommand/5136770-expected.txt:
        * platform/mac/editing/execCommand/5142012-1-expected.txt:
        * platform/mac/editing/execCommand/5142012-2-expected.txt:
        * platform/mac/editing/execCommand/5142012-3-expected.txt:
        * platform/mac/editing/execCommand/5144139-1-expected.txt:
        * platform/mac/editing/execCommand/5164796-expected.txt:
        * platform/mac/editing/execCommand/5207369-expected.txt:
        * platform/mac/editing/execCommand/5210032-expected.txt:
        * platform/mac/editing/execCommand/5432254-1-expected.txt:
        * platform/mac/editing/execCommand/5432254-2-expected.txt:
        * platform/mac/editing/execCommand/5481523-expected.txt:
        * platform/mac/editing/execCommand/5482524-expected.txt:
        * platform/mac/editing/execCommand/5569741-expected.txt:
        * platform/mac/editing/execCommand/5573879-expected.txt:
        * platform/mac/editing/execCommand/5700414-1-expected.txt:
        * platform/mac/editing/execCommand/5700414-2-expected.txt:
        * platform/mac/editing/execCommand/insert-list-empty-div-expected.txt:
        * platform/mac/editing/input/5576619-expected.txt:
        * platform/mac/editing/inserting/12882-expected.txt:
        * platform/mac/editing/inserting/4840662-expected.txt:
        * platform/mac/editing/inserting/4875189-1-expected.txt:
        * platform/mac/editing/inserting/4875189-2-expected.txt:
        * platform/mac/editing/inserting/4959067-expected.txt:
        * platform/mac/editing/inserting/4960120-1-expected.txt:
        * platform/mac/editing/inserting/4960120-2-expected.txt:
        * platform/mac/editing/inserting/5002441-expected.txt:
        * platform/mac/editing/inserting/5058163-2-expected.txt:
        * platform/mac/editing/inserting/5156401-2-expected.txt:
        * platform/mac/editing/inserting/5549929-2-expected.txt:
        * platform/mac/editing/inserting/5549929-3-expected.txt:
        * platform/mac/editing/inserting/5607069-2-expected.txt:
        * platform/mac/editing/inserting/5607069-3-expected.txt:
        * platform/mac/editing/inserting/editable-html-element-expected.txt:
        * platform/mac/editing/inserting/editable-inline-element-expected.txt:
        * platform/mac/editing/inserting/edited-whitespace-1-expected.txt:
        * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
        * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt:
        * platform/mac/editing/pasteboard/4806874-expected.txt:
        * platform/mac/editing/pasteboard/4861080-expected.txt:
        * platform/mac/editing/pasteboard/4944770-1-expected.txt:
        * platform/mac/editing/pasteboard/4944770-2-expected.txt:
        * platform/mac/editing/pasteboard/4947130-expected.txt:
        * platform/mac/editing/pasteboard/4989774-expected.txt:
        * platform/mac/editing/pasteboard/5027857-expected.txt:
        * platform/mac/editing/pasteboard/5032095-expected.txt:
        * platform/mac/editing/pasteboard/5065605-expected.txt:
        * platform/mac/editing/pasteboard/5071074-2-expected.txt:
        * platform/mac/editing/pasteboard/5071074-expected.txt:
        * platform/mac/editing/pasteboard/5075944-2-expected.txt:
        * platform/mac/editing/pasteboard/5075944-3-expected.txt:
        * platform/mac/editing/pasteboard/5075944-expected.txt:
        * platform/mac/editing/pasteboard/5134759-expected.txt:
        * platform/mac/editing/pasteboard/5156401-1-expected.txt:
        * platform/mac/editing/pasteboard/5247341-expected.txt:
        * platform/mac/editing/pasteboard/5387578-expected.txt:
        * platform/mac/editing/pasteboard/5478250-expected.txt:
        * platform/mac/editing/pasteboard/5483567-expected.txt:
        * platform/mac/editing/pasteboard/5601583-1-expected.txt:
        * platform/mac/editing/pasteboard/copy-paste-bidi-expected.txt:
        * platform/mac/editing/pasteboard/input-field-1-expected.txt:
        * platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt:
        * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
        * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
        * platform/mac/editing/pasteboard/merge-start-blockquote-expected.txt:
        * platform/mac/editing/pasteboard/paste-unrendered-select-expected.txt:
        * platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt:
        * platform/mac/editing/pasteboard/select-element-1-expected.txt:
        * platform/mac/editing/selection/13804-expected.txt:
        * platform/mac/editing/selection/14971-expected.txt:
        * platform/mac/editing/selection/4397952-expected.txt:
        * platform/mac/editing/selection/4818145-expected.txt:
        * platform/mac/editing/selection/4866671-expected.txt:
        * platform/mac/editing/selection/4889598-expected.txt:
        * platform/mac/editing/selection/4895428-1-expected.txt:
        * platform/mac/editing/selection/4895428-2-expected.txt:
        * platform/mac/editing/selection/4895428-3-expected.txt:
        * platform/mac/editing/selection/4895428-4-expected.txt:
        * platform/mac/editing/selection/4932260-1-expected.txt:
        * platform/mac/editing/selection/4932260-2-expected.txt:
        * platform/mac/editing/selection/4932260-3-expected.txt:
        * platform/mac/editing/selection/4947387-expected.txt:
        * platform/mac/editing/selection/4960116-expected.txt:
        * platform/mac/editing/selection/4975120-expected.txt:
        * platform/mac/editing/selection/4983858-expected.txt:
        * platform/mac/editing/selection/5007143-2-expected.txt:
        * platform/mac/editing/selection/5007143-expected.txt:
        * platform/mac/editing/selection/5057506-2-expected.txt:
        * platform/mac/editing/selection/5057506-expected.txt:
        * platform/mac/editing/selection/5076323-1-expected.txt:
        * platform/mac/editing/selection/5076323-2-expected.txt:
        * platform/mac/editing/selection/5076323-3-expected.txt:
        * platform/mac/editing/selection/5081257-1-expected.txt:
        * platform/mac/editing/selection/5081257-2-expected.txt:
        * platform/mac/editing/selection/5099303-expected.txt:
        * platform/mac/editing/selection/5109817-expected.txt:
        * platform/mac/editing/selection/5136696-expected.txt:
        * platform/mac/editing/selection/5195166-1-expected.txt:
        * platform/mac/editing/selection/5195166-2-expected.txt:
        * platform/mac/editing/selection/5234383-1-expected.txt:
        * platform/mac/editing/selection/5234383-2-expected.txt:
        * platform/mac/editing/selection/5240265-expected.txt:
        * platform/mac/editing/selection/5333725-expected.txt:
        * platform/mac/editing/selection/5354455-1-expected.txt:
        * platform/mac/editing/selection/addRange-expected.txt:
        * platform/mac/editing/selection/caret-before-select-expected.txt:
        * platform/mac/editing/selection/contains-boundaries-expected.txt:
        * platform/mac/editing/selection/drag-select-1-expected.txt:
        * platform/mac/editing/selection/editable-html-element-expected.txt:
        * platform/mac/editing/selection/inconsistent-in-removeChildNode-expected.txt:
        * platform/mac/editing/selection/inline-closest-leaf-child-expected.txt:
        * platform/mac/editing/selection/mixed-editability-6-expected.txt:
        * platform/mac/editing/selection/mixed-editability-7-expected.txt:
        * platform/mac/editing/selection/move-by-sentence-linebreak-expected.txt:
        * platform/mac/editing/selection/select-all-005-expected.txt:
        * platform/mac/editing/selection/table-caret-1-expected.txt:
        * platform/mac/editing/selection/table-caret-2-expected.txt:
        * platform/mac/editing/selection/table-caret-3-expected.txt:
        * platform/mac/editing/selection/wrapped-line-caret-1-expected.txt:
        * platform/mac/editing/selection/wrapped-line-caret-2-expected.txt:
        * platform/mac/editing/style/4916887-expected.txt:
        * platform/mac/editing/style/5017613-1-expected.txt:
        * platform/mac/editing/style/5017613-2-expected.txt:
        * platform/mac/editing/style/5046875-1-expected.txt:
        * platform/mac/editing/style/5046875-2-expected.txt:
        * platform/mac/editing/style/5065910-expected.txt:
        * platform/mac/editing/style/5084241-expected.txt:
        * platform/mac/editing/style/5091898-expected.txt:
        * platform/mac/editing/style/5228141-expected.txt:
        * platform/mac/editing/style/5279521-expected.txt:
        * platform/mac/editing/style/font-family-with-space-expected.txt:
        * platform/mac/editing/style/fontsize-1-expected.txt:
        * platform/mac/editing/style/highlight-expected.txt:
        * platform/mac/editing/style/non-inheritable-styles-expected.txt:
        * platform/mac/editing/undo/5378473-expected.txt:
        * platform/mac/fast/block/float/relative-painted-twice-expected.txt:
        * platform/mac/fast/dom/delete-contents-expected.txt:
        * platform/mac/fast/events/context-no-deselect-expected.txt:
        * platform/mac/fast/events/label-focus-expected.txt:
        * platform/mac/fast/forms/input-appearance-focus-expected.txt:
        * platform/mac/fast/forms/input-text-click-inside-expected.txt:
        * platform/mac/fast/forms/input-text-click-outside-expected.txt:
        * platform/mac/fast/forms/input-text-double-click-expected.txt:
        * platform/mac/fast/forms/input-text-drag-down-expected.txt:
        * platform/mac/fast/forms/input-text-option-delete-expected.txt:
        * platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
        * platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
        * platform/mac/fast/forms/textfield-drag-into-disabled-expected.txt:
        * platform/mac/fast/forms/textfield-overflow-expected.txt:
        * platform/mac/fast/inline/25277-2-expected.txt:
        * platform/mac/fast/inline/25277-expected.txt:
        * platform/mac/fast/lists/drag-into-marker-expected.txt:
        * platform/mac/fast/overflow/overflow-focus-ring-expected.txt:
        * platform/mac/fast/repaint/4776765-expected.txt:
        * platform/mac/fast/repaint/selection-after-delete-expected.txt:
        * platform/mac/fast/repaint/selection-after-remove-expected.txt:
        * platform/qt/editing/deleting/4845371-expected.txt:
        * platform/qt/editing/deleting/4866671-expected.txt:
        * platform/qt/editing/deleting/4875189-expected.txt:
        * platform/qt/editing/deleting/5026848-1-expected.txt:
        * platform/qt/editing/deleting/5026848-2-expected.txt:
        * platform/qt/editing/deleting/5026848-3-expected.txt:
        * platform/qt/editing/deleting/5032066-expected.txt:
        * platform/qt/editing/deleting/5091898-expected.txt:
        * platform/qt/editing/deleting/5099303-expected.txt:
        * platform/qt/editing/deleting/5115601-expected.txt:
        * platform/qt/editing/deleting/5126166-expected.txt:
        * platform/qt/editing/deleting/5144139-2-expected.txt:
        * platform/qt/editing/deleting/5156801-2-expected.txt:
        * platform/qt/editing/deleting/5168598-expected.txt:
        * platform/qt/editing/deleting/5272440-expected.txt:
        * platform/qt/editing/deleting/5300379-expected.txt:
        * platform/qt/editing/deleting/5390681-expected.txt:
        * platform/qt/editing/deleting/5408255-expected.txt:
        * platform/qt/editing/deleting/delete-at-start-or-end-expected.txt:
        * platform/qt/editing/deleting/delete-block-table-expected.txt:
        * platform/qt/editing/deleting/delete-hr-expected.txt:
        * platform/qt/editing/deleting/delete-link-1-expected.txt:
        * platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt:
        * platform/qt/editing/deleting/delete-to-select-table-expected.txt:
        * platform/qt/editing/deleting/deletionUI-single-instance-expected.txt:
        * platform/qt/editing/deleting/merge-endOfParagraph-expected.txt:
        * platform/qt/editing/deleting/merge-no-br-expected.txt:
        * platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
        * platform/qt/editing/execCommand/4641880-1-expected.txt:
        * platform/qt/editing/execCommand/4641880-2-expected.txt:
        * platform/qt/editing/execCommand/4747450-expected.txt:
        * platform/qt/editing/execCommand/4786404-1-expected.txt:
        * platform/qt/editing/execCommand/4786404-2-expected.txt:
        * platform/qt/editing/execCommand/4916402-expected.txt:
        * platform/qt/editing/execCommand/4916541-expected.txt:
        * platform/qt/editing/execCommand/4916583-expected.txt:
        * platform/qt/editing/execCommand/4920488-expected.txt:
        * platform/qt/editing/execCommand/4920742-1-expected.txt:
        * platform/qt/editing/execCommand/4924441-expected.txt:
        * platform/qt/editing/execCommand/5049671-expected.txt:
        * platform/qt/editing/execCommand/5062376-expected.txt:
        * platform/qt/editing/execCommand/5080333-1-expected.txt:
        * platform/qt/editing/execCommand/5080333-2-expected.txt:
        * platform/qt/editing/execCommand/5119244-expected.txt:
        * platform/qt/editing/execCommand/5120591-expected.txt:
        * platform/qt/editing/execCommand/5136770-expected.txt:
        * platform/qt/editing/execCommand/5142012-1-expected.txt:
        * platform/qt/editing/execCommand/5142012-2-expected.txt:
        * platform/qt/editing/execCommand/5142012-3-expected.txt:
        * platform/qt/editing/execCommand/5144139-1-expected.txt:
        * platform/qt/editing/execCommand/5164796-expected.txt:
        * platform/qt/editing/execCommand/5207369-expected.txt:
        * platform/qt/editing/execCommand/5210032-expected.txt:
        * platform/qt/editing/execCommand/5432254-1-expected.txt:
        * platform/qt/editing/execCommand/5432254-2-expected.txt:
        * platform/qt/editing/execCommand/insert-list-empty-div-expected.txt:
        * platform/qt/editing/inserting/12882-expected.txt:
        * platform/qt/editing/inserting/4840662-expected.txt:
        * platform/qt/editing/inserting/4875189-1-expected.txt:
        * platform/qt/editing/inserting/4875189-2-expected.txt:
        * platform/qt/editing/inserting/4959067-expected.txt:
        * platform/qt/editing/inserting/4960120-1-expected.txt:
        * platform/qt/editing/inserting/4960120-2-expected.txt:
        * platform/qt/editing/inserting/5002441-expected.txt:
        * platform/qt/editing/inserting/5058163-2-expected.txt:
        * platform/qt/editing/inserting/5156401-2-expected.txt:
        * platform/qt/editing/inserting/editable-html-element-expected.txt:
        * platform/qt/editing/inserting/editable-inline-element-expected.txt:
        * platform/qt/editing/inserting/edited-whitespace-1-expected.txt:
        * platform/qt/editing/inserting/editing-empty-divs-expected.txt:
        * platform/qt/editing/inserting/insert-before-link-1-expected.txt:
        * platform/qt/editing/pasteboard/4806874-expected.txt:
        * platform/qt/editing/pasteboard/4840662-expected.txt:
        * platform/qt/editing/pasteboard/4944770-1-expected.txt:
        * platform/qt/editing/pasteboard/4989774-expected.txt:
        * platform/qt/editing/pasteboard/5027857-expected.txt:
        * platform/qt/editing/pasteboard/5032095-expected.txt:
        * platform/qt/editing/pasteboard/5065605-expected.txt:
        * platform/qt/editing/pasteboard/5071074-2-expected.txt:
        * platform/qt/editing/pasteboard/5071074-expected.txt:
        * platform/qt/editing/pasteboard/5075944-2-expected.txt:
        * platform/qt/editing/pasteboard/5075944-3-expected.txt:
        * platform/qt/editing/pasteboard/5075944-expected.txt:
        * platform/qt/editing/pasteboard/5134759-expected.txt:
        * platform/qt/editing/pasteboard/5156401-1-expected.txt:
        * platform/qt/editing/pasteboard/5245519-expected.txt:
        * platform/qt/editing/pasteboard/5247341-expected.txt:
        * platform/qt/editing/pasteboard/5387578-expected.txt:
        * platform/qt/editing/pasteboard/5478250-expected.txt:
        * platform/qt/editing/pasteboard/5483567-expected.txt:
        * platform/qt/editing/pasteboard/copy-paste-bidi-expected.txt:
        * platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt:
        * platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt:
        * platform/qt/editing/pasteboard/merge-after-delete-expected.txt:
        * platform/qt/editing/pasteboard/merge-start-blockquote-expected.txt:
        * platform/qt/editing/pasteboard/paste-unrendered-select-expected.txt:
        * platform/qt/editing/pasteboard/prevent-block-nesting-01-expected.txt:
        * platform/qt/editing/selection/13804-expected.txt:
        * platform/qt/editing/selection/4397952-expected.txt:
        * platform/qt/editing/selection/4818145-expected.txt:
        * platform/qt/editing/selection/4866671-expected.txt:
        * platform/qt/editing/selection/4889598-expected.txt:
        * platform/qt/editing/selection/4895428-2-expected.txt:
        * platform/qt/editing/selection/4895428-3-expected.txt:
        * platform/qt/editing/selection/4932260-1-expected.txt:
        * platform/qt/editing/selection/4932260-2-expected.txt:
        * platform/qt/editing/selection/4932260-3-expected.txt:
        * platform/qt/editing/selection/4960116-expected.txt:
        * platform/qt/editing/selection/4983858-expected.txt:
        * platform/qt/editing/selection/5007143-2-expected.txt:
        * platform/qt/editing/selection/5007143-expected.txt:
        * platform/qt/editing/selection/5076323-1-expected.txt:
        * platform/qt/editing/selection/5076323-2-expected.txt:
        * platform/qt/editing/selection/5076323-3-expected.txt:
        * platform/qt/editing/selection/5081257-1-expected.txt:
        * platform/qt/editing/selection/5081257-2-expected.txt:
        * platform/qt/editing/selection/5099303-expected.txt:
        * platform/qt/editing/selection/5136696-expected.txt:
        * platform/qt/editing/selection/5195166-1-expected.txt:
        * platform/qt/editing/selection/5195166-2-expected.txt:
        * platform/qt/editing/selection/5234383-1-expected.txt:
        * platform/qt/editing/selection/5234383-2-expected.txt:
        * platform/qt/editing/selection/5240265-expected.txt:
        * platform/qt/editing/selection/addRange-expected.txt:
        * platform/qt/editing/selection/caret-before-select-expected.txt:
        * platform/qt/editing/selection/editable-html-element-expected.txt:
        * platform/qt/editing/selection/mixed-editability-6-expected.txt:
        * platform/qt/editing/selection/mixed-editability-7-expected.txt:
        * platform/qt/editing/selection/move-by-sentence-linebreak-expected.txt:
        * platform/qt/editing/selection/select-all-005-expected.txt:
        * platform/qt/editing/selection/table-caret-1-expected.txt:
        * platform/qt/editing/selection/table-caret-2-expected.txt:
        * platform/qt/editing/selection/table-caret-3-expected.txt:
        * platform/qt/editing/style/4916887-expected.txt:
        * platform/qt/editing/style/5017613-1-expected.txt:
        * platform/qt/editing/style/5017613-2-expected.txt:
        * platform/qt/editing/style/5046875-1-expected.txt:
        * platform/qt/editing/style/5046875-2-expected.txt:
        * platform/qt/editing/style/5065910-expected.txt:
        * platform/qt/editing/style/5084241-expected.txt:
        * platform/qt/editing/style/5228141-expected.txt:
        * platform/qt/editing/style/5279521-expected.txt:
        * platform/qt/editing/style/font-family-with-space-expected.txt:
        * platform/qt/editing/style/fontsize-1-expected.txt:
        * platform/qt/editing/style/highlight-expected.txt:
        * platform/qt/editing/style/non-inheritable-styles-expected.txt:
        * platform/qt/editing/undo/5378473-expected.txt:
        * platform/qt/fast/dom/delete-contents-expected.txt:
        * platform/qt/fast/events/label-focus-expected.txt:
        * platform/qt/fast/forms/input-appearance-focus-expected.txt:
        * platform/qt/fast/forms/input-maxlength-2-expected.txt:
        * platform/qt/fast/forms/input-text-click-inside-expected.txt:
        * platform/qt/fast/forms/input-text-option-delete-expected.txt:
        * platform/qt/fast/forms/input-text-self-emptying-click-expected.txt:
        * platform/qt/fast/forms/textfield-drag-into-disabled-expected.txt:
        * platform/qt/fast/forms/textfield-overflow-expected.txt:
        * platform/qt/fast/overflow/overflow-focus-ring-expected.txt:
        * platform/qt/fast/repaint/4776765-expected.txt:
        * platform/qt/fast/repaint/selection-after-delete-expected.txt:
        * platform/qt/fast/repaint/selection-after-remove-expected.txt:
        * platform/win/editing/deleting/5168598-expected.txt:
        * platform/win/editing/inserting/4960120-1-expected.txt:
        * platform/win/editing/inserting/5607069-2-expected.txt:
        * platform/win/editing/inserting/5607069-3-expected.txt:
        * platform/win/editing/inserting/typing-tab-designmode-forms-expected.txt:
        * platform/win/editing/pasteboard/4806874-expected.txt:
        * platform/win/editing/selection/4895428-3-expected.txt:
        * platform/win/editing/selection/5136696-expected.txt:
        * platform/win/editing/selection/drag-select-1-expected.txt:
        * platform/win/fast/events/context-no-deselect-expected.txt:
        * platform/win/fast/events/label-focus-expected.txt:
        * platform/win/fast/forms/input-appearance-focus-expected.txt:
        * platform/win/fast/forms/input-text-click-inside-expected.txt:
        * platform/win/fast/forms/input-text-click-outside-expected.txt:
        * platform/win/fast/forms/input-text-double-click-expected.txt:
        * platform/win/fast/forms/input-text-drag-down-expected.txt:
        * platform/win/fast/forms/input-text-option-delete-expected.txt:
        * platform/win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
        * platform/win/fast/forms/input-text-self-emptying-click-expected.txt:
        * platform/win/fast/forms/textfield-drag-into-disabled-expected.txt:
        * platform/win/fast/forms/textfield-overflow-expected.txt:
        Updated BODY element index in test output (for some tests, it increased because of the
        implicitly added <head>, and for others, it decreased because mispositoned <script> is being
        moved into <head>).

        * webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive:
        * webarchive/archive-empty-frame-dom-expected.webarchive:
        Updated to include the implicitly added <head> elements.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@43215 268f45cc-cd09-0410-ab3c-d52691b4dbfc

393 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/create-list-1-expected.txt
LayoutTests/editing/selection/select-all-005.html
LayoutTests/fast/dom/Document/document-write-doctype-expected.txt
LayoutTests/fast/dom/Document/resources/document-write-doctype.js
LayoutTests/fast/parser/head-element-for-yahoo-player-expected.txt [new file with mode: 0644]
LayoutTests/fast/parser/head-element-for-yahoo-player.html [new file with mode: 0644]
LayoutTests/platform/mac/editing/deleting/4845371-expected.txt
LayoutTests/platform/mac/editing/deleting/4866671-expected.txt
LayoutTests/platform/mac/editing/deleting/4875189-expected.txt
LayoutTests/platform/mac/editing/deleting/5026848-1-expected.txt
LayoutTests/platform/mac/editing/deleting/5026848-2-expected.txt
LayoutTests/platform/mac/editing/deleting/5026848-3-expected.txt
LayoutTests/platform/mac/editing/deleting/5032066-expected.txt
LayoutTests/platform/mac/editing/deleting/5091898-expected.txt
LayoutTests/platform/mac/editing/deleting/5099303-expected.txt
LayoutTests/platform/mac/editing/deleting/5115601-expected.txt
LayoutTests/platform/mac/editing/deleting/5126166-expected.txt
LayoutTests/platform/mac/editing/deleting/5156801-2-expected.txt
LayoutTests/platform/mac/editing/deleting/5168598-expected.txt
LayoutTests/platform/mac/editing/deleting/5272440-expected.txt
LayoutTests/platform/mac/editing/deleting/5300379-expected.txt
LayoutTests/platform/mac/editing/deleting/5390681-expected.txt
LayoutTests/platform/mac/editing/deleting/5408255-expected.txt
LayoutTests/platform/mac/editing/deleting/5433862-2-expected.txt
LayoutTests/platform/mac/editing/deleting/5483370-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-at-start-or-end-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-block-table-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-hr-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt
LayoutTests/platform/mac/editing/deleting/delete-to-select-table-expected.txt
LayoutTests/platform/mac/editing/deleting/deletionUI-single-instance-expected.txt
LayoutTests/platform/mac/editing/deleting/merge-endOfParagraph-expected.txt
LayoutTests/platform/mac/editing/deleting/merge-no-br-expected.txt
LayoutTests/platform/mac/editing/deleting/merge-whitespace-pre-expected.txt
LayoutTests/platform/mac/editing/execCommand/4641880-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/4641880-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/4747450-expected.txt
LayoutTests/platform/mac/editing/execCommand/4786404-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/4786404-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/4916402-expected.txt
LayoutTests/platform/mac/editing/execCommand/4916541-expected.txt
LayoutTests/platform/mac/editing/execCommand/4916583-expected.txt
LayoutTests/platform/mac/editing/execCommand/4920488-expected.txt
LayoutTests/platform/mac/editing/execCommand/4920742-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/4924441-expected.txt
LayoutTests/platform/mac/editing/execCommand/5049671-expected.txt
LayoutTests/platform/mac/editing/execCommand/5080333-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/5080333-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/5119244-expected.txt
LayoutTests/platform/mac/editing/execCommand/5120591-expected.txt
LayoutTests/platform/mac/editing/execCommand/5136770-expected.txt
LayoutTests/platform/mac/editing/execCommand/5142012-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/5142012-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/5142012-3-expected.txt
LayoutTests/platform/mac/editing/execCommand/5144139-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/5164796-expected.txt
LayoutTests/platform/mac/editing/execCommand/5207369-expected.txt
LayoutTests/platform/mac/editing/execCommand/5210032-expected.txt
LayoutTests/platform/mac/editing/execCommand/5432254-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/5432254-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/5481523-expected.txt
LayoutTests/platform/mac/editing/execCommand/5482524-expected.txt
LayoutTests/platform/mac/editing/execCommand/5569741-expected.txt
LayoutTests/platform/mac/editing/execCommand/5573879-expected.txt
LayoutTests/platform/mac/editing/execCommand/5700414-1-expected.txt
LayoutTests/platform/mac/editing/execCommand/5700414-2-expected.txt
LayoutTests/platform/mac/editing/execCommand/insert-list-empty-div-expected.txt
LayoutTests/platform/mac/editing/input/5576619-expected.txt
LayoutTests/platform/mac/editing/inserting/12882-expected.txt
LayoutTests/platform/mac/editing/inserting/4840662-expected.txt
LayoutTests/platform/mac/editing/inserting/4875189-1-expected.txt
LayoutTests/platform/mac/editing/inserting/4875189-2-expected.txt
LayoutTests/platform/mac/editing/inserting/4959067-expected.txt
LayoutTests/platform/mac/editing/inserting/4960120-1-expected.txt
LayoutTests/platform/mac/editing/inserting/4960120-2-expected.txt
LayoutTests/platform/mac/editing/inserting/5002441-expected.txt
LayoutTests/platform/mac/editing/inserting/5058163-2-expected.txt
LayoutTests/platform/mac/editing/inserting/5156401-2-expected.txt
LayoutTests/platform/mac/editing/inserting/5549929-2-expected.txt
LayoutTests/platform/mac/editing/inserting/5549929-3-expected.txt
LayoutTests/platform/mac/editing/inserting/5607069-2-expected.txt
LayoutTests/platform/mac/editing/inserting/5607069-3-expected.txt
LayoutTests/platform/mac/editing/inserting/editable-html-element-expected.txt
LayoutTests/platform/mac/editing/inserting/editable-inline-element-expected.txt
LayoutTests/platform/mac/editing/inserting/edited-whitespace-1-expected.txt
LayoutTests/platform/mac/editing/inserting/editing-empty-divs-expected.txt
LayoutTests/platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4806874-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4861080-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4944770-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4944770-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4947130-expected.txt
LayoutTests/platform/mac/editing/pasteboard/4989774-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5027857-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5032095-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5065605-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5071074-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5071074-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5075944-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5075944-3-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5075944-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5134759-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5156401-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5247341-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5387578-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5478250-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5483567-expected.txt
LayoutTests/platform/mac/editing/pasteboard/5601583-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/copy-paste-bidi-expected.txt
LayoutTests/platform/mac/editing/pasteboard/input-field-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-after-delete-expected.txt
LayoutTests/platform/mac/editing/pasteboard/merge-start-blockquote-expected.txt
LayoutTests/platform/mac/editing/pasteboard/paste-unrendered-select-expected.txt
LayoutTests/platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt
LayoutTests/platform/mac/editing/pasteboard/select-element-1-expected.txt
LayoutTests/platform/mac/editing/selection/13804-expected.txt
LayoutTests/platform/mac/editing/selection/14971-expected.txt
LayoutTests/platform/mac/editing/selection/4397952-expected.txt
LayoutTests/platform/mac/editing/selection/4818145-expected.txt
LayoutTests/platform/mac/editing/selection/4866671-expected.txt
LayoutTests/platform/mac/editing/selection/4889598-expected.txt
LayoutTests/platform/mac/editing/selection/4895428-1-expected.txt
LayoutTests/platform/mac/editing/selection/4895428-2-expected.txt
LayoutTests/platform/mac/editing/selection/4895428-3-expected.txt
LayoutTests/platform/mac/editing/selection/4895428-4-expected.txt
LayoutTests/platform/mac/editing/selection/4932260-1-expected.txt
LayoutTests/platform/mac/editing/selection/4932260-2-expected.txt
LayoutTests/platform/mac/editing/selection/4932260-3-expected.txt
LayoutTests/platform/mac/editing/selection/4947387-expected.txt
LayoutTests/platform/mac/editing/selection/4960116-expected.txt
LayoutTests/platform/mac/editing/selection/4975120-expected.txt
LayoutTests/platform/mac/editing/selection/4983858-expected.txt
LayoutTests/platform/mac/editing/selection/5007143-2-expected.txt
LayoutTests/platform/mac/editing/selection/5007143-expected.txt
LayoutTests/platform/mac/editing/selection/5057506-2-expected.txt
LayoutTests/platform/mac/editing/selection/5057506-expected.txt
LayoutTests/platform/mac/editing/selection/5076323-1-expected.txt
LayoutTests/platform/mac/editing/selection/5076323-2-expected.txt
LayoutTests/platform/mac/editing/selection/5076323-3-expected.txt
LayoutTests/platform/mac/editing/selection/5081257-1-expected.txt
LayoutTests/platform/mac/editing/selection/5081257-2-expected.txt
LayoutTests/platform/mac/editing/selection/5099303-expected.txt
LayoutTests/platform/mac/editing/selection/5109817-expected.txt
LayoutTests/platform/mac/editing/selection/5136696-expected.txt
LayoutTests/platform/mac/editing/selection/5195166-1-expected.txt
LayoutTests/platform/mac/editing/selection/5195166-2-expected.txt
LayoutTests/platform/mac/editing/selection/5234383-1-expected.txt
LayoutTests/platform/mac/editing/selection/5234383-2-expected.txt
LayoutTests/platform/mac/editing/selection/5240265-expected.txt
LayoutTests/platform/mac/editing/selection/5333725-expected.txt
LayoutTests/platform/mac/editing/selection/5354455-1-expected.txt
LayoutTests/platform/mac/editing/selection/addRange-expected.txt
LayoutTests/platform/mac/editing/selection/caret-before-select-expected.txt
LayoutTests/platform/mac/editing/selection/contains-boundaries-expected.txt
LayoutTests/platform/mac/editing/selection/drag-select-1-expected.txt
LayoutTests/platform/mac/editing/selection/editable-html-element-expected.txt
LayoutTests/platform/mac/editing/selection/inconsistent-in-removeChildNode-expected.txt
LayoutTests/platform/mac/editing/selection/inline-closest-leaf-child-expected.txt
LayoutTests/platform/mac/editing/selection/mixed-editability-6-expected.txt
LayoutTests/platform/mac/editing/selection/mixed-editability-7-expected.txt
LayoutTests/platform/mac/editing/selection/move-by-sentence-linebreak-expected.txt
LayoutTests/platform/mac/editing/selection/select-all-005-expected.txt
LayoutTests/platform/mac/editing/selection/table-caret-1-expected.txt
LayoutTests/platform/mac/editing/selection/table-caret-2-expected.txt
LayoutTests/platform/mac/editing/selection/table-caret-3-expected.txt
LayoutTests/platform/mac/editing/selection/wrapped-line-caret-1-expected.txt
LayoutTests/platform/mac/editing/selection/wrapped-line-caret-2-expected.txt
LayoutTests/platform/mac/editing/style/4916887-expected.txt
LayoutTests/platform/mac/editing/style/5017613-1-expected.txt
LayoutTests/platform/mac/editing/style/5017613-2-expected.txt
LayoutTests/platform/mac/editing/style/5046875-1-expected.txt
LayoutTests/platform/mac/editing/style/5046875-2-expected.txt
LayoutTests/platform/mac/editing/style/5065910-expected.txt
LayoutTests/platform/mac/editing/style/5084241-expected.txt
LayoutTests/platform/mac/editing/style/5091898-expected.txt
LayoutTests/platform/mac/editing/style/5228141-expected.txt
LayoutTests/platform/mac/editing/style/5279521-expected.txt
LayoutTests/platform/mac/editing/style/font-family-with-space-expected.txt
LayoutTests/platform/mac/editing/style/fontsize-1-expected.txt
LayoutTests/platform/mac/editing/style/highlight-expected.txt
LayoutTests/platform/mac/editing/style/non-inheritable-styles-expected.txt
LayoutTests/platform/mac/editing/undo/5378473-expected.txt
LayoutTests/platform/mac/fast/block/float/relative-painted-twice-expected.txt
LayoutTests/platform/mac/fast/dom/delete-contents-expected.txt
LayoutTests/platform/mac/fast/events/context-no-deselect-expected.txt
LayoutTests/platform/mac/fast/events/label-focus-expected.txt
LayoutTests/platform/mac/fast/forms/input-appearance-focus-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-click-inside-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-click-outside-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-double-click-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-drag-down-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-option-delete-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt
LayoutTests/platform/mac/fast/forms/input-text-self-emptying-click-expected.txt
LayoutTests/platform/mac/fast/forms/textfield-drag-into-disabled-expected.txt
LayoutTests/platform/mac/fast/forms/textfield-overflow-expected.txt
LayoutTests/platform/mac/fast/inline/25277-2-expected.txt
LayoutTests/platform/mac/fast/inline/25277-expected.txt
LayoutTests/platform/mac/fast/lists/drag-into-marker-expected.txt
LayoutTests/platform/mac/fast/overflow/overflow-focus-ring-expected.txt
LayoutTests/platform/mac/fast/repaint/4776765-expected.txt
LayoutTests/platform/mac/fast/repaint/selection-after-delete-expected.txt
LayoutTests/platform/mac/fast/repaint/selection-after-remove-expected.txt
LayoutTests/platform/qt/editing/deleting/4845371-expected.txt
LayoutTests/platform/qt/editing/deleting/4866671-expected.txt
LayoutTests/platform/qt/editing/deleting/4875189-expected.txt
LayoutTests/platform/qt/editing/deleting/5026848-1-expected.txt
LayoutTests/platform/qt/editing/deleting/5026848-2-expected.txt
LayoutTests/platform/qt/editing/deleting/5026848-3-expected.txt
LayoutTests/platform/qt/editing/deleting/5032066-expected.txt
LayoutTests/platform/qt/editing/deleting/5091898-expected.txt
LayoutTests/platform/qt/editing/deleting/5099303-expected.txt
LayoutTests/platform/qt/editing/deleting/5115601-expected.txt
LayoutTests/platform/qt/editing/deleting/5126166-expected.txt
LayoutTests/platform/qt/editing/deleting/5144139-2-expected.txt
LayoutTests/platform/qt/editing/deleting/5156801-2-expected.txt
LayoutTests/platform/qt/editing/deleting/5168598-expected.txt
LayoutTests/platform/qt/editing/deleting/5272440-expected.txt
LayoutTests/platform/qt/editing/deleting/5300379-expected.txt
LayoutTests/platform/qt/editing/deleting/5390681-expected.txt
LayoutTests/platform/qt/editing/deleting/5408255-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-at-start-or-end-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-block-table-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-hr-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-link-1-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt
LayoutTests/platform/qt/editing/deleting/delete-to-select-table-expected.txt
LayoutTests/platform/qt/editing/deleting/deletionUI-single-instance-expected.txt
LayoutTests/platform/qt/editing/deleting/merge-endOfParagraph-expected.txt
LayoutTests/platform/qt/editing/deleting/merge-no-br-expected.txt
LayoutTests/platform/qt/editing/deleting/merge-whitespace-pre-expected.txt
LayoutTests/platform/qt/editing/execCommand/4641880-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/4641880-2-expected.txt
LayoutTests/platform/qt/editing/execCommand/4747450-expected.txt
LayoutTests/platform/qt/editing/execCommand/4786404-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/4786404-2-expected.txt
LayoutTests/platform/qt/editing/execCommand/4916402-expected.txt
LayoutTests/platform/qt/editing/execCommand/4916541-expected.txt
LayoutTests/platform/qt/editing/execCommand/4916583-expected.txt
LayoutTests/platform/qt/editing/execCommand/4920488-expected.txt
LayoutTests/platform/qt/editing/execCommand/4920742-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/4924441-expected.txt
LayoutTests/platform/qt/editing/execCommand/5049671-expected.txt
LayoutTests/platform/qt/editing/execCommand/5062376-expected.txt
LayoutTests/platform/qt/editing/execCommand/5080333-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/5080333-2-expected.txt
LayoutTests/platform/qt/editing/execCommand/5119244-expected.txt
LayoutTests/platform/qt/editing/execCommand/5120591-expected.txt
LayoutTests/platform/qt/editing/execCommand/5136770-expected.txt
LayoutTests/platform/qt/editing/execCommand/5142012-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/5142012-2-expected.txt
LayoutTests/platform/qt/editing/execCommand/5142012-3-expected.txt
LayoutTests/platform/qt/editing/execCommand/5144139-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/5164796-expected.txt
LayoutTests/platform/qt/editing/execCommand/5207369-expected.txt
LayoutTests/platform/qt/editing/execCommand/5210032-expected.txt
LayoutTests/platform/qt/editing/execCommand/5432254-1-expected.txt
LayoutTests/platform/qt/editing/execCommand/5432254-2-expected.txt
LayoutTests/platform/qt/editing/execCommand/insert-list-empty-div-expected.txt
LayoutTests/platform/qt/editing/inserting/12882-expected.txt
LayoutTests/platform/qt/editing/inserting/4840662-expected.txt
LayoutTests/platform/qt/editing/inserting/4875189-1-expected.txt
LayoutTests/platform/qt/editing/inserting/4875189-2-expected.txt
LayoutTests/platform/qt/editing/inserting/4959067-expected.txt
LayoutTests/platform/qt/editing/inserting/4960120-1-expected.txt
LayoutTests/platform/qt/editing/inserting/4960120-2-expected.txt
LayoutTests/platform/qt/editing/inserting/5002441-expected.txt
LayoutTests/platform/qt/editing/inserting/5058163-2-expected.txt
LayoutTests/platform/qt/editing/inserting/5156401-2-expected.txt
LayoutTests/platform/qt/editing/inserting/editable-html-element-expected.txt
LayoutTests/platform/qt/editing/inserting/editable-inline-element-expected.txt
LayoutTests/platform/qt/editing/inserting/edited-whitespace-1-expected.txt
LayoutTests/platform/qt/editing/inserting/editing-empty-divs-expected.txt
LayoutTests/platform/qt/editing/inserting/insert-before-link-1-expected.txt
LayoutTests/platform/qt/editing/pasteboard/4806874-expected.txt
LayoutTests/platform/qt/editing/pasteboard/4840662-expected.txt
LayoutTests/platform/qt/editing/pasteboard/4944770-1-expected.txt
LayoutTests/platform/qt/editing/pasteboard/4989774-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5027857-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5032095-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5065605-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5071074-2-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5071074-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5075944-2-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5075944-3-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5075944-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5134759-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5156401-1-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5245519-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5247341-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5387578-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5478250-expected.txt
LayoutTests/platform/qt/editing/pasteboard/5483567-expected.txt
LayoutTests/platform/qt/editing/pasteboard/copy-paste-bidi-expected.txt
LayoutTests/platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt
LayoutTests/platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt
LayoutTests/platform/qt/editing/pasteboard/merge-after-delete-expected.txt
LayoutTests/platform/qt/editing/pasteboard/merge-start-blockquote-expected.txt
LayoutTests/platform/qt/editing/pasteboard/paste-unrendered-select-expected.txt
LayoutTests/platform/qt/editing/pasteboard/prevent-block-nesting-01-expected.txt
LayoutTests/platform/qt/editing/selection/13804-expected.txt
LayoutTests/platform/qt/editing/selection/4397952-expected.txt
LayoutTests/platform/qt/editing/selection/4818145-expected.txt
LayoutTests/platform/qt/editing/selection/4866671-expected.txt
LayoutTests/platform/qt/editing/selection/4889598-expected.txt
LayoutTests/platform/qt/editing/selection/4895428-2-expected.txt
LayoutTests/platform/qt/editing/selection/4895428-3-expected.txt
LayoutTests/platform/qt/editing/selection/4932260-1-expected.txt
LayoutTests/platform/qt/editing/selection/4932260-2-expected.txt
LayoutTests/platform/qt/editing/selection/4932260-3-expected.txt
LayoutTests/platform/qt/editing/selection/4960116-expected.txt
LayoutTests/platform/qt/editing/selection/4983858-expected.txt
LayoutTests/platform/qt/editing/selection/5007143-2-expected.txt
LayoutTests/platform/qt/editing/selection/5007143-expected.txt
LayoutTests/platform/qt/editing/selection/5076323-1-expected.txt
LayoutTests/platform/qt/editing/selection/5076323-2-expected.txt
LayoutTests/platform/qt/editing/selection/5076323-3-expected.txt
LayoutTests/platform/qt/editing/selection/5081257-1-expected.txt
LayoutTests/platform/qt/editing/selection/5081257-2-expected.txt
LayoutTests/platform/qt/editing/selection/5099303-expected.txt
LayoutTests/platform/qt/editing/selection/5136696-expected.txt
LayoutTests/platform/qt/editing/selection/5195166-1-expected.txt
LayoutTests/platform/qt/editing/selection/5195166-2-expected.txt
LayoutTests/platform/qt/editing/selection/5234383-1-expected.txt
LayoutTests/platform/qt/editing/selection/5234383-2-expected.txt
LayoutTests/platform/qt/editing/selection/5240265-expected.txt
LayoutTests/platform/qt/editing/selection/addRange-expected.txt
LayoutTests/platform/qt/editing/selection/caret-before-select-expected.txt
LayoutTests/platform/qt/editing/selection/editable-html-element-expected.txt
LayoutTests/platform/qt/editing/selection/mixed-editability-6-expected.txt
LayoutTests/platform/qt/editing/selection/mixed-editability-7-expected.txt
LayoutTests/platform/qt/editing/selection/move-by-sentence-linebreak-expected.txt
LayoutTests/platform/qt/editing/selection/select-all-005-expected.txt
LayoutTests/platform/qt/editing/selection/table-caret-1-expected.txt
LayoutTests/platform/qt/editing/selection/table-caret-2-expected.txt
LayoutTests/platform/qt/editing/selection/table-caret-3-expected.txt
LayoutTests/platform/qt/editing/style/4916887-expected.txt
LayoutTests/platform/qt/editing/style/5017613-1-expected.txt
LayoutTests/platform/qt/editing/style/5017613-2-expected.txt
LayoutTests/platform/qt/editing/style/5046875-1-expected.txt
LayoutTests/platform/qt/editing/style/5046875-2-expected.txt
LayoutTests/platform/qt/editing/style/5065910-expected.txt
LayoutTests/platform/qt/editing/style/5084241-expected.txt
LayoutTests/platform/qt/editing/style/5228141-expected.txt
LayoutTests/platform/qt/editing/style/5279521-expected.txt
LayoutTests/platform/qt/editing/style/font-family-with-space-expected.txt
LayoutTests/platform/qt/editing/style/fontsize-1-expected.txt
LayoutTests/platform/qt/editing/style/highlight-expected.txt
LayoutTests/platform/qt/editing/style/non-inheritable-styles-expected.txt
LayoutTests/platform/qt/editing/undo/5378473-expected.txt
LayoutTests/platform/qt/fast/dom/delete-contents-expected.txt
LayoutTests/platform/qt/fast/events/label-focus-expected.txt
LayoutTests/platform/qt/fast/forms/input-appearance-focus-expected.txt
LayoutTests/platform/qt/fast/forms/input-maxlength-2-expected.txt
LayoutTests/platform/qt/fast/forms/input-text-click-inside-expected.txt
LayoutTests/platform/qt/fast/forms/input-text-option-delete-expected.txt
LayoutTests/platform/qt/fast/forms/input-text-self-emptying-click-expected.txt
LayoutTests/platform/qt/fast/forms/textfield-drag-into-disabled-expected.txt
LayoutTests/platform/qt/fast/forms/textfield-overflow-expected.txt
LayoutTests/platform/qt/fast/overflow/overflow-focus-ring-expected.txt
LayoutTests/platform/qt/fast/repaint/4776765-expected.txt
LayoutTests/platform/qt/fast/repaint/selection-after-delete-expected.txt
LayoutTests/platform/qt/fast/repaint/selection-after-remove-expected.txt
LayoutTests/platform/win/editing/deleting/5168598-expected.txt
LayoutTests/platform/win/editing/inserting/4960120-1-expected.txt
LayoutTests/platform/win/editing/inserting/5607069-2-expected.txt
LayoutTests/platform/win/editing/inserting/5607069-3-expected.txt
LayoutTests/platform/win/editing/inserting/typing-tab-designmode-forms-expected.txt
LayoutTests/platform/win/editing/pasteboard/4806874-expected.txt
LayoutTests/platform/win/editing/selection/4895428-3-expected.txt
LayoutTests/platform/win/editing/selection/5136696-expected.txt
LayoutTests/platform/win/editing/selection/drag-select-1-expected.txt
LayoutTests/platform/win/fast/events/context-no-deselect-expected.txt
LayoutTests/platform/win/fast/events/label-focus-expected.txt
LayoutTests/platform/win/fast/forms/input-appearance-focus-expected.txt
LayoutTests/platform/win/fast/forms/input-text-click-inside-expected.txt
LayoutTests/platform/win/fast/forms/input-text-click-outside-expected.txt
LayoutTests/platform/win/fast/forms/input-text-double-click-expected.txt
LayoutTests/platform/win/fast/forms/input-text-drag-down-expected.txt
LayoutTests/platform/win/fast/forms/input-text-option-delete-expected.txt
LayoutTests/platform/win/fast/forms/input-text-scroll-left-on-blur-expected.txt
LayoutTests/platform/win/fast/forms/input-text-self-emptying-click-expected.txt
LayoutTests/platform/win/fast/forms/textfield-drag-into-disabled-expected.txt
LayoutTests/platform/win/fast/forms/textfield-overflow-expected.txt
LayoutTests/webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive
LayoutTests/webarchive/archive-empty-frame-dom-expected.webarchive
WebCore/ChangeLog
WebCore/dom/Document.cpp
WebCore/html/HTMLHtmlElement.cpp
WebCore/html/HTMLParser.cpp

index 66acbe6..7d18234 100644 (file)
@@ -1,3 +1,409 @@
+2009-05-04  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Dave Hyatt.
+
+        <rdar://problem/6576889> REGRESSION (r35185): Cannot watch Flash movies on omg.yahoo.com
+
+        * fast/parser/head-element-for-yahoo-player-expected.txt: Added.
+        * fast/parser/head-element-for-yahoo-player.html: Added.
+        Test the regression case (a misplaced <style> that used to create <head> implicitly).
+
+        * editing/selection/select-all-005.html: Use a new index when selecting the body.
+
+        * fast/dom/Document/document-write-doctype-expected.txt:
+        * fast/dom/Document/resources/document-write-doctype.js:
+        Removed checks for "Gecko quirk" of implicitly adding HEAD - that not a quirk, but standard
+        behavior per HTML5.
+
+        * editing/execCommand/create-list-1-expected.txt:
+        * platform/mac/editing/deleting/4845371-expected.txt:
+        * platform/mac/editing/deleting/4866671-expected.txt:
+        * platform/mac/editing/deleting/4875189-expected.txt:
+        * platform/mac/editing/deleting/5026848-1-expected.txt:
+        * platform/mac/editing/deleting/5026848-2-expected.txt:
+        * platform/mac/editing/deleting/5026848-3-expected.txt:
+        * platform/mac/editing/deleting/5032066-expected.txt:
+        * platform/mac/editing/deleting/5091898-expected.txt:
+        * platform/mac/editing/deleting/5099303-expected.txt:
+        * platform/mac/editing/deleting/5115601-expected.txt:
+        * platform/mac/editing/deleting/5126166-expected.txt:
+        * platform/mac/editing/deleting/5156801-2-expected.txt:
+        * platform/mac/editing/deleting/5168598-expected.txt:
+        * platform/mac/editing/deleting/5272440-expected.txt:
+        * platform/mac/editing/deleting/5300379-expected.txt:
+        * platform/mac/editing/deleting/5390681-expected.txt:
+        * platform/mac/editing/deleting/5408255-expected.txt:
+        * platform/mac/editing/deleting/5433862-2-expected.txt:
+        * platform/mac/editing/deleting/5483370-expected.txt:
+        * platform/mac/editing/deleting/delete-at-start-or-end-expected.txt:
+        * platform/mac/editing/deleting/delete-block-table-expected.txt:
+        * platform/mac/editing/deleting/delete-hr-expected.txt:
+        * platform/mac/editing/deleting/delete-mixed-editable-content-001-expected.txt:
+        * platform/mac/editing/deleting/delete-to-select-table-expected.txt:
+        * platform/mac/editing/deleting/deletionUI-single-instance-expected.txt:
+        * platform/mac/editing/deleting/merge-endOfParagraph-expected.txt:
+        * platform/mac/editing/deleting/merge-no-br-expected.txt:
+        * platform/mac/editing/deleting/merge-whitespace-pre-expected.txt:
+        * platform/mac/editing/execCommand/4641880-1-expected.txt:
+        * platform/mac/editing/execCommand/4641880-2-expected.txt:
+        * platform/mac/editing/execCommand/4747450-expected.txt:
+        * platform/mac/editing/execCommand/4786404-1-expected.txt:
+        * platform/mac/editing/execCommand/4786404-2-expected.txt:
+        * platform/mac/editing/execCommand/4916402-expected.txt:
+        * platform/mac/editing/execCommand/4916541-expected.txt:
+        * platform/mac/editing/execCommand/4916583-expected.txt:
+        * platform/mac/editing/execCommand/4920488-expected.txt:
+        * platform/mac/editing/execCommand/4920742-1-expected.txt:
+        * platform/mac/editing/execCommand/4924441-expected.txt:
+        * platform/mac/editing/execCommand/5049671-expected.txt:
+        * platform/mac/editing/execCommand/5080333-1-expected.txt:
+        * platform/mac/editing/execCommand/5080333-2-expected.txt:
+        * platform/mac/editing/execCommand/5119244-expected.txt:
+        * platform/mac/editing/execCommand/5120591-expected.txt:
+        * platform/mac/editing/execCommand/5136770-expected.txt:
+        * platform/mac/editing/execCommand/5142012-1-expected.txt:
+        * platform/mac/editing/execCommand/5142012-2-expected.txt:
+        * platform/mac/editing/execCommand/5142012-3-expected.txt:
+        * platform/mac/editing/execCommand/5144139-1-expected.txt:
+        * platform/mac/editing/execCommand/5164796-expected.txt:
+        * platform/mac/editing/execCommand/5207369-expected.txt:
+        * platform/mac/editing/execCommand/5210032-expected.txt:
+        * platform/mac/editing/execCommand/5432254-1-expected.txt:
+        * platform/mac/editing/execCommand/5432254-2-expected.txt:
+        * platform/mac/editing/execCommand/5481523-expected.txt:
+        * platform/mac/editing/execCommand/5482524-expected.txt:
+        * platform/mac/editing/execCommand/5569741-expected.txt:
+        * platform/mac/editing/execCommand/5573879-expected.txt:
+        * platform/mac/editing/execCommand/5700414-1-expected.txt:
+        * platform/mac/editing/execCommand/5700414-2-expected.txt:
+        * platform/mac/editing/execCommand/insert-list-empty-div-expected.txt:
+        * platform/mac/editing/input/5576619-expected.txt:
+        * platform/mac/editing/inserting/12882-expected.txt:
+        * platform/mac/editing/inserting/4840662-expected.txt:
+        * platform/mac/editing/inserting/4875189-1-expected.txt:
+        * platform/mac/editing/inserting/4875189-2-expected.txt:
+        * platform/mac/editing/inserting/4959067-expected.txt:
+        * platform/mac/editing/inserting/4960120-1-expected.txt:
+        * platform/mac/editing/inserting/4960120-2-expected.txt:
+        * platform/mac/editing/inserting/5002441-expected.txt:
+        * platform/mac/editing/inserting/5058163-2-expected.txt:
+        * platform/mac/editing/inserting/5156401-2-expected.txt:
+        * platform/mac/editing/inserting/5549929-2-expected.txt:
+        * platform/mac/editing/inserting/5549929-3-expected.txt:
+        * platform/mac/editing/inserting/5607069-2-expected.txt:
+        * platform/mac/editing/inserting/5607069-3-expected.txt:
+        * platform/mac/editing/inserting/editable-html-element-expected.txt:
+        * platform/mac/editing/inserting/editable-inline-element-expected.txt:
+        * platform/mac/editing/inserting/edited-whitespace-1-expected.txt:
+        * platform/mac/editing/inserting/editing-empty-divs-expected.txt:
+        * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt:
+        * platform/mac/editing/pasteboard/4806874-expected.txt:
+        * platform/mac/editing/pasteboard/4861080-expected.txt:
+        * platform/mac/editing/pasteboard/4944770-1-expected.txt:
+        * platform/mac/editing/pasteboard/4944770-2-expected.txt:
+        * platform/mac/editing/pasteboard/4947130-expected.txt:
+        * platform/mac/editing/pasteboard/4989774-expected.txt:
+        * platform/mac/editing/pasteboard/5027857-expected.txt:
+        * platform/mac/editing/pasteboard/5032095-expected.txt:
+        * platform/mac/editing/pasteboard/5065605-expected.txt:
+        * platform/mac/editing/pasteboard/5071074-2-expected.txt:
+        * platform/mac/editing/pasteboard/5071074-expected.txt:
+        * platform/mac/editing/pasteboard/5075944-2-expected.txt:
+        * platform/mac/editing/pasteboard/5075944-3-expected.txt:
+        * platform/mac/editing/pasteboard/5075944-expected.txt:
+        * platform/mac/editing/pasteboard/5134759-expected.txt:
+        * platform/mac/editing/pasteboard/5156401-1-expected.txt:
+        * platform/mac/editing/pasteboard/5247341-expected.txt:
+        * platform/mac/editing/pasteboard/5387578-expected.txt:
+        * platform/mac/editing/pasteboard/5478250-expected.txt:
+        * platform/mac/editing/pasteboard/5483567-expected.txt:
+        * platform/mac/editing/pasteboard/5601583-1-expected.txt:
+        * platform/mac/editing/pasteboard/copy-paste-bidi-expected.txt:
+        * platform/mac/editing/pasteboard/input-field-1-expected.txt:
+        * platform/mac/editing/pasteboard/merge-after-delete-1-expected.txt:
+        * platform/mac/editing/pasteboard/merge-after-delete-2-expected.txt:
+        * platform/mac/editing/pasteboard/merge-after-delete-expected.txt:
+        * platform/mac/editing/pasteboard/merge-start-blockquote-expected.txt:
+        * platform/mac/editing/pasteboard/paste-unrendered-select-expected.txt:
+        * platform/mac/editing/pasteboard/prevent-block-nesting-01-expected.txt:
+        * platform/mac/editing/pasteboard/select-element-1-expected.txt:
+        * platform/mac/editing/selection/13804-expected.txt:
+        * platform/mac/editing/selection/14971-expected.txt:
+        * platform/mac/editing/selection/4397952-expected.txt:
+        * platform/mac/editing/selection/4818145-expected.txt:
+        * platform/mac/editing/selection/4866671-expected.txt:
+        * platform/mac/editing/selection/4889598-expected.txt:
+        * platform/mac/editing/selection/4895428-1-expected.txt:
+        * platform/mac/editing/selection/4895428-2-expected.txt:
+        * platform/mac/editing/selection/4895428-3-expected.txt:
+        * platform/mac/editing/selection/4895428-4-expected.txt:
+        * platform/mac/editing/selection/4932260-1-expected.txt:
+        * platform/mac/editing/selection/4932260-2-expected.txt:
+        * platform/mac/editing/selection/4932260-3-expected.txt:
+        * platform/mac/editing/selection/4947387-expected.txt:
+        * platform/mac/editing/selection/4960116-expected.txt:
+        * platform/mac/editing/selection/4975120-expected.txt:
+        * platform/mac/editing/selection/4983858-expected.txt:
+        * platform/mac/editing/selection/5007143-2-expected.txt:
+        * platform/mac/editing/selection/5007143-expected.txt:
+        * platform/mac/editing/selection/5057506-2-expected.txt:
+        * platform/mac/editing/selection/5057506-expected.txt:
+        * platform/mac/editing/selection/5076323-1-expected.txt:
+        * platform/mac/editing/selection/5076323-2-expected.txt:
+        * platform/mac/editing/selection/5076323-3-expected.txt:
+        * platform/mac/editing/selection/5081257-1-expected.txt:
+        * platform/mac/editing/selection/5081257-2-expected.txt:
+        * platform/mac/editing/selection/5099303-expected.txt:
+        * platform/mac/editing/selection/5109817-expected.txt:
+        * platform/mac/editing/selection/5136696-expected.txt:
+        * platform/mac/editing/selection/5195166-1-expected.txt:
+        * platform/mac/editing/selection/5195166-2-expected.txt:
+        * platform/mac/editing/selection/5234383-1-expected.txt:
+        * platform/mac/editing/selection/5234383-2-expected.txt:
+        * platform/mac/editing/selection/5240265-expected.txt:
+        * platform/mac/editing/selection/5333725-expected.txt:
+        * platform/mac/editing/selection/5354455-1-expected.txt:
+        * platform/mac/editing/selection/addRange-expected.txt:
+        * platform/mac/editing/selection/caret-before-select-expected.txt:
+        * platform/mac/editing/selection/contains-boundaries-expected.txt:
+        * platform/mac/editing/selection/drag-select-1-expected.txt:
+        * platform/mac/editing/selection/editable-html-element-expected.txt:
+        * platform/mac/editing/selection/inconsistent-in-removeChildNode-expected.txt:
+        * platform/mac/editing/selection/inline-closest-leaf-child-expected.txt:
+        * platform/mac/editing/selection/mixed-editability-6-expected.txt:
+        * platform/mac/editing/selection/mixed-editability-7-expected.txt:
+        * platform/mac/editing/selection/move-by-sentence-linebreak-expected.txt:
+        * platform/mac/editing/selection/select-all-005-expected.txt:
+        * platform/mac/editing/selection/table-caret-1-expected.txt:
+        * platform/mac/editing/selection/table-caret-2-expected.txt:
+        * platform/mac/editing/selection/table-caret-3-expected.txt:
+        * platform/mac/editing/selection/wrapped-line-caret-1-expected.txt:
+        * platform/mac/editing/selection/wrapped-line-caret-2-expected.txt:
+        * platform/mac/editing/style/4916887-expected.txt:
+        * platform/mac/editing/style/5017613-1-expected.txt:
+        * platform/mac/editing/style/5017613-2-expected.txt:
+        * platform/mac/editing/style/5046875-1-expected.txt:
+        * platform/mac/editing/style/5046875-2-expected.txt:
+        * platform/mac/editing/style/5065910-expected.txt:
+        * platform/mac/editing/style/5084241-expected.txt:
+        * platform/mac/editing/style/5091898-expected.txt:
+        * platform/mac/editing/style/5228141-expected.txt:
+        * platform/mac/editing/style/5279521-expected.txt:
+        * platform/mac/editing/style/font-family-with-space-expected.txt:
+        * platform/mac/editing/style/fontsize-1-expected.txt:
+        * platform/mac/editing/style/highlight-expected.txt:
+        * platform/mac/editing/style/non-inheritable-styles-expected.txt:
+        * platform/mac/editing/undo/5378473-expected.txt:
+        * platform/mac/fast/block/float/relative-painted-twice-expected.txt:
+        * platform/mac/fast/dom/delete-contents-expected.txt:
+        * platform/mac/fast/events/context-no-deselect-expected.txt:
+        * platform/mac/fast/events/label-focus-expected.txt:
+        * platform/mac/fast/forms/input-appearance-focus-expected.txt:
+        * platform/mac/fast/forms/input-text-click-inside-expected.txt:
+        * platform/mac/fast/forms/input-text-click-outside-expected.txt:
+        * platform/mac/fast/forms/input-text-double-click-expected.txt:
+        * platform/mac/fast/forms/input-text-drag-down-expected.txt:
+        * platform/mac/fast/forms/input-text-option-delete-expected.txt:
+        * platform/mac/fast/forms/input-text-scroll-left-on-blur-expected.txt:
+        * platform/mac/fast/forms/input-text-self-emptying-click-expected.txt:
+        * platform/mac/fast/forms/textfield-drag-into-disabled-expected.txt:
+        * platform/mac/fast/forms/textfield-overflow-expected.txt:
+        * platform/mac/fast/inline/25277-2-expected.txt:
+        * platform/mac/fast/inline/25277-expected.txt:
+        * platform/mac/fast/lists/drag-into-marker-expected.txt:
+        * platform/mac/fast/overflow/overflow-focus-ring-expected.txt:
+        * platform/mac/fast/repaint/4776765-expected.txt:
+        * platform/mac/fast/repaint/selection-after-delete-expected.txt:
+        * platform/mac/fast/repaint/selection-after-remove-expected.txt:
+        * platform/qt/editing/deleting/4845371-expected.txt:
+        * platform/qt/editing/deleting/4866671-expected.txt:
+        * platform/qt/editing/deleting/4875189-expected.txt:
+        * platform/qt/editing/deleting/5026848-1-expected.txt:
+        * platform/qt/editing/deleting/5026848-2-expected.txt:
+        * platform/qt/editing/deleting/5026848-3-expected.txt:
+        * platform/qt/editing/deleting/5032066-expected.txt:
+        * platform/qt/editing/deleting/5091898-expected.txt:
+        * platform/qt/editing/deleting/5099303-expected.txt:
+        * platform/qt/editing/deleting/5115601-expected.txt:
+        * platform/qt/editing/deleting/5126166-expected.txt:
+        * platform/qt/editing/deleting/5144139-2-expected.txt:
+        * platform/qt/editing/deleting/5156801-2-expected.txt:
+        * platform/qt/editing/deleting/5168598-expected.txt:
+        * platform/qt/editing/deleting/5272440-expected.txt:
+        * platform/qt/editing/deleting/5300379-expected.txt:
+        * platform/qt/editing/deleting/5390681-expected.txt:
+        * platform/qt/editing/deleting/5408255-expected.txt:
+        * platform/qt/editing/deleting/delete-at-start-or-end-expected.txt:
+        * platform/qt/editing/deleting/delete-block-table-expected.txt:
+        * platform/qt/editing/deleting/delete-hr-expected.txt:
+        * platform/qt/editing/deleting/delete-link-1-expected.txt:
+        * platform/qt/editing/deleting/delete-mixed-editable-content-001-expected.txt:
+        * platform/qt/editing/deleting/delete-to-select-table-expected.txt:
+        * platform/qt/editing/deleting/deletionUI-single-instance-expected.txt:
+        * platform/qt/editing/deleting/merge-endOfParagraph-expected.txt:
+        * platform/qt/editing/deleting/merge-no-br-expected.txt:
+        * platform/qt/editing/deleting/merge-whitespace-pre-expected.txt:
+        * platform/qt/editing/execCommand/4641880-1-expected.txt:
+        * platform/qt/editing/execCommand/4641880-2-expected.txt:
+        * platform/qt/editing/execCommand/4747450-expected.txt:
+        * platform/qt/editing/execCommand/4786404-1-expected.txt:
+        * platform/qt/editing/execCommand/4786404-2-expected.txt:
+        * platform/qt/editing/execCommand/4916402-expected.txt:
+        * platform/qt/editing/execCommand/4916541-expected.txt:
+        * platform/qt/editing/execCommand/4916583-expected.txt:
+        * platform/qt/editing/execCommand/4920488-expected.txt:
+        * platform/qt/editing/execCommand/4920742-1-expected.txt:
+        * platform/qt/editing/execCommand/4924441-expected.txt:
+        * platform/qt/editing/execCommand/5049671-expected.txt:
+        * platform/qt/editing/execCommand/5062376-expected.txt:
+        * platform/qt/editing/execCommand/5080333-1-expected.txt:
+        * platform/qt/editing/execCommand/5080333-2-expected.txt:
+        * platform/qt/editing/execCommand/5119244-expected.txt:
+        * platform/qt/editing/execCommand/5120591-expected.txt:
+        * platform/qt/editing/execCommand/5136770-expected.txt:
+        * platform/qt/editing/execCommand/5142012-1-expected.txt:
+        * platform/qt/editing/execCommand/5142012-2-expected.txt:
+        * platform/qt/editing/execCommand/5142012-3-expected.txt:
+        * platform/qt/editing/execCommand/5144139-1-expected.txt:
+        * platform/qt/editing/execCommand/5164796-expected.txt:
+        * platform/qt/editing/execCommand/5207369-expected.txt:
+        * platform/qt/editing/execCommand/5210032-expected.txt:
+        * platform/qt/editing/execCommand/5432254-1-expected.txt:
+        * platform/qt/editing/execCommand/5432254-2-expected.txt:
+        * platform/qt/editing/execCommand/insert-list-empty-div-expected.txt:
+        * platform/qt/editing/inserting/12882-expected.txt:
+        * platform/qt/editing/inserting/4840662-expected.txt:
+        * platform/qt/editing/inserting/4875189-1-expected.txt:
+        * platform/qt/editing/inserting/4875189-2-expected.txt:
+        * platform/qt/editing/inserting/4959067-expected.txt:
+        * platform/qt/editing/inserting/4960120-1-expected.txt:
+        * platform/qt/editing/inserting/4960120-2-expected.txt:
+        * platform/qt/editing/inserting/5002441-expected.txt:
+        * platform/qt/editing/inserting/5058163-2-expected.txt:
+        * platform/qt/editing/inserting/5156401-2-expected.txt:
+        * platform/qt/editing/inserting/editable-html-element-expected.txt:
+        * platform/qt/editing/inserting/editable-inline-element-expected.txt:
+        * platform/qt/editing/inserting/edited-whitespace-1-expected.txt:
+        * platform/qt/editing/inserting/editing-empty-divs-expected.txt:
+        * platform/qt/editing/inserting/insert-before-link-1-expected.txt:
+        * platform/qt/editing/pasteboard/4806874-expected.txt:
+        * platform/qt/editing/pasteboard/4840662-expected.txt:
+        * platform/qt/editing/pasteboard/4944770-1-expected.txt:
+        * platform/qt/editing/pasteboard/4989774-expected.txt:
+        * platform/qt/editing/pasteboard/5027857-expected.txt:
+        * platform/qt/editing/pasteboard/5032095-expected.txt:
+        * platform/qt/editing/pasteboard/5065605-expected.txt:
+        * platform/qt/editing/pasteboard/5071074-2-expected.txt:
+        * platform/qt/editing/pasteboard/5071074-expected.txt:
+        * platform/qt/editing/pasteboard/5075944-2-expected.txt:
+        * platform/qt/editing/pasteboard/5075944-3-expected.txt:
+        * platform/qt/editing/pasteboard/5075944-expected.txt:
+        * platform/qt/editing/pasteboard/5134759-expected.txt:
+        * platform/qt/editing/pasteboard/5156401-1-expected.txt:
+        * platform/qt/editing/pasteboard/5245519-expected.txt:
+        * platform/qt/editing/pasteboard/5247341-expected.txt:
+        * platform/qt/editing/pasteboard/5387578-expected.txt:
+        * platform/qt/editing/pasteboard/5478250-expected.txt:
+        * platform/qt/editing/pasteboard/5483567-expected.txt:
+        * platform/qt/editing/pasteboard/copy-paste-bidi-expected.txt:
+        * platform/qt/editing/pasteboard/merge-after-delete-1-expected.txt:
+        * platform/qt/editing/pasteboard/merge-after-delete-2-expected.txt:
+        * platform/qt/editing/pasteboard/merge-after-delete-expected.txt:
+        * platform/qt/editing/pasteboard/merge-start-blockquote-expected.txt:
+        * platform/qt/editing/pasteboard/paste-unrendered-select-expected.txt:
+        * platform/qt/editing/pasteboard/prevent-block-nesting-01-expected.txt:
+        * platform/qt/editing/selection/13804-expected.txt:
+        * platform/qt/editing/selection/4397952-expected.txt:
+        * platform/qt/editing/selection/4818145-expected.txt:
+        * platform/qt/editing/selection/4866671-expected.txt:
+        * platform/qt/editing/selection/4889598-expected.txt:
+        * platform/qt/editing/selection/4895428-2-expected.txt:
+        * platform/qt/editing/selection/4895428-3-expected.txt:
+        * platform/qt/editing/selection/4932260-1-expected.txt:
+        * platform/qt/editing/selection/4932260-2-expected.txt:
+        * platform/qt/editing/selection/4932260-3-expected.txt:
+        * platform/qt/editing/selection/4960116-expected.txt:
+        * platform/qt/editing/selection/4983858-expected.txt:
+        * platform/qt/editing/selection/5007143-2-expected.txt:
+        * platform/qt/editing/selection/5007143-expected.txt:
+        * platform/qt/editing/selection/5076323-1-expected.txt:
+        * platform/qt/editing/selection/5076323-2-expected.txt:
+        * platform/qt/editing/selection/5076323-3-expected.txt:
+        * platform/qt/editing/selection/5081257-1-expected.txt:
+        * platform/qt/editing/selection/5081257-2-expected.txt:
+        * platform/qt/editing/selection/5099303-expected.txt:
+        * platform/qt/editing/selection/5136696-expected.txt:
+        * platform/qt/editing/selection/5195166-1-expected.txt:
+        * platform/qt/editing/selection/5195166-2-expected.txt:
+        * platform/qt/editing/selection/5234383-1-expected.txt:
+        * platform/qt/editing/selection/5234383-2-expected.txt:
+        * platform/qt/editing/selection/5240265-expected.txt:
+        * platform/qt/editing/selection/addRange-expected.txt:
+        * platform/qt/editing/selection/caret-before-select-expected.txt:
+        * platform/qt/editing/selection/editable-html-element-expected.txt:
+        * platform/qt/editing/selection/mixed-editability-6-expected.txt:
+        * platform/qt/editing/selection/mixed-editability-7-expected.txt:
+        * platform/qt/editing/selection/move-by-sentence-linebreak-expected.txt:
+        * platform/qt/editing/selection/select-all-005-expected.txt:
+        * platform/qt/editing/selection/table-caret-1-expected.txt:
+        * platform/qt/editing/selection/table-caret-2-expected.txt:
+        * platform/qt/editing/selection/table-caret-3-expected.txt:
+        * platform/qt/editing/style/4916887-expected.txt:
+        * platform/qt/editing/style/5017613-1-expected.txt:
+        * platform/qt/editing/style/5017613-2-expected.txt:
+        * platform/qt/editing/style/5046875-1-expected.txt:
+        * platform/qt/editing/style/5046875-2-expected.txt:
+        * platform/qt/editing/style/5065910-expected.txt:
+        * platform/qt/editing/style/5084241-expected.txt:
+        * platform/qt/editing/style/5228141-expected.txt:
+        * platform/qt/editing/style/5279521-expected.txt:
+        * platform/qt/editing/style/font-family-with-space-expected.txt:
+        * platform/qt/editing/style/fontsize-1-expected.txt:
+        * platform/qt/editing/style/highlight-expected.txt:
+        * platform/qt/editing/style/non-inheritable-styles-expected.txt:
+        * platform/qt/editing/undo/5378473-expected.txt:
+        * platform/qt/fast/dom/delete-contents-expected.txt:
+        * platform/qt/fast/events/label-focus-expected.txt:
+        * platform/qt/fast/forms/input-appearance-focus-expected.txt:
+        * platform/qt/fast/forms/input-maxlength-2-expected.txt:
+        * platform/qt/fast/forms/input-text-click-inside-expected.txt:
+        * platform/qt/fast/forms/input-text-option-delete-expected.txt:
+        * platform/qt/fast/forms/input-text-self-emptying-click-expected.txt:
+        * platform/qt/fast/forms/textfield-drag-into-disabled-expected.txt:
+        * platform/qt/fast/forms/textfield-overflow-expected.txt:
+        * platform/qt/fast/overflow/overflow-focus-ring-expected.txt:
+        * platform/qt/fast/repaint/4776765-expected.txt:
+        * platform/qt/fast/repaint/selection-after-delete-expected.txt:
+        * platform/qt/fast/repaint/selection-after-remove-expected.txt:
+        * platform/win/editing/deleting/5168598-expected.txt:
+        * platform/win/editing/inserting/4960120-1-expected.txt:
+        * platform/win/editing/inserting/5607069-2-expected.txt:
+        * platform/win/editing/inserting/5607069-3-expected.txt:
+        * platform/win/editing/inserting/typing-tab-designmode-forms-expected.txt:
+        * platform/win/editing/pasteboard/4806874-expected.txt:
+        * platform/win/editing/selection/4895428-3-expected.txt:
+        * platform/win/editing/selection/5136696-expected.txt:
+        * platform/win/editing/selection/drag-select-1-expected.txt:
+        * platform/win/fast/events/context-no-deselect-expected.txt:
+        * platform/win/fast/events/label-focus-expected.txt:
+        * platform/win/fast/forms/input-appearance-focus-expected.txt:
+        * platform/win/fast/forms/input-text-click-inside-expected.txt:
+        * platform/win/fast/forms/input-text-click-outside-expected.txt:
+        * platform/win/fast/forms/input-text-double-click-expected.txt:
+        * platform/win/fast/forms/input-text-drag-down-expected.txt:
+        * platform/win/fast/forms/input-text-option-delete-expected.txt:
+        * platform/win/fast/forms/input-text-scroll-left-on-blur-expected.txt:
+        * platform/win/fast/forms/input-text-self-emptying-click-expected.txt:
+        * platform/win/fast/forms/textfield-drag-into-disabled-expected.txt:
+        * platform/win/fast/forms/textfield-overflow-expected.txt:
+        Updated BODY element index in test output (for some tests, it increased because of the
+        implicitly added <head>, and for others, it decreased because mispositoned <script> is being
+        moved into <head>).
+
+        * webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive:
+        * webarchive/archive-empty-frame-dom-expected.webarchive:
+        Updated to include the implicitly added <head> elements.
+
 2009-05-04  Holger Hans Peter Freyther  <zecke@selfish.org>
 
         Disabling accessibility/canvas.html due the lack of a
index a9086a8..59878b9 100644 (file)
@@ -26,4 +26,4 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (0,68) size 784x18
           RenderText {#text} at (0,0) size 102x18
             text run at (0,0) width 102: "Paragraph Two."
-caret: position 0 of child 0 {LI} of child 2 {OL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {LI} of child 2 {OL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2df4214..5105f68 100644 (file)
@@ -4,6 +4,6 @@
 if (window.layoutTestController)
      layoutTestController.dumpEditingCallbacks();
 var e = document.getElementById("html");
-window.getSelection().setBaseAndExtent(e, 0, e, 1);
+window.getSelection().setBaseAndExtent(e, 1, e, 2);
 </script>
-</body></html>
\ No newline at end of file
+</body></html>
index a0ef425..cd8d7ae 100644 (file)
@@ -6,11 +6,11 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 about:blank is quirksmode by default
 PASS iframeDocument.compatMode is "BackCompat"
 ensure that about:blank's DOM has an html and body element
-PASS treeAsString(iframeDocument) is "#document [HTML [BODY]]"
+PASS treeAsString(iframeDocument) is "#document [HTML [HEAD, BODY]]"
 writing a doctype as the first document.write can change the document to standards
 PASS iframeDocument.compatMode is "CSS1Compat"
 ensure the written DOM has an html and body element
-PASS treeAsString(iframeDocument) is "#document [html, HTML [BODY [#text]]]"
+PASS treeAsString(iframeDocument) is "#document [html, HTML [HEAD, BODY [#text]]]"
 ensure that document.open clears the document but does not change the document pointer
 PASS iframeDocument is iframe.contentWindow.document
 document.open should also clear the document and reset the doctype)
@@ -19,7 +19,7 @@ PASS iframeDocument.compatMode is "BackCompat"
 document.write of "" should leave the document in quirksmode and add no content to the document
 PASS iframeDocument.compatMode is "BackCompat"
 PASS treeAsString(iframeDocument) is "#document"
-document.write calls can change the doctype until an  is created
+document.write calls can change the doctype until an <html> is created
 PASS iframeDocument.compatMode is "CSS1Compat"
 reset the document again
 document.write of "<html>" should leave the document in quirksmode and add only an HTML element, no body
index c11c48f..48b6a66 100644 (file)
@@ -1,18 +1,5 @@
 description("Test that iframe.contentWindow.document.write() can convert a document to strict mode -- https://bugs.webkit.org/show_bug.cgi?id=24336");
 
-// Test if we're on FF and all HTMLHTMLElements have an implicit HEAD element
-function testForGeckoImplicitHeadQuirk(doc)
-{
-    window.hasImplicitHeadQuirk = false;
-    if (doc.firstChild && doc.firstChild.firstChild)
-        window.hasImplicitHeadQuirk = doc.firstChild.firstChild.tagName == "HEAD";
-}
-
-function implicitHeadString()
-{
-    return hasImplicitHeadQuirk ? "HEAD, " : "";
-}
-
 // Simple recurisve "give me a string to represent this tree" function
 function treeAsString(node) {
     var string = node.nodeName;
@@ -42,20 +29,17 @@ function doctypeNodeName(iframeDocument) {
 var iframe = document.createElement("iframe");
 document.body.appendChild(iframe);
 var iframeDocument = iframe.contentWindow.document;
-testForGeckoImplicitHeadQuirk(iframeDocument);
-if (hasImplicitHeadQuirk)
-    debug("WARNING: This browser adds implicit HEAD elements in every HTMLHTMLElement");
 
 debug("about:blank is quirksmode by default")
 shouldBeEqualToString("iframeDocument.compatMode", "BackCompat");
 debug("ensure that about:blank's DOM has an html and body element")
-shouldBeEqualToString("treeAsString(iframeDocument)", "#document [HTML [" + implicitHeadString() + "BODY]]");
+shouldBeEqualToString("treeAsString(iframeDocument)", "#document [HTML [HEAD, BODY]]");
 
 iframeDocument.write("<!DocType html><html><body>test</body></html>");
 debug("writing a doctype as the first document.write can change the document to standards")
 shouldBeEqualToString("iframeDocument.compatMode", "CSS1Compat");
 debug("ensure the written DOM has an html and body element")
-shouldBeEqualToString("treeAsString(iframeDocument)", "#document [" + doctypeNodeName(iframeDocument) + ", HTML [" + implicitHeadString() + "BODY [#text]]]");
+shouldBeEqualToString("treeAsString(iframeDocument)", "#document [" + doctypeNodeName(iframeDocument) + ", HTML [HEAD, BODY [#text]]]");
 
 // document.open() doesn't seem to clear the document as expected in Gecko
 // https://bugzilla.mozilla.org/show_bug.cgi?id=483908
@@ -72,7 +56,7 @@ iframeDocument.write("");
 shouldBeEqualToString("iframeDocument.compatMode", "BackCompat");
 shouldBeEqualToString("treeAsString(iframeDocument)", "#document");
 
-debug("document.write calls can change the doctype until an <html> is created")
+debug("document.write calls can change the doctype until an &lt;html> is created")
 iframeDocument.write("<!DocType html><html><body>test</body></html>");
 shouldBeEqualToString("iframeDocument.compatMode", "CSS1Compat");
 
diff --git a/LayoutTests/fast/parser/head-element-for-yahoo-player-expected.txt b/LayoutTests/fast/parser/head-element-for-yahoo-player-expected.txt
new file mode 100644 (file)
index 0000000..84052c0
--- /dev/null
@@ -0,0 +1,5 @@
+Test for rdar://problem/6576889: Cannot watch Flash movies on omg.yahoo.com.
+
+Make sure that a HEAD element exists, at least in situations where Safari 3 would create one implicitly by moving a misplaced STYLE element.
+
+PASS
diff --git a/LayoutTests/fast/parser/head-element-for-yahoo-player.html b/LayoutTests/fast/parser/head-element-for-yahoo-player.html
new file mode 100644 (file)
index 0000000..f142802
--- /dev/null
@@ -0,0 +1,12 @@
+<html>
+<body>
+<style>body {}</style>
+<p>Test for <a href="rdar://problem/6576889">rdar://problem/6576889</a>: Cannot watch Flash movies on omg.yahoo.com.</p>
+<p>Make sure that a HEAD element exists, at least in situations where Safari 3 would create one implicitly by moving a misplaced STYLE element.</p>
+<script>
+if (window.layoutTestController)
+    layoutTestController.dumpAsText();
+document.write(document.getElementsByTagName("head").length ? "PASS" : "FAIL");
+</script>
+</body>
+</html>
index 6fb4bbf..2999c46 100644 (file)
@@ -26,4 +26,4 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (6,2) size 24x20 [r=0 c=1 rs=1 cs=1]
                 RenderText {#text} at (1,1) size 22x18
                   text run at (1,1) width 22: "baz"
-caret: position 0 of child 0 {BR} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 70b5017..8fa2f98 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
           RenderBlock (anonymous) at (40,36) size 744x103
             RenderInline {SPAN} at (0,0) size 76x14
               RenderImage {IMG} at (0,0) size 76x103
-caret: position 0 of child 0 {BR} of child 1 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 1 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6ca3d6a..a5b3ae0 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
         RenderBR {BR} at (99,14) size 0x0
         RenderText {#text} at (0,18) size 102x18
           text run at (0,18) width 102: "Paragraph Two."
-caret: position 14 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 14 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 7e16076..2f50699 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           text run at (0,18) width 323: "shouldn't see anything in the editable region below."
       RenderBlock {DIV} at (0,52) size 784x18
         RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b99b25c..0c46fae 100644 (file)
@@ -25,4 +25,4 @@ layer at (0,0) size 800x600
                 RenderText {#text} at (1,1) size 82x18
                   text run at (1,1) width 82: "Non-editable"
         RenderBlock (anonymous) at (0,24) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 71a4052..958c435 100644 (file)
@@ -28,4 +28,4 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (198,2) size 4x22 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]
               RenderTableCell {TD} at (204,2) size 4x22 [border: (1px inset #808080)] [r=0 c=3 rs=1 cs=1]
         RenderBlock (anonymous) at (0,28) size 784x0
-caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 9 of child 0 {#text} of child 3 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8a2749f..448cb70 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
                 RenderInline {SPAN} at (0,0) size 168x18
                   RenderText {#text} at (238,2) size 168x18
                     text run at (238,2) width 168: "should be in one table cell."
-caret: position 40 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 40 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 5c24e6f..264ca4a 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
         RenderInline {DIV} at (0,0) size 168x18
           RenderText {#text} at (183,0) size 168x18
             text run at (183,0) width 168: "This should be underlined."
-caret: position 29 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 29 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index aad5dd4..dcaf14d 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,28) size 784x18
           RenderText {#text} at (0,0) size 9x18
             text run at (0,0) width 9: ")."
-caret: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index ef3d13f..95a97d8 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
                       text run at (2,2) width 298: "This sentence should be inside the editable cell."
                   RenderBR {BR} at (300,16) size 0x0
         RenderBlock (anonymous) at (0,28) size 784x0
-caret: position 0 of child 0 {#text} of child 0 {SPAN} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 0 {SPAN} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6e4ff6a..18d5c71 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (8,2) size 339x22 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
                 RenderText {#text} at (2,2) size 335x18
                   text run at (2,2) width 335: "There should be one empty cell to the left of this one."
-caret: position 0 of child 0 {BR} of child 3 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 3 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 860da5f..95df80b 100644 (file)
@@ -15,4 +15,4 @@ layer at (0,0) size 800x600
                 RenderInline {A} at (0,0) size 48x18 [color=#0000EE]
                   RenderText {#text} at (0,18) size 48x18
                     text run at (0,18) width 48: "Cached"
-caret: position 6 of child 0 {#text} of child 1 {A} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 6 of child 0 {#text} of child 1 {A} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index af4c334..405d72a 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
 layer at (13,83) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
     RenderBR {BR} at (1,0) size 0x13
-caret: position 0 of child 0 {BR} of child 0 {DIV} of child 3 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {DIV} of child 3 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
index f23a96c..19ca7d7 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           RenderText {#text} at (1,1) size 387x18
             text run at (1,1) width 387: "There shouldn't be any blank lines in the black bordered area."
           RenderBR {BR} at (388,15) size 0x0
-caret: position 62 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 62 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 3a91e3c..75301dc 100644 (file)
@@ -8,4 +8,4 @@ layer at (0,0) size 800x600
         RenderText {#text} at (0,0) size 50x18
           text run at (0,0) width 50: "Success"
       RenderBlock {DIV} at (0,18) size 784x0
-caret: position 7 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 7 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0eb1cf0..72dc0b9 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
         RenderInline {SPAN} at (0,0) size 20x18
           RenderText {#text} at (0,18) size 20x18
             text run at (0,18) width 20: "bar"
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index cb2f212..778bd6c 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           text run at (0,18) width 87: "select:ignore. "
           text run at (87,18) width 450: "The list should be removed, the editable region below should be empty."
       RenderBlock {DIV} at (0,52) size 784x32
-caret: position 0 of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b1fda83..fdd529b 100644 (file)
@@ -42,4 +42,4 @@ layer at (0,0) size 800x600
                 RenderBR {BR} at (6,6) size 0x18
               RenderTableCell {TD} at (71,98) size 34x30 [border: (1px inset #808080)] [r=3 c=2 rs=1 cs=1]
                 RenderBR {BR} at (6,6) size 0x18
-caret: position 0 of child 0 {BR} of child 0 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 82239d8..8613255 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
             RenderTableRow {TR} at (0,26) size 27x4
               RenderTableCell {TD} at (2,26) size 17x4 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
               RenderTableCell {TD} at (21,26) size 4x4 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
-caret: position 2 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 2 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 5cf30bc..cdee849 100644 (file)
@@ -9,4 +9,4 @@ layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x584
       RenderBlock {DIV} at (0,0) size 784x18
-caret: position 0 of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0cc42c6..a12d42e 100644 (file)
@@ -46,4 +46,4 @@ layer at (0,0) size 800x600
                   RenderText {#text} at (38,1) size 21x18
                     text run at (38,1) width 21: "fter"
         RenderBlock (anonymous) at (0,70) size 784x0
-caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 15 of child 0 {#text} of child 3 {TD} of child 2 {TR} of child 1 {TBODY} of child 3 {TABLE} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 43fa42e..043b310 100644 (file)
@@ -24,4 +24,4 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 21x18
               text run at (0,0) width 21: "fter"
           RenderText {#text} at (0,0) size 0x0
-caret: position 0 of child 0 {#text} of child 3 {SPAN} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 3 {SPAN} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b975da8..e81aa81 100644 (file)
@@ -26,4 +26,4 @@ layer at (0,0) size 800x600
             RenderBR {BR} at (0,0) size 0x0
           RenderText {#text} at (0,0) size 0x0
         RenderText {#text} at (0,0) size 0x0
-caret: position 0 of child 0 {BR} of child 3 {SPAN} of child 1 {SPAN} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 3 {SPAN} of child 1 {SPAN} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 5536ff9..9ac8730 100644 (file)
@@ -54,5 +54,5 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (31,24) size 47x20 [r=1 c=1 rs=1 cs=1]
                 RenderText {#text} at (1,1) size 45x18
                   text run at (1,1) width 45: "buffalo"
-selection start: position 0 of child 1 {TABLE} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
-selection end:   position 2 of child 1 {TABLE} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 1 {TABLE} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 2 of child 1 {TABLE} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 87143cd..1bf985d 100644 (file)
@@ -31,4 +31,4 @@ layer at (24,94) size 752x82 layerType: foreground only
         RenderTableCell (anonymous) at (2,2) size 748x0 [r=0 c=0 rs=1 cs=1]
 layer at (7,79) size 30x30
   RenderImage zI: 1000000 {IMG} at (-17,-15) size 30x30
-caret: position 403 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 403 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8e7e7c1..f99c667 100644 (file)
@@ -31,4 +31,4 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (5,174) size 774x32 [border: (1px solid #000000)]
         RenderBlock {DIV} at (6,6) size 762x20 [border: (1px solid #FF0000)]
           RenderBR {BR} at (1,1) size 0x18
-caret: position 0 of child 0 {BR} of child 0 {DIV} of child 6 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {DIV} of child 6 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c27b3d1..8306834 100644 (file)
@@ -29,4 +29,4 @@ layer at (0,0) size 800x600
           RenderBlock (anonymous) at (11,67) size 714x18
             RenderText {#text} at (0,0) size 30x18
               text run at (0,0) width 30: "Four"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6e333fe..6d7bde2 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
         RenderBlock {PRE} at (0,31) size 784x15
           RenderText {#text} at (0,0) size 24x15
             text run at (0,0) width 24: "baz"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a6dfa82..badefd0 100644 (file)
@@ -26,5 +26,5 @@ layer at (0,0) size 800x600
           RenderText {#text} at (0,0) size 237x18
             text run at (0,0) width 237: "This paragraph should not be in a list."
           RenderBR {BR} at (237,14) size 0x0
-selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 35 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 35 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index e3bd4fc..3f85c54 100644 (file)
@@ -24,5 +24,5 @@ layer at (0,0) size 800x600
           RenderText {#text} at (0,0) size 246x18
             text run at (0,0) width 246: "This paragraph should not be indented."
           RenderBR {BR} at (246,14) size 0x0
-selection start: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 34 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 34 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 9e6e8f5..0b62293 100644 (file)
@@ -23,4 +23,4 @@ layer at (0,0) size 800x600
               RenderListMarker at (-17,0) size 7x18: bullet
               RenderBR {BR} at (0,0) size 0x18
           RenderBlock (anonymous) at (0,34) size 784x0
-caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index e011413..ccf1ddf 100644 (file)
@@ -11,5 +11,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18 [color=#000000]
         RenderText {#text} at (0,0) size 71x18
           text run at (0,0) width 71: "foo bar baz"
-selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 11 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 11 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 896a2dd..8b845d3 100644 (file)
@@ -10,5 +10,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 71x18
           text run at (0,0) width 71: "foo bar baz"
-selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 11 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 11 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 78506f2..9313a21 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 20x18
               text run at (0,0) width 20: "bar"
         RenderBlock (anonymous) at (0,68) size 784x0
-caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 0 {LI} of child 1 {OL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 7e57423..64a6293 100644 (file)
@@ -16,5 +16,5 @@ layer at (0,0) size 800x600
           RenderText {#text} at (0,18) size 20x18
             text run at (0,18) width 20: "bar"
         RenderBlock (anonymous) at (0,36) size 784x0
-selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 2 of child 2 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 1 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 2 of child 2 {#text} of child 0 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0a9fe8b..5a7a231 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
             RenderListMarker at (-17,0) size 7x18: bullet
             RenderText {#text} at (0,0) size 20x18
               text run at (0,0) width 20: "bar"
-caret: position 0 of child 0 {#text} of child 1 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 1 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b37223c..fa0c695 100644 (file)
@@ -11,5 +11,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 53x18
           text run at (0,0) width 53: "dogfood"
-selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 7 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 7 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 19455d5..93f2bdd 100644 (file)
@@ -19,5 +19,5 @@ layer at (0,0) size 800x600
           RenderBR {BR} at (21,14) size 0x0
           RenderBR {BR} at (0,18) size 0x18
           RenderBR {BR} at (0,36) size 0x18
-selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 2 {BR} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 2 {BR} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 1486d3b..fbacac1 100644 (file)
@@ -16,4 +16,4 @@ layer at (0,0) size 800x600
               RenderText {#text} at (0,0) size 21x18
                 text run at (0,0) width 21: "foo"
         RenderBlock (anonymous) at (0,34) size 784x0
-caret: position 3 of child 0 {#text} of child 0 {LI} of child 0 {OL} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 0 {LI} of child 0 {OL} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a089d07..bd9176d 100644 (file)
@@ -11,5 +11,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 239x18
           text run at (0,0) width 239: "This shouldn't be a link or underlined."
-selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 39 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 39 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 9afe623..394ca78 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (0,121) size 784x18
           RenderText {#text} at (0,0) size 22x18
             text run at (0,0) width 22: "baz"
-caret: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8916671..10ea4fc 100644 (file)
@@ -19,5 +19,5 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (0,121) size 784x18
           RenderText {#text} at (0,0) size 22x18
             text run at (0,0) width 22: "baz"
-selection start: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {IMG} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2a02cc6..5e1f921 100644 (file)
@@ -20,4 +20,4 @@ layer at (0,0) size 800x600
                     text run at (1,1) width 88: "ToDo content"
           RenderBlock (anonymous) at (0,24) size 744x0
         RenderBlock (anonymous) at (0,24) size 784x0
-caret: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b213c0f..1779647 100644 (file)
@@ -10,5 +10,5 @@ layer at (0,0) size 800x600
         RenderInline {A} at (0,0) size 136x18 [color=#0000EE]
           RenderText {#text} at (0,0) size 136x18
             text run at (0,0) width 136: "This should be a link."
-selection start: position 0 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 22 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 22 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6438473..817d712 100644 (file)
@@ -23,5 +23,5 @@ layer at (0,0) size 800x600
               RenderText {#text} at (0,0) size 237x18
                 text run at (0,0) width 237: "This should be an unordered list item."
           RenderBlock (anonymous) at (0,70) size 784x0
-selection start: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 38 of child 0 {#text} of child 2 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 38 of child 0 {#text} of child 2 {LI} of child 0 {UL} of child 3 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 110ae86..cdb36ee 100644 (file)
@@ -23,5 +23,5 @@ layer at (0,0) size 800x600
               text run at (0,0) width 15: "W"
           RenderText {#text} at (15,0) size 30x18
             text run at (15,0) width 30: "orld!"
-selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 9ff9b0f..bf14221 100644 (file)
@@ -12,5 +12,5 @@ layer at (0,0) size 800x600
               text run at (336,0) width 400: "This paragraph should be a link and should be inside a list item."
           RenderText {#text} at (0,0) size 0x0
       RenderBlock (anonymous) at (0,34) size 784x0
-selection start: position 0 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 123 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 123 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 0 {UL} of child 1 {BODY} of child 0 {HTML} of document
index 7224b45..91f9e7e 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
           RenderText {#text} at (194,0) size 164x18
             text run at (194,0) width 164: " This sentence should not."
         RenderBlock (anonymous) at (0,36) size 784x0
-caret: position 26 of child 1 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 26 of child 1 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 9f04aa1..0509da6 100644 (file)
@@ -20,5 +20,5 @@ layer at (0,0) size 800x600
                       text run at (2,2) width 21: "foo"
             RenderBlock (anonymous) at (0,46) size 744x0
         RenderBlock (anonymous) at (0,62) size 784x0
-selection start: position 0 of child 0 {TABLE} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {TABLE} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {TABLE} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {TABLE} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fe92424..c107446 100644 (file)
@@ -15,5 +15,5 @@ layer at (0,0) size 800x600
             text run at (322,0) width 145: "http://www.apple.com/"
         RenderText {#text} at (467,0) size 8x18
           text run at (467,0) width 8: "}"
-selection start: position 0 of child 0 {#text} of child 1 {A} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 21 of child 0 {#text} of child 1 {A} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 1 {A} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 21 of child 0 {#text} of child 1 {A} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index de43536..7fb25dc 100644 (file)
@@ -26,5 +26,5 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 30x18
               text run at (0,0) width 30: "Four"
         RenderBlock (anonymous) at (0,88) size 784x0
-selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 4 of child 0 {#text} of child 3 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 4 of child 0 {#text} of child 3 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 93e663e..741d885 100644 (file)
@@ -21,4 +21,4 @@ layer at (0,0) size 800x600
             RenderListMarker at (-17,0) size 7x18: bullet
             RenderText {#text} at (0,0) size 37x18
               text run at (0,0) width 37: "Three"
-caret: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 71a70ec..be3b2fe 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
                     text run at (0,0) width 21: "foo"
                 RenderBlock (anonymous) at (2,20) size 21x18
                   RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 1 {BR} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 1 {BR} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c782dbd..848fa29 100644 (file)
@@ -21,5 +21,5 @@ layer at (0,0) size 800x600
                   RenderBlock (anonymous) at (2,36) size 61x0
         RenderBlock (anonymous) at (0,44) size 784x18
           RenderBR {BR} at (0,0) size 0x18
-selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 0 of child 2 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 0 of child 2 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index ecc8bd6..0d6de44 100644 (file)
@@ -29,5 +29,5 @@ layer at (0,0) size 800x600
                       text run at (2,2) width 30: "Four"
             RenderBlock (anonymous) at (0,52) size 704x0
         RenderBlock (anonymous) at (0,52) size 784x0
-selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {TABLE} of child 0 {BLOCKQUOTE} of child 1 {BLOCKQUOTE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2fbda47..d5bd943 100644 (file)
@@ -38,5 +38,5 @@ layer at (0,0) size 800x600
                     RenderListMarker at (-17,0) size 7x18: bullet
                     RenderBR {BR} at (0,0) size 0x18
                 RenderBlock (anonymous) at (2,36) size 40x0
-selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 0 of child 0 {LI} of child 0 {UL} of child 1 {TD} of child 1 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 0 of child 0 {LI} of child 0 {UL} of child 1 {TD} of child 1 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6cdde1c..2672486 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
           RenderListItem {LI} at (40,36) size 744x18
             RenderListMarker at (-17,0) size 7x18: bullet
             RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 1 {LI} of child 1 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 1 {LI} of child 1 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index da1c527..8da9a04 100644 (file)
@@ -14,5 +14,5 @@ layer at (0,0) size 800x600
           RenderBR {BR} at (21,14) size 0x0
           RenderText {#text} at (0,18) size 20x18
             text run at (0,18) width 20: "bar"
-selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 3 of child 2 {#text} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 3 of child 2 {#text} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 38b1565..b8ecbd0 100644 (file)
@@ -12,4 +12,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,97) size 784x18
           RenderText {#text} at (0,0) size 306x18
             text run at (0,0) width 306: "There should be a single empty H1 block above."
-caret: position 0 of child 0 {BR} of child 3 {H1} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 3 {H1} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2661473..c9b021a 100644 (file)
@@ -15,4 +15,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,115) size 784x18
           RenderText {#text} at (0,0) size 310x18
             text run at (0,0) width 310: "There should be a single empty paragraph above."
-caret: position 0 of child 0 {BR} of child 0 {H1} of child 3 {DIV} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {H1} of child 3 {DIV} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 346f919..c083b01 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
             RenderListMarker at (-17,0) size 7x18: bullet
             RenderBR {BR} at (0,0) size 0x18
         RenderBlock (anonymous) at (0,34) size 784x0
-caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a64dd01..1b326fb 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
           text run at (0,0) width 582: "This tests for a bug where deleting a character inserted with Kotoeri would remove the caret."
       RenderBlock {DIV} at (0,34) size 784x18
         RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 94ccdb1..75d6502 100644 (file)
@@ -20,4 +20,4 @@ layer at (0,0) size 800x600
           text run at (198,0) width 483: " our fathers brought forth on this continent a new nation, conceived in liberty"
           text run at (681,0) width 4: " "
           text run at (0,18) width 392: "and dedicated to the proposition that all men are created equal."
-caret: position 1 of child 1 {IMG} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 1 {IMG} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 07f4067..aab52c6 100644 (file)
@@ -12,4 +12,4 @@ layer at (0,0) size 800x600
         RenderBlock {A} at (0,0) size 784x18 [color=#0000EE]
           RenderText {#text} at (0,0) size 248x18
             text run at (0,0) width 248: "This sentence should all be on one line."
-caret: position 40 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 40 of child 0 {#text} of child 0 {A} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 3a03ed4..181d1ad 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
             RenderListMarker at (-17,0) size 7x18: bullet
             RenderText {#text} at (0,0) size 177x18
               text run at (0,0) width 177: "This should be in a list item."
-caret: position 30 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 30 of child 0 {#text} of child 0 {LI} of child 0 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0cfa5e7..c2ab923 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
         RenderBlock (floating) {DIV} at (0,0) size 293x20 [border: (1px solid #0000FF)]
           RenderText {#text} at (1,1) size 291x18
             text run at (1,1) width 291: "This should be in a floating blue bordered div."
-caret: position 47 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 47 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 048cbb3..5d112cf 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
               RenderText {#text} at (0,0) size 21x18
                 text run at (0,0) width 21: "foo"
       RenderBlock {UL} at (0,68) size 784x0
-caret: position 3 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 1 {UL} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 0 {A} of child 0 {LI} of child 1 {UL} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8fbceae..c554568 100644 (file)
@@ -16,4 +16,4 @@ layer at (8,43) size 129x32 clip at (9,44) size 127x30
         text run at (0,0) width 0: " "
       RenderText {#text} at (0,13) size 0x13
         text run at (0,13) width 0: " "
-caret: position 0 of child 1 {#text} of child 0 {DIV} of child 2 {TEXTAREA} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 1 {#text} of child 0 {DIV} of child 2 {TEXTAREA} of child 1 {BODY} of child 0 {HTML} of document
index aa1c1dc..08fb929 100644 (file)
@@ -15,4 +15,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,36) size 784x18
           RenderText {#text} at (0,0) size 20x18
             text run at (0,0) width 20: "bar"
-caret: position 0 of child 2 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 2 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 598473d..448026d 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,18) size 784x18
           RenderText {#text} at (0,0) size 345x18
             text run at (0,0) width 345: "There should be a single space in the paragraph above."
-caret: position 1 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index af22e24..28a616d 100644 (file)
@@ -15,4 +15,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,36) size 784x18
           RenderText {#text} at (0,0) size 663x18
             text run at (0,0) width 663: "There should be an empty paragraph before this one, and the caret should be at the start of this paragraph."
-caret: position 0 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index d97ffd3..50e6f9f 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           RenderText {#text} at (0,0) size 420x18
             text run at (0,0) width 420: "Everything in this editable region should be in the same paragraph."
           RenderBR {BR} at (420,14) size 0x0
-caret: position 67 of child 0 {#text} of child 0 {A} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 67 of child 0 {#text} of child 0 {A} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 792f8ff..4a83ab8 100644 (file)
@@ -16,4 +16,4 @@ layer at (0,0) size 800x600
               text run at (0,18) width 32: "\x{9}"
           RenderText {#text} at (32,18) size 20x18
             text run at (32,18) width 20: "bar"
-caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 1f3ad22..c9b9a8e 100644 (file)
@@ -16,4 +16,4 @@ layer at (0,0) size 800x600
             text run at (21,0) width 11: "\x{9}"
         RenderBR {BR} at (32,14) size 0x0
         RenderBR {BR} at (0,18) size 0x18
-caret: position 0 of child 3 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 3 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 110d93e..63f6d8b 100644 (file)
@@ -15,4 +15,4 @@ layer at (13,65) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
 layer at (13,88) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 0 of child 2 {INPUT} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 2 {INPUT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0314f5a..3428b49 100644 (file)
@@ -21,4 +21,4 @@ layer at (14,66) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
 layer at (22,89) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 0 of child 3 {#text} of child 0 {FORM} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 3 {#text} of child 0 {FORM} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a5f2737..0c17df5 100644 (file)
@@ -1,4 +1,4 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of HTML > #document to 3 of HTML > #document
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of HTML > #document to 2 of HTML > #document
 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
 EDITING DELEGATE: shouldChangeSelectedDOMRange:range from 0 of BODY > HTML > #document to 0 of BODY > HTML > #document toDOMRange:range from 259 of #text > BODY > HTML > #document to 259 of #text > BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
@@ -26,4 +26,4 @@ layer at (0,0) size 800x600
         RenderText {#text} at (0,0) size 0x0
       RenderBlock {DIV} at (0,54) size 784x18
         RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 845245c..11cdcb5 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           RenderBR {BR} at (1,1) size 0x18
           RenderText {#text} at (1,19) size 21x18
             text run at (1,19) width 21: "foo"
-caret: position 0 of child 1 {#text} of child 0 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 1 {#text} of child 0 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 4e46bd5..fa884f5 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
           text run at (1,1) width 55: " Hello    "
           text run at (1,19) width 44: "World "
       RenderBlock {OL} at (0,106) size 784x0
-caret: position 17 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 17 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index d6f1f84..3763d09 100644 (file)
@@ -81,4 +81,4 @@ layer at (0,0) size 800x600
             text run at (0,0) width 7: "c"
           RenderText {#text} at (0,0) size 0x0
         RenderBlock {P} at (1,35) size 705x0
-caret: position 1 of child 0 {#text} of child 21 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 0 {#text} of child 21 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 014c7ef..040c556 100644 (file)
@@ -18,4 +18,4 @@ layer at (13,13) size 122x13
         text run at (1,0) width 24: "\x{9}"
 layer at (13,36) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {DIV} of child 1 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 0 {#text} of child 0 {SPAN} of child 0 {DIV} of child 1 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
index a0b30c9..96d06e4 100644 (file)
@@ -15,4 +15,4 @@ layer at (0,0) size 800x600
           text run at (167,2) width 4: ":"
 layer at (48,47) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 1 of child 1 {INPUT} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 1 {INPUT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 823fad5..4f38bc1 100644 (file)
@@ -24,5 +24,5 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,22) size 784x18
           RenderBR {BR} at (0,0) size 0x18
       RenderBlock {UL} at (0,108) size 784x0
-selection start: position 0 of child 1 {#text} of child 0 {DIV} of child 0 {SPAN} of child 1 {LI} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 7 of child 1 {#text} of child 0 {DIV} of child 0 {SPAN} of child 1 {LI} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 1 {#text} of child 0 {DIV} of child 0 {SPAN} of child 1 {LI} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 7 of child 1 {#text} of child 0 {DIV} of child 0 {SPAN} of child 1 {LI} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2a9d38e..096173a 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
           RenderBlock (anonymous) at (0,0) size 38x18
             RenderText at (8,2) size 7x13
               text run at (8,2) width 7: "1"
-caret: position 3 of child 1 {SELECT} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 1 {SELECT} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 79a3952..7e2a3e6 100644 (file)
@@ -26,4 +26,4 @@ layer at (0,0) size 800x600
           text run at (54,1) width 4: " "
         RenderText {#text} at (58,1) size 8x18
           text run at (58,1) width 8: "x"
-caret: position 1 of child 3 {#text} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 3 {#text} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 7e36722..2a05f98 100644 (file)
@@ -17,5 +17,5 @@ layer at (0,0) size 800x600
         RenderImage {IMG} at (48,0) size 76x103
         RenderText {#text} at (124,89) size 32x18
           text run at (124,89) width 32: "xxxx"
-selection start: position 0 of child 1 {IMG} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 1 {IMG} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 1 {IMG} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 1 {IMG} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 7e042f5..a84e66e 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
         text run at (0,121) width 358: "several pictures above all in the same line/paragraph."
       RenderText {#text} at (0,0) size 0x0
       RenderText {#text} at (0,0) size 0x0
-caret: position 164 of child 4 {#text} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 164 of child 4 {#text} of child 1 {BODY} of child 0 {HTML} of document
index e3200a8..de493c0 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
               text run at (0,0) width 410: "<input type='button'>foo<br>bar<b>baz</b>"
         RenderBlock (anonymous) at (0,34) size 784x0
           RenderInline {SPAN} at (0,0) size 0x0
-caret: position 41 of child 0 {#text} of child 0 {PRE} of child 0 {SPAN} of child 2 {PRE} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 41 of child 0 {#text} of child 0 {PRE} of child 0 {SPAN} of child 2 {PRE} of child 1 {BODY} of child 0 {HTML} of document
index 121931b..e5d2f57 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
           text run at (0,0) width 31: "hello"
         RenderText {#text} at (31,0) size 37x18
           text run at (31,0) width 37: "world"
-caret: position 5 of child 1 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 5 of child 1 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 02f5146..50fe52d 100644 (file)
@@ -30,4 +30,4 @@ layer at (0,0) size 800x600
           RenderBlock (anonymous) at (0,36) size 784x0
             RenderInline {FONT} at (0,0) size 0x0 [color=#FF0000]
               RenderInline {SPAN} at (0,0) size 0x0 [color=#000000]
-caret: position 24 of child 0 {#text} of child 0 {FONT} of child 1 {DIV} of child 0 {SPAN} of child 0 {FONT} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 24 of child 0 {#text} of child 0 {FONT} of child 1 {DIV} of child 0 {SPAN} of child 0 {FONT} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6f83265..c565caf 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
             RenderText {#text} at (159,0) size 136x18
               text run at (159,0) width 136: "This should be a link."
         RenderBlock (anonymous) at (0,36) size 784x0
-caret: position 22 of child 0 {#text} of child 1 {A} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 22 of child 0 {#text} of child 1 {A} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 62e0287..1574448 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
         RenderInline {A} at (0,0) size 136x18 [color=#0000EE]
           RenderText {#text} at (0,0) size 136x18
             text run at (0,0) width 136: "This should be a link."
-caret: position 22 of child 0 {#text} of child 0 {A} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 22 of child 0 {#text} of child 0 {A} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index e96aad2..389935a 100644 (file)
@@ -18,4 +18,4 @@ layer at (0,0) size 800x600
           RenderInline {SPAN} at (0,0) size 168x18 [color=#FF0000]
             RenderText {#text} at (0,0) size 168x18
               text run at (0,0) width 168: "This should be underlined."
-caret: position 26 of child 0 {#text} of child 0 {SPAN} of child 0 {SPAN} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 26 of child 0 {#text} of child 0 {SPAN} of child 0 {SPAN} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a6c20e9..43c16d5 100644 (file)
@@ -16,4 +16,4 @@ layer at (0,0) size 800x600
               RenderText {#text} at (192,0) size 168x18
                 text run at (192,0) width 168: "This should be underlined."
         RenderBlock (anonymous) at (0,18) size 784x0
-caret: position 30 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 30 of child 0 {#text} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 25bf876..019e52c 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
         RenderInline {SPAN} at (0,0) size 168x18
           RenderText {#text} at (0,0) size 168x18
             text run at (0,0) width 168: "This should be underlined."
-caret: position 26 of child 0 {#text} of child 0 {SPAN} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 26 of child 0 {#text} of child 0 {SPAN} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 1199b08..4450af0 100644 (file)
@@ -21,4 +21,4 @@ layer at (0,0) size 800x600
               RenderText {#text} at (39,0) size 45x18
                 text run at (39,0) width 45: "World!"
         RenderBlock (anonymous) at (0,18) size 784x0
-caret: position 6 of child 0 {#text} of child 0 {DIV} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 6 of child 0 {#text} of child 0 {DIV} of child 1 {SPAN} of child 0 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 83e5818..88f5789 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
                 RenderInline {A} at (0,0) size 136x18 [color=#0000EE]
                   RenderText {#text} at (2,2) size 136x18
                     text run at (2,2) width 136: "This should be a link."
-caret: position 21 of child 0 {#text} of child 0 {A} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 21 of child 0 {#text} of child 0 {A} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 47ac660..4eb93c0 100644 (file)
@@ -16,4 +16,4 @@ layer at (0,0) size 800x600
             text run at (0,0) width 84: "Hello World!"
         RenderBlock {DIV} at (0,36) size 784x18
           RenderBR {BR} at (0,0) size 0x18
-caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 79f53ff..4517879 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
                 RenderText {#text} at (2,2) size 79x18
                   text run at (2,2) width 79: "Hello World"
                   text run at (81,2) width 0: " \x{9}\x{9} \x{9}\x{9}"
-caret: position 11 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 11 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 1 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 4716308..68ff415 100644 (file)
@@ -20,4 +20,4 @@ layer at (0,0) size 800x600
           RenderInline {B} at (0,0) size 393x18
             RenderText {#text} at (0,0) size 393x18
               text run at (0,0) width 393: "This text should bold and left justified with \"Some text...\"."
-caret: position 61 of child 0 {#text} of child 0 {B} of child 2 {DIV} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 61 of child 0 {#text} of child 0 {B} of child 2 {DIV} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index bf99292..0b8a607 100644 (file)
@@ -10,4 +10,4 @@ layer at (0,0) size 800x600
           text run at (8,0) width 21: "foo"
         RenderText {#text} at (29,0) size 8x18
           text run at (29,0) width 8: "x"
-caret: position 3 of child 1 {#text} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 1 {#text} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fc8b312..5568f07 100644 (file)
@@ -23,4 +23,4 @@ layer at (0,0) size 800x600
           RenderBR {BR} at (35,14) size 0x0
           RenderText {#text} at (0,18) size 40x18
             text run at (0,18) width 40: "World"
-caret: position 5 of child 2 {#text} of child 0 {A} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 5 of child 2 {#text} of child 0 {A} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c6fad4c..5acc4c3 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
               text run at (712,1) width 40 RTL: "\x{5E9}\x{5D3}\x{5D2}\x{5DB}:"
               text run at (752,1) width 32: "1234"
           RenderBlock (anonymous) at (0,38) size 784x0
-caret: position 9 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 9 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 50e87aa..2175f99 100644 (file)
@@ -28,4 +28,4 @@ layer at (13,47) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
 layer at (145,47) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 1 of child 1 {INPUT} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 1 {INPUT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 739c043..428bc99 100644 (file)
@@ -36,4 +36,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (3,25) size 774x20 [border: (1px solid #000000)]
           RenderText {#text} at (1,1) size 20x18
             text run at (1,1) width 20: "bar"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b768a7c..b24ded1 100644 (file)
@@ -37,4 +37,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (3,25) size 774x20 [border: (1px solid #000000)]
           RenderText {#text} at (1,1) size 20x18
             text run at (1,1) width 20: "bar"
-caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 1 {DIV} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 006dc0b..efe730f 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (1,29) size 774x0
         RenderBlock {DIV} at (5,29) size 766x20 [border: (1px solid #0000FF)]
           RenderBR {BR} at (1,1) size 0x18
-caret: position 0 of child 0 {BR} of child 1 {DIV} of child 0 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {BR} of child 1 {DIV} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index e2cf65d..05e0e06 100644 (file)
@@ -21,4 +21,4 @@ layer at (0,0) size 800x600
         RenderBlock {BLOCKQUOTE} at (40,0) size 704x20 [border: (1px solid #0000FF)]
           RenderText {#text} at (1,1) size 20x18
             text run at (1,1) width 20: "bar"
-caret: position 3 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 4 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 0 {#text} of child 0 {BLOCKQUOTE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 201b941..7dccf57 100644 (file)
@@ -19,4 +19,4 @@ layer at (0,0) size 800x600
           text run at (35,0) width 4: " "
         RenderText {#text} at (39,0) size 40x18
           text run at (39,0) width 40: "World"
-caret: position 5 of child 2 {#text} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 5 of child 2 {#text} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 0f44415..d2bb1e3 100644 (file)
@@ -27,4 +27,4 @@ layer at (0,0) size 800x600
           RenderText {#text} at (1,1) size 540x18
             text run at (1,1) width 540: "This paragraph and the empty line should have be in their own divs with a red border."
         RenderBlock (anonymous) at (1,65) size 778x0
-caret: position 85 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 85 of child 0 {#text} of child 2 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b594c8e..802c8b5 100644 (file)
@@ -54,4 +54,4 @@ layer at (0,0) size 800x600
           RenderListMarker at (-17,0) size 7x18: bullet
           RenderText {#text} at (0,0) size 43x18
             text run at (0,0) width 43: "Passed"
-caret: position 35 of child 0 {SELECT} of child 4 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 35 of child 0 {SELECT} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 96e5981..fbe2b1c 100644 (file)
@@ -10,4 +10,4 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 298x18
           text run at (0,0) width 298: "This sentence ends with a misspelled word asd."
-caret: position 40 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 40 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c09e16e..d0e79fa 100644 (file)
@@ -17,5 +17,5 @@ layer at (0,0) size 800x600
         RenderInline {SPAN} at (0,0) size 40x18
           RenderText {#text} at (39,0) size 40x18
             text run at (39,0) width 40: "World"
-selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 2 of child 0 {#text} of child 2 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 2 of child 0 {#text} of child 2 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2e644e1..8d52f5b 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
             RenderText at (0,0) size 17x13
               text run at (0,0) width 17: "Bar"
         RenderText {#text} at (0,0) size 0x0
-caret: position 1 of child 2 {INPUT} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 2 {INPUT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index d5c3354..d62e79f 100644 (file)
@@ -15,5 +15,5 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (2,2) size 25x22 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
                 RenderText {#text} at (2,2) size 21x18
                   text run at (2,2) width 21: "foo"
-selection start: position 0 of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c9eeb6b..cb8e614 100644 (file)
@@ -20,4 +20,4 @@ layer at (0,0) size 800x600
             text run at (8,0) width 24: "yyy"
         RenderText {#text} at (32,0) size 8x18
           text run at (32,0) width 8: "x"
-caret: position 0 of child 2 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 2 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 546d704..5ecc41f 100644 (file)
@@ -62,4 +62,4 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,46) size 784x18
           RenderText {#text} at (0,0) size 259x18
             text run at (0,0) width 259: "Click anywhere in this line and move up."
-caret: position 6 of child 0 {#text} of child 1 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 3 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 6 of child 0 {#text} of child 1 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 3 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6c6a410..59b314d 100644 (file)
@@ -19,5 +19,5 @@ layer at (0,0) size 800x600
                 RenderText {#text} at (2,2) size 21x18
                   text run at (2,2) width 21: "foo"
         RenderBlock (anonymous) at (1,29) size 782x0
-selection start: position 0 of child 0 {TABLE} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 3 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {TABLE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 3 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8eec26e..5dac9cd 100644 (file)
@@ -25,4 +25,4 @@ layer at (0,0) size 800x600
           RenderListMarker at (-17,0) size 7x18: bullet
           RenderText {#text} at (0,0) size 50x18
             text run at (0,0) width 50: "Success"
-caret: position 4 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 4 of child 0 {#text} of child 1 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 14bc7e6..661d072 100644 (file)
@@ -22,4 +22,4 @@ layer at (0,0) size 800x600
             text run at (0,0) width 22: "baz"
 layer at (13,101) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-caret: position 0 of child 0 {DIV} of child 1 {INPUT} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {DIV} of child 1 {INPUT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b8fd447..a15ae36 100644 (file)
@@ -20,5 +20,5 @@ layer at (0,0) size 800x600
                   text run at (2,2) width 49: "editable"
         RenderBlock (anonymous) at (1,29) size 782x0
       RenderBlock {UL} at (0,118) size 784x0
-selection start: position 0 of child 0 {TABLE} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 8 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {TABLE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 8 of child 0 {#text} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 0 {TABLE} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 452dc49..87077a5 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
         RenderImage {IMG} at (128,0) size 76x103
         RenderText {#text} at (204,89) size 206x18
           text run at (204,89) width 206: "at the beginning of this sentence."
-caret: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 2e98471..21283c0 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
         RenderImage {IMG} at (25,0) size 76x103
         RenderText {#text} at (101,89) size 365x18
           text run at (101,89) width 365: "caret should be just after the second word in this sentence."
-caret: position 5 of child 2 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 5 of child 2 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b0ebc4e..478a4dc 100644 (file)
@@ -17,4 +17,4 @@ layer at (0,0) size 800x600
         RenderImage {IMG} at (385,0) size 76x103
         RenderText {#text} at (461,89) size 58x18
           text run at (461,89) width 58: "sentence."
-caret: position 59 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 59 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c73ce87..a21521c 100644 (file)
@@ -31,5 +31,5 @@ layer at (0,0) size 800x600
           text run at (0,0) width 185: "The quick brown fox jumped"
           text run at (185,0) width 4: " "
           text run at (0,18) width 158: "over the lazy brown dog."
-selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 51 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 51 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 63d547d..ae90278 100644 (file)
@@ -10,4 +10,4 @@ layer at (0,0) size 800x600
           text run at (363,18) width 407: "For example, set the caret inside of an editable div, and make the"
           text run at (0,36) width 492: "div invisible, then try to move the selection forward/backward by a paragraph."
       RenderBlock {DIV} at (0,70) size 784x18
-caret: position 0 of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index f376938..8171c37 100644 (file)
@@ -22,5 +22,5 @@ layer at (13,65) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
     RenderText {#text} at (1,0) size 18x13
       text run at (1,0) width 18: "foo"
-selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 3 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 3 of child 0 {#text} of child 0 {DIV} of child 3 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
index cf529ab..f658a53 100644 (file)
@@ -12,5 +12,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,36) size 784x18
         RenderText {#text} at (0,0) size 21x18
           text run at (0,0) width 21: "foo"
-selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 3 of child 0 {#text} of child 3 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 3 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b563142..aa4cae0 100644 (file)
@@ -21,4 +21,4 @@ layer at (0,0) size 800x600
         RenderText {#text} at (0,54) size 24x18
           text run at (0,54) width 24: "xxx"
         RenderBR {BR} at (24,68) size 0x0
-caret: position 3 of child 6 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 6 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 28a2fe7..e16cf1c 100644 (file)
@@ -21,4 +21,4 @@ layer at (0,0) size 800x600
         RenderText {#text} at (0,54) size 24x18
           text run at (0,54) width 24: "xxx"
         RenderBR {BR} at (24,68) size 0x0
-caret: position 2 of child 6 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 2 of child 6 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 8ebb4fb..10f8437 100644 (file)
@@ -26,5 +26,5 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,28) size 784x18
           RenderText {#text} at (0,0) size 20x18
             text run at (0,0) width 20: "bar"
-selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 0 of child 3 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 0 of child 3 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 65e6631..053756a 100644 (file)
@@ -26,5 +26,5 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,28) size 784x18
           RenderText {#text} at (0,0) size 20x18
             text run at (0,0) width 20: "bar"
-selection start: position 3 of child 0 {#text} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 0 of child 3 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 3 of child 0 {#text} of child 0 {SPAN} of child 0 {TD} of child 0 {TR} of child 0 {TBODY} of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 0 of child 3 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 66642bd..b78c020 100644 (file)
@@ -20,4 +20,4 @@ layer at (0,0) size 800x600
       RenderBlock {P} at (0,112) size 784x18
         RenderText {#text} at (0,0) size 563x18
           text run at (0,0) width 563: "In the above editable region, you should see 'foo' in the bordered table and 'bar' outside it."
-caret: position 3 of child 1 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 3 of child 1 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index df829b7..599d36f 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (2,2) size 23x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {#text} at (1,1) size 21x18
                   text run at (1,1) width 21: "foo"
-caret: position 0 of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index a94736c..e4ffe5b 100644 (file)
@@ -13,4 +13,4 @@ layer at (0,0) size 800x600
               RenderTableCell {TD} at (2,2) size 23x20 [r=0 c=0 rs=1 cs=1]
                 RenderText {#text} at (1,1) size 21x18
                   text run at (1,1) width 21: "foo"
-caret: position 1 of child 0 {TABLE} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 0 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 5fe9eea..43c44a9 100644 (file)
@@ -11,4 +11,4 @@ layer at (0,0) size 800x600
           text run at (251,18) width 532: "The expected behavior is to create a selection at [body, 0]. There should be a caret at"
           text run at (783,18) width 1: " "
           text run at (0,36) width 163: "the start of this paragraph."
-caret: position 0 of child 0 {#text} of child 1 {P} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 1 {P} of child 1 {BODY} of child 0 {HTML} of document
index 49f8d59..48263d9 100644 (file)
@@ -9,4 +9,4 @@ layer at (0,0) size 800x600
           text run at (512,0) width 251: "You should see a caret at the start of the"
           text run at (763,0) width 4: " "
           text run at (0,18) width 36: "body."
-caret: position 0 of child 0 {#text} of child 1 {P} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {#text} of child 1 {P} of child 1 {BODY} of child 0 {HTML} of document
index 1b42925..910b6d0 100644 (file)
@@ -15,5 +15,5 @@ layer at (0,0) size 800x600
             text run at (8,0) width 16: "xx"
         RenderText {#text} at (24,0) size 8x18
           text run at (24,0) width 8: "x"
-selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 2 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 2 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index b5de424..c403ad3 100644 (file)
@@ -14,5 +14,5 @@ layer at (0,0) size 800x600
             text run at (29,0) width 44: "second"
         RenderText {#text} at (73,0) size 260x18
           text run at (73,0) width 260: " word in this sentence should be selected."
-selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 6 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 6 of child 0 {#text} of child 1 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index d514318..b5a5891 100644 (file)
@@ -26,5 +26,5 @@ layer at (13,201) size 176x13 scrollWidth 183
   RenderBlock {DIV} at (3,3) size 176x13
     RenderText {#text} at (1,0) size 181x13
       text run at (1,0) width 181: "This text field should be focused."
-selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 5 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 34 of child 0 {#text} of child 0 {DIV} of child 5 {INPUT} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of child 5 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 34 of child 0 {#text} of child 0 {DIV} of child 5 {INPUT} of child 1 {BODY} of child 0 {HTML} of document
index ec59e66..d9d6ff8 100644 (file)
@@ -14,5 +14,5 @@ layer at (0,0) size 800x600
           RenderListMarker at (-17,0) size 7x18: bullet
           RenderText {#text} at (0,0) size 50x18
             text run at (0,0) width 50: "Success"
-selection start: position 3 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 9 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 3 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 9 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 485c9a0..614bf47 100644 (file)
@@ -21,5 +21,5 @@ layer at (0,0) size 800x600
         RenderText {#text} at (0,0) size 355x18
           text run at (0,0) width 355: "There should be five characters selected in this sentence."
       RenderBlock {UL} at (0,68) size 784x0
-selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 2 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 2 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 36575e0..064017e 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
           text run at (0,18) width 719: "netus et malesuada fames ac turpis egestas. Mauris ut pede. Integer lacus. Ut ipsum. Phasellus tristique leo eu velit."
           text run at (719,18) width 4: " "
           text run at (0,36) width 655: "Vestibulum arcu lacus, blandit ac, condimentum sed, commodo in, arcu. Curabitur suscipit pede eu sem."
-caret: position 72 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 72 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fec495e..1e291e4 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
           text run at (0,18) width 719: "netus et malesuada fames ac turpis egestas. Mauris ut pede. Integer lacus. Ut ipsum. Phasellus tristique leo eu velit."
           text run at (719,18) width 4: " "
           text run at (0,36) width 655: "Vestibulum arcu lacus, blandit ac, condimentum sed, commodo in, arcu. Curabitur suscipit pede eu sem."
-caret: position 241 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 241 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 6f5a543..a0be057 100644 (file)
@@ -18,5 +18,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,92) size 784x18
         RenderText {#text} at (0,0) size 178x18
           text run at (0,0) width 178: "This text should be selected."
-selection start: position 0 of child 0 {#text} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 29 of child 0 {#text} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 29 of child 0 {#text} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index aecdf32..a331132 100644 (file)
@@ -12,5 +12,5 @@ layer at (0,0) size 800x600
         RenderInline {SPAN} at (0,0) size 32x18
           RenderText {#text} at (48,0) size 32x18
             text run at (48,0) width 32: "6789"
-selection start: position 0 of child 1 {#text} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 2 of child 1 {#text} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 1 {#text} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 2 of child 1 {#text} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fb47f3f..9334e41 100644 (file)
@@ -15,5 +15,5 @@ layer at (0,0) size 800x600
               text run at (0,0) width 254: "The paragraph break should be selected."
         RenderBlock (anonymous) at (0,18) size 784x18
           RenderBR {BR} at (0,0) size 0x18
-selection start: position 39 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 0 of child 3 {BR} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 39 of child 0 {#text} of child 0 {SPAN} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 0 of child 3 {BR} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 449f964..63efe51 100644 (file)
@@ -12,5 +12,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,52) size 784x18
         RenderText {#text} at (0,0) size 72x18
           text run at (0,0) width 72: "123456789"
-selection start: position 2 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 6 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 2 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 6 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 755658c..1617669 100644 (file)
@@ -10,4 +10,4 @@ layer at (0,0) size 800x600
               text run at (8,2) width 22: "One"
         RenderText {#text} at (94,38) size 26x18
           text run at (94,38) width 26: "blaa"
-caret: position 0 of child 0 {SELECT} of child 0 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 0 {SELECT} of child 0 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 67b2e10..6b61d1c 100644 (file)
@@ -25,5 +25,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,169) size 784x83 [bgcolor=#FFFFCC]
         RenderText {#text} at (0,0) size 68x83
           text run at (0,0) width 68: "W"
-selection start: position 0 of child 0 {#text} of child 6 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 0 {#text} of child 6 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 6 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 0 {#text} of child 6 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index c435154..66af6b6 100644 (file)
@@ -17,5 +17,5 @@ layer at (0,0) size 800x600
       RenderBlock {UL} at (0,73) size 784x0
 layer at (81,47) size 122x13
   RenderBlock {DIV} at (3,3) size 122x13
-selection start: position 5 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 1 of child 1 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 5 of child 0 {#text} of child 0 {SPAN} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 1 of child 1 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fb0ef57..cb852eb 100644 (file)
@@ -1,4 +1,4 @@
-EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of HTML > #document to 3 of HTML > #document
+EDITING DELEGATE: shouldBeginEditingInDOMRange:range from 0 of HTML > #document to 2 of HTML > #document
 EDITING DELEGATE: webViewDidBeginEditing:WebViewDidBeginEditingNotification
 EDITING DELEGATE: shouldChangeSelectedDOMRange:(null) toDOMRange:range from 0 of BODY > HTML > #document to 0 of BODY > HTML > #document affinity:NSSelectionAffinityDownstream stillSelecting:FALSE
 EDITING DELEGATE: webViewDidChangeSelection:WebViewDidChangeSelectionNotification
@@ -27,4 +27,4 @@ layer at (0,0) size 800x600
         text run at (520,18) width 253: "This test also does some editing to make"
         text run at (773,18) width 4: " "
         text run at (0,36) width 173: "sure it happens in the body."
-caret: position 153 of child 3 {#text} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 153 of child 3 {#text} of child 1 {BODY} of child 0 {HTML} of document
index 3021688..78f7d15 100644 (file)
@@ -14,5 +14,5 @@ layer at (0,0) size 800x600
       RenderBlock {DIV} at (0,34) size 784x18
         RenderText {#text} at (0,0) size 80x18
           text run at (0,0) width 80: "Selected text"
-selection start: position 5 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 18 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 5 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 18 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 7c31a35..47ccc3b 100644 (file)
@@ -32,5 +32,5 @@ layer at (0,0) size 800x600
           RenderText {#text} at (46,31) size 38x18
             text run at (46,31) width 38: "ipsum"
         RenderText {#text} at (0,0) size 0x0
-selection start: position 2 of child 0 {#text} of child 1 {SPAN} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 4 of child 2 {#text} of child 1 {SPAN} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 2 of child 0 {#text} of child 1 {SPAN} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 4 of child 2 {#text} of child 1 {SPAN} of child 4 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index f134390..106d69c 100644 (file)
@@ -24,5 +24,5 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,36) size 784x18
           RenderText {#text} at (0,0) size 30x18
             text run at (0,0) width 30: "Four"
-selection start: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 4 of child 0 {#text} of child 5 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 4 of child 0 {#text} of child 5 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 9f0cb93..24179e6 100644 (file)
@@ -24,5 +24,5 @@ layer at (0,0) size 800x600
         RenderBlock {DIV} at (0,36) size 784x18
           RenderText {#text} at (0,0) size 30x18
             text run at (0,0) width 30: "Four"
-selection start: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 5 of child 0 {#text} of child 2 {SPAN} of child 3 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+selection start: position 0 of child 0 {#text} of child 1 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 5 of child 0 {#text} of child 2 {SPAN} of child 3 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index fc0978f..b6e811c 100644 (file)
@@ -27,4 +27,4 @@ layer at (0,0) size 800x600
             text run at (0,0) width 86: "This is a test. "
             text run at (86,0) width 94: "How are you? "
             text run at (180,0) width 85: "Life is sweet!"
-caret: position 30 of child 0 {#text} of child 9 {DIV} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 30 of child 0 {#text} of child 9 {DIV} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 188f2f0..7a4b11e 100644 (file)
@@ -10,5 +10,6 @@ layer at (0,0) size 800x600
         text run at (0,0) width 745: "VisiblePositions created at [html, x] where html is non-editable should descend into an editable body, for convenience."
         text run at (0,18) width 273: "Everything on this page should be selected."
       RenderText {#text} at (0,0) size 0x0
-selection start: position 0 of child 0 {#text} of child 0 {BODY} of child 0 {HTML} of document
-selection end:   position 164 of child 0 {#text} of child 0 {BODY} of child 0 {HTML} of document
+      RenderText {#text} at (0,0) size 0x0
+selection start: position 0 of child 0 {#text} of child 1 {BODY} of child 0 {HTML} of document
+selection end:   position 164 of child 0 {#text} of child 1 {BODY} of child 0 {HTML} of document
index de52233..aa0e071 100644 (file)
@@ -30,4 +30,4 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (0,94) size 784x18
           RenderText {#text} at (0,0) size 22x18
             text run at (0,0) width 22: "baz"
-caret: position 0 of child 1 {TABLE} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 0 of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 188a479..de2def7 100644 (file)
@@ -30,4 +30,4 @@ layer at (0,0) size 800x600
         RenderBlock (anonymous) at (0,94) size 784x18
           RenderText {#text} at (0,0) size 22x18
             text run at (0,0) width 22: "baz"
-caret: position 1 of child 1 {TABLE} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 45f10bb..14bc76d 100644 (file)
@@ -28,4 +28,4 @@ layer at (0,0) size 800x600
                   text run at (2,2) width 41: "a table"
         RenderText {#text} at (72,62) size 22x18
           text run at (72,62) width 22: "baz"
-caret: position 1 of child 1 {TABLE} of child 2 {DIV} of child 2 {BODY} of child 0 {HTML} of document
+caret: position 1 of child 1 {TABLE} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
index 59bc774..186b6ea 100644 (file)
@@ -14,4 +14,4 @@ layer at (0,0) size 800x600
           text run at (8,1) width 4: " "
         RenderText {#text} at (1,19) size 344x18
           text run at (1,19) width 344: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
-caret: position 2 of child 0 {#text} of child 2 {DIV} of child 0 {BODY} of child 0 {HTML} of document
+caret: position 2 of child 0 {#text} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document