Unreviewed, rolling out r147942, r148026, and r148092.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Apr 2013 18:06:35 +0000 (18:06 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Apr 2013 18:06:35 +0000 (18:06 +0000)
commit9e974619cfabb37a49ad9bd16f14c6d443bf0d81
treed85c9e2a6c81e1df73bf8b8dafe8f19290018f38
parent18003a8f23f282225aabcd5d5d19b8d090f6273e
Unreviewed, rolling out r147942, r148026, and r148092.
http://trac.webkit.org/changeset/147942
http://trac.webkit.org/changeset/148026
http://trac.webkit.org/changeset/148092
https://bugs.webkit.org/show_bug.cgi?id=114521

"r147942 is buggy. Rollback all the patches depending on it."
(Requested by abucur on #webkit).

Source/WebCore:

* dom/ContainerNode.cpp:
(WebCore::willRemoveChildren):
(WebCore):
(WebCore::ContainerNode::removeChildren):
* dom/Document.cpp:
(WebCore::Document::nodeChildrenWillBeRemoved):
(WebCore):
* dom/Document.h:
(Document):
* dom/Node.cpp:
* dom/Node.h:
(Node):
* dom/NodeTraversal.cpp:
* dom/NodeTraversal.h:
(ElementTraversal):
(NodeTraversal):
* dom/Range.cpp:
(WebCore::boundaryNodeChildrenWillBeRemoved):
(WebCore):
(WebCore::Range::nodeChildrenWillBeRemoved):
* dom/Range.h:
* html/HTMLLIElement.cpp:
(WebCore::HTMLLIElement::attach):
* html/HTMLOListElement.cpp:
(WebCore::HTMLOListElement::updateItemValues):
(WebCore::HTMLOListElement::recalculateItemCount):
* rendering/RenderCounter.cpp:
(WebCore::previousInPreOrder):
(WebCore::previousSiblingOrParent):
(WebCore::parentElement):
(WebCore::nextInPreOrder):
* rendering/RenderListItem.cpp:
(WebCore::enclosingList):
(WebCore::RenderListItem::nextListItem):
(WebCore::previousListItem):
(WebCore::RenderListItem::calcValue):
(WebCore::RenderListItem::explicitValueChanged):
(WebCore::previousOrNextItem):
(WebCore::RenderListItem::updateListMarkerNumbers):
* rendering/RenderListItem.h:
(RenderListItem):

LayoutTests:

* fast/dom/MutationObserver/added-out-of-order-expected.txt:
* fast/dom/MutationObserver/added-out-of-order.html:
* fast/dom/Range/range-remove-children-event-expected.txt: Removed.
* fast/dom/Range/range-remove-children-event.html: Removed.
* fast/dom/containerNode-expected.txt: Added.
* fast/dom/containerNode.html: Added.
* fast/dom/shadow/shadow-and-list-elements-expected.html:
* fast/events/mutation-during-innerHTML-expected.txt: Removed.
* fast/events/mutation-during-innerHTML.html: Removed.
* fast/lists/positioned-count-crash-expected.txt:
* fast/regions/counters/extract-list-items-001-expected.html: Removed.
* fast/regions/counters/extract-list-items-001.html: Removed.
* fast/regions/counters/extract-list-items-002-expected.html: Removed.
* fast/regions/counters/extract-list-items-002.html: Removed.
* fast/regions/counters/extract-list-items-003-expected.html: Removed.
* fast/regions/counters/extract-list-items-003.html: Removed.
* fast/regions/counters/extract-list-items-004-expected.html: Removed.
* fast/regions/counters/extract-list-items-004.html: Removed.
* fast/regions/counters/extract-list-items-005-expected.html: Removed.
* fast/regions/counters/extract-list-items-005.html: Removed.
* fast/regions/counters/extract-list-items-006-expected.html: Removed.
* fast/regions/counters/extract-list-items-006.html: Removed.
* fast/regions/counters/extract-list-items-007-expected.html: Removed.
* fast/regions/counters/extract-list-items-007.html: Removed.
* fast/regions/counters/extract-list-items-008-expected.html: Removed.
* fast/regions/counters/extract-list-items-008.html: Removed.
* fast/regions/counters/extract-list-items-009-expected.html: Removed.
* fast/regions/counters/extract-list-items-009.html: Removed.
* fast/regions/counters/extract-list-items-010-expected.html: Removed.
* fast/regions/counters/extract-list-items-010.html: Removed.
* fast/regions/counters/extract-list-items-011-expected.html: Removed.
* fast/regions/counters/extract-list-items-011.html: Removed.
* fast/regions/counters/extract-list-items-012-expected.html: Removed.
* fast/regions/counters/extract-list-items-012.html: Removed.
* fast/regions/counters/extract-list-items-013-expected.html: Removed.
* fast/regions/counters/extract-list-items-013.html: Removed.
* fast/regions/counters/extract-list-items-014-expected.html: Removed.
* fast/regions/counters/extract-list-items-014.html: Removed.
* fast/regions/counters/extract-list-items-015-expected.html: Removed.
* fast/regions/counters/extract-list-items-015.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs-divs-001-expected.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs-divs-001.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs-divs-002-expected.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs-divs-002.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs-expected.html: Removed.
* fast/regions/counters/extract-numbered-paragraphs.html: Removed.
* fast/regions/counters/extract-numbered-spans-display-only-some-expected.html: Removed.
* fast/regions/counters/extract-numbered-spans-display-only-some.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-001-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-001.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-002-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-002.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-003-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-003.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-001-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-001.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-002-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-002.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-003-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-003.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-004-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-004.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-005-expected.html: Removed.
* fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-005.html: Removed.
* fast/regions/counters/extract-unordered-lists-in-regions-expected.html: Removed.
* fast/regions/counters/extract-unordered-lists-in-regions.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@148289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
82 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/MutationObserver/added-out-of-order-expected.txt
LayoutTests/fast/dom/MutationObserver/added-out-of-order.html
LayoutTests/fast/dom/Range/range-remove-children-event-expected.txt [deleted file]
LayoutTests/fast/dom/Range/range-remove-children-event.html [deleted file]
LayoutTests/fast/dom/containerNode-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/containerNode.html [new file with mode: 0644]
LayoutTests/fast/dom/shadow/shadow-and-list-elements-expected.html
LayoutTests/fast/events/mutation-during-innerHTML-expected.txt [deleted file]
LayoutTests/fast/events/mutation-during-innerHTML.html [deleted file]
LayoutTests/fast/lists/positioned-count-crash-expected.txt
LayoutTests/fast/regions/counters/extract-list-items-001-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-001.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-002-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-002.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-003-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-003.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-004-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-004.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-005-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-005.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-006-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-006.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-007-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-007.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-008-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-008.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-009-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-009.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-010-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-010.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-011-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-011.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-012-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-012.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-013-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-013.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-014-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-014.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-015-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-list-items-015.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs-divs-001-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs-divs-001.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs-divs-002-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs-divs-002.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-paragraphs.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-spans-display-only-some-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-numbered-spans-display-only-some.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-001-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-001.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-002-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-002.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-003-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-003.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-001-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-001.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-002-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-002.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-003-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-003.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-004-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-004.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-005-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-ordered-lists-in-regions-explicit-counters-005.html [deleted file]
LayoutTests/fast/regions/counters/extract-unordered-lists-in-regions-expected.html [deleted file]
LayoutTests/fast/regions/counters/extract-unordered-lists-in-regions.html [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/dom/ContainerNode.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h
Source/WebCore/dom/Node.cpp
Source/WebCore/dom/Node.h
Source/WebCore/dom/NodeTraversal.cpp
Source/WebCore/dom/NodeTraversal.h
Source/WebCore/dom/Range.cpp
Source/WebCore/dom/Range.h
Source/WebCore/html/HTMLLIElement.cpp
Source/WebCore/html/HTMLOListElement.cpp
Source/WebCore/rendering/RenderCounter.cpp
Source/WebCore/rendering/RenderListItem.cpp
Source/WebCore/rendering/RenderListItem.h