[CSS Regions] Activate all regions to have layers, as CSS Regions create a new stacki...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Oct 2013 13:07:34 +0000 (13:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Oct 2013 13:07:34 +0000 (13:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=121828

Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-10-02
Reviewed by Darin Adler.

Source/WebCore:

The CSS Regions specification says "CSS Regions create a new stacking context." (http://dev.w3.org/csswg/css-regions/).

Divs that create stacking contexts are painted after the divs that don't create stacking contexts.

Test: fast/regions/layers/stacking-context-paint-order.html: While the existing region-sibling-paint-order.html
test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
verifies that regions paint correctly when the next sibling doesn't create a stacking context.

* rendering/RenderBlock.cpp: Remove code that is not needed now that all regions have layers.
* rendering/RenderBlock.h: Remove code that is not needed now that all regions have layers.
* rendering/RenderBox.cpp: Remove code that is not needed now that all regions have layers.
* rendering/RenderBox.h: Remove code that is not needed now that all regions have layers.
* rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::updateLayerToRegionMappings): Remove code that is not needed now that all regions have layers.
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::RenderRegion):
* rendering/RenderRegion.h:
(WebCore::RenderRegion::requiresLayer): Always. CSS Regions create Stacking Contexts. RenderMultiColumnSet
implements its own behaviour so the behaviour of each class is contained within its own files.
* rendering/RenderMultiColumnSet.h:
(WebCore::RenderMultiColumnSet::requiresLayer): RenderMultiColumnSet derives from RenderRegion, but unlike the
CSS Regions specification, the Multi-Columns CSS specification states that the column boxes do not establish new
Stacking Contexts.
* rendering/RenderTreeAsText.cpp:
(WebCore::writeRenderRegionList): There's no need to output " hasLayer" since all regions now have layers.

LayoutTests:

For the ref tests, the divs in the expected results coresponding to the regions now have a CSS style causing
them to also create Stacking Contexts.

Most of the tests in fast/regions/layers/ have been deleted because they aren't relevant anymore.

The change in most of the *-expected.txt files is that the " hasLayer" part has been removed (since all regions
now have layers).

Platform (efl, efl-wk2, gtk, mac-lion, mac-wk2, qt, qt-wk2) specific expectated results need to be generated again.

* fast/regions/autoheight-regions-mark-expected.txt:
* fast/regions/flow-content-basic-expected.html: Added. The test is now a ref test.
* fast/regions/flow-content-basic-vertical-expected.html: Added. The test is now a ref test.
* fast/regions/flow-content-basic-vertical-rl-expected.html: Added.The test is now a ref test.
* fast/regions/flow-content-basic-vertical-rl.html:
* fast/regions/flow-content-basic-vertical.html:
* fast/regions/flow-content-basic.html:
* fast/regions/flows-dependency-dynamic-remove-expected.txt:
* fast/regions/flows-dependency-same-flow-expected.txt:
* fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png: Removed.
* fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt: Removed.
* fast/regions/layers/dynamic-layer-added-with-no-layout.html: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt: Removed.
* fast/regions/layers/dynamic-layer-removed-with-no-layout.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-lr.html: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt: Removed.
* fast/regions/layers/regions-promoted-to-layers-vertical-rl.html: Removed.
* fast/regions/layers/regions-promoted-to-layers.html: Removed.
* fast/regions/layers/stacking-context-paint-order-expected.html: Added.
* fast/regions/layers/stacking-context-paint-order.html: Added. While the existing region-sibling-paint-order.html
test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
verifies that regions paint correctly when the next sibling doesn't create a stacking context.
* fast/regions/region-sibling-paint-order-expected.html:
* fast/regions/region-sibling-paint-order.html:
* fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* fast/repaint/region-painting-composited-element-expected.html:
* fast/repaint/region-painting-in-composited-view-expected.html:
* fast/repaint/region-painting-in-composited-view.html:
* fast/repaint/region-painting-via-layout-expected.txt:
* platform/efl-wk2/TestExpectations:
* platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/efl/TestExpectations:
* platform/efl/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/efl/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-expected.png: Removed. The test is now a ref test.
* platform/efl/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/efl/fast/regions/region-dynamic-after-before-expected.txt:
* platform/efl/fast/regions/region-generated-content-before-after-expected.txt:
* platform/efl/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/efl/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/efl/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/efl/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/efl/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/gtk/TestExpectations:
* platform/gtk/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/gtk/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/gtk/fast/regions/region-dynamic-after-before-expected.txt:
* platform/gtk/fast/regions/region-generated-content-before-after-expected.txt:
* platform/gtk/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/gtk/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/gtk/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/gtk/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/gtk/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/mac-lion/TestExpectations:
* platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
* platform/mac-wk2/TestExpectations:
* platform/mac/fast/regions/flow-content-basic-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/mac/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt:
* platform/mac/fast/regions/region-dynamic-after-before-expected.txt:
* platform/mac/fast/regions/region-generated-content-before-after-expected.txt:
* platform/mac/fast/regions/text-region-split-small-pagination-expected.txt:
* platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt:
* platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
* platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/mac/fast/repaint/region-painting-invalidation-expected.txt:
* platform/qt-wk2/TestExpectations:
* platform/qt-wk2/fast/regions/flow-content-basic-expected.png: Removed.
* platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/qt/TestExpectations:
* platform/qt/fast/regions/autoheight-regions-mark-expected.png: Removed.
* platform/qt/fast/regions/autoheight-regions-mark-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
* platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
* platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
* platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
* platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
* platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
* platform/qt/fast/regions/text-region-split-small-pagination-expected.png: Removed.
* platform/qt/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
* platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
* platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
* platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/qt/fast/repaint/region-painting-invalidation-expected.png: Removed.
* platform/qt/fast/repaint/region-painting-invalidation-expected.txt: Removed.
* platform/qt/fast/repaint/region-painting-via-layout-expected.png: Removed.
* platform/qt/fast/repaint/region-painting-via-layout-expected.txt: Removed.
* platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
* platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.

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

156 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/regions/autoheight-regions-mark-expected.txt
LayoutTests/fast/regions/flow-content-basic-expected.html [new file with mode: 0644]
LayoutTests/fast/regions/flow-content-basic-vertical-expected.html [new file with mode: 0644]
LayoutTests/fast/regions/flow-content-basic-vertical-rl-expected.html [new file with mode: 0644]
LayoutTests/fast/regions/flow-content-basic-vertical-rl.html
LayoutTests/fast/regions/flow-content-basic-vertical.html
LayoutTests/fast/regions/flow-content-basic.html
LayoutTests/fast/regions/flows-dependency-dynamic-remove-expected.txt
LayoutTests/fast/regions/flows-dependency-same-flow-expected.txt
LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png [deleted file]
LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt [deleted file]
LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout.html [deleted file]
LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png [deleted file]
LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt [deleted file]
LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout.html [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.png [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.txt [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr.html [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl.html [deleted file]
LayoutTests/fast/regions/layers/regions-promoted-to-layers.html [deleted file]
LayoutTests/fast/regions/layers/stacking-context-paint-order-expected.html [new file with mode: 0644]
LayoutTests/fast/regions/layers/stacking-context-paint-order.html [new file with mode: 0644]
LayoutTests/fast/regions/region-sibling-paint-order-expected.html
LayoutTests/fast/regions/region-sibling-paint-order.html
LayoutTests/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt
LayoutTests/fast/repaint/region-painting-composited-element-expected.html
LayoutTests/fast/repaint/region-painting-in-composited-view-expected.html
LayoutTests/fast/repaint/region-painting-in-composited-view.html
LayoutTests/fast/repaint/region-painting-via-layout-expected.txt
LayoutTests/platform/efl-wk2/TestExpectations
LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt [deleted file]
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/region-dynamic-after-before-expected.txt
LayoutTests/platform/efl/fast/regions/region-generated-content-before-after-expected.txt
LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt [deleted file]
LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.png [deleted file]
LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt [deleted file]
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/region-dynamic-after-before-expected.txt
LayoutTests/platform/gtk/fast/regions/region-generated-content-before-after-expected.txt
LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png [deleted file]
LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.txt
LayoutTests/platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt
LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.txt [deleted file]
LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.png [deleted file]
LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.txt [deleted file]
LayoutTests/platform/mac-lion/TestExpectations
LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt [deleted file]
LayoutTests/platform/mac-wk2/TestExpectations
LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt
LayoutTests/platform/mac/fast/regions/region-dynamic-after-before-expected.txt
LayoutTests/platform/mac/fast/regions/region-generated-content-before-after-expected.txt
LayoutTests/platform/mac/fast/regions/text-region-split-small-pagination-expected.txt
LayoutTests/platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt
LayoutTests/platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
LayoutTests/platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt
LayoutTests/platform/mac/fast/repaint/region-painting-invalidation-expected.txt
LayoutTests/platform/qt-wk2/TestExpectations
LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png [deleted file]
LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt [deleted file]
LayoutTests/platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png [deleted file]
LayoutTests/platform/qt/TestExpectations
LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.txt [deleted file]
LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png [deleted file]
LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt [deleted file]
LayoutTests/platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.txt
LayoutTests/platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt
LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.png [deleted file]
LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.txt [deleted file]
LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.png [deleted file]
LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.txt [deleted file]
LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png [deleted file]
LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt [deleted file]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderBlock.cpp
Source/WebCore/rendering/RenderBlock.h
Source/WebCore/rendering/RenderBox.cpp
Source/WebCore/rendering/RenderBox.h
Source/WebCore/rendering/RenderFlowThread.cpp
Source/WebCore/rendering/RenderMultiColumnSet.h
Source/WebCore/rendering/RenderRegion.cpp
Source/WebCore/rendering/RenderRegion.h
Source/WebCore/rendering/RenderTreeAsText.cpp

index 93e5738..b9fc5b0 100644 (file)
@@ -1,3 +1,168 @@
+2013-10-02  Mihai Maerean  <mmaerean@adobe.com>
+
+        [CSS Regions] Activate all regions to have layers, as CSS Regions create a new stacking context
+        https://bugs.webkit.org/show_bug.cgi?id=121828
+
+        Reviewed by Darin Adler.
+
+        For the ref tests, the divs in the expected results coresponding to the regions now have a CSS style causing
+        them to also create Stacking Contexts.
+
+        Most of the tests in fast/regions/layers/ have been deleted because they aren't relevant anymore.
+
+        The change in most of the *-expected.txt files is that the " hasLayer" part has been removed (since all regions
+        now have layers).
+        
+        Platform (efl, efl-wk2, gtk, mac-lion, mac-wk2, qt, qt-wk2) specific expectated results need to be generated again.
+
+        * fast/regions/autoheight-regions-mark-expected.txt:
+        * fast/regions/flow-content-basic-expected.html: Added. The test is now a ref test.
+        * fast/regions/flow-content-basic-vertical-expected.html: Added. The test is now a ref test.
+        * fast/regions/flow-content-basic-vertical-rl-expected.html: Added.The test is now a ref test.
+        * fast/regions/flow-content-basic-vertical-rl.html:
+        * fast/regions/flow-content-basic-vertical.html:
+        * fast/regions/flow-content-basic.html:
+        * fast/regions/flows-dependency-dynamic-remove-expected.txt:
+        * fast/regions/flows-dependency-same-flow-expected.txt:
+        * fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png: Removed.
+        * fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt: Removed.
+        * fast/regions/layers/dynamic-layer-added-with-no-layout.html: Removed.
+        * fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png: Removed.
+        * fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt: Removed.
+        * fast/regions/layers/dynamic-layer-removed-with-no-layout.html: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-expected.png: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-expected.txt: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-lr.html: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt: Removed.
+        * fast/regions/layers/regions-promoted-to-layers-vertical-rl.html: Removed.
+        * fast/regions/layers/regions-promoted-to-layers.html: Removed.
+        * fast/regions/layers/stacking-context-paint-order-expected.html: Added.
+        * fast/regions/layers/stacking-context-paint-order.html: Added. While the existing region-sibling-paint-order.html
+        test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
+        verifies that regions paint correctly when the next sibling doesn't create a stacking context.
+        * fast/regions/region-sibling-paint-order-expected.html:
+        * fast/regions/region-sibling-paint-order.html:
+        * fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
+        * fast/repaint/region-painting-composited-element-expected.html:
+        * fast/repaint/region-painting-in-composited-view-expected.html:
+        * fast/repaint/region-painting-in-composited-view.html:
+        * fast/repaint/region-painting-via-layout-expected.txt:
+        * platform/efl-wk2/TestExpectations:
+        * platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
+        * platform/efl/TestExpectations:
+        * platform/efl/fast/regions/autoheight-regions-mark-expected.png: Removed.
+        * platform/efl/fast/regions/autoheight-regions-mark-expected.txt: Removed.
+        * platform/efl/fast/regions/flow-content-basic-expected.png: Removed. The test is now a ref test.
+        * platform/efl/fast/regions/flow-content-basic-expected.txt: Removed.
+        * platform/efl/fast/regions/flow-content-basic-vertical-expected.png: Removed.
+        * platform/efl/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
+        * platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
+        * platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
+        * platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
+        * platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
+        * platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
+        * platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
+        * platform/efl/fast/regions/region-dynamic-after-before-expected.txt:
+        * platform/efl/fast/regions/region-generated-content-before-after-expected.txt:
+        * platform/efl/fast/regions/text-region-split-small-pagination-expected.png: Removed.
+        * platform/efl/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
+        * platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
+        * platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
+        * platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
+        * platform/efl/fast/repaint/region-painting-invalidation-expected.png: Removed.
+        * platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Removed.
+        * platform/efl/fast/repaint/region-painting-via-layout-expected.png: Removed.
+        * platform/efl/fast/repaint/region-painting-via-layout-expected.txt: Removed.
+        * platform/gtk/TestExpectations:
+        * platform/gtk/fast/regions/autoheight-regions-mark-expected.png: Removed.
+        * platform/gtk/fast/regions/autoheight-regions-mark-expected.txt: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-expected.png: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-expected.txt: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-vertical-expected.png: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
+        * platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
+        * platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
+        * platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
+        * platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
+        * platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
+        * platform/gtk/fast/regions/region-dynamic-after-before-expected.txt:
+        * platform/gtk/fast/regions/region-generated-content-before-after-expected.txt:
+        * platform/gtk/fast/regions/text-region-split-small-pagination-expected.png: Removed.
+        * platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
+        * platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
+        * platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
+        * platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
+        * platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
+        * platform/gtk/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
+        * platform/gtk/fast/repaint/region-painting-invalidation-expected.png: Removed.
+        * platform/gtk/fast/repaint/region-painting-invalidation-expected.txt: Removed.
+        * platform/gtk/fast/repaint/region-painting-via-layout-expected.png: Removed.
+        * platform/gtk/fast/repaint/region-painting-via-layout-expected.txt: Removed.
+        * platform/mac-lion/TestExpectations:
+        * platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
+        * platform/mac-wk2/TestExpectations:
+        * platform/mac/fast/regions/flow-content-basic-expected.png: Removed.
+        * platform/mac/fast/regions/flow-content-basic-expected.txt: Removed.
+        * platform/mac/fast/regions/flow-content-basic-vertical-expected.png: Removed.
+        * platform/mac/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
+        * platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
+        * platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
+        * platform/mac/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt:
+        * platform/mac/fast/regions/region-dynamic-after-before-expected.txt:
+        * platform/mac/fast/regions/region-generated-content-before-after-expected.txt:
+        * platform/mac/fast/regions/text-region-split-small-pagination-expected.txt:
+        * platform/mac/fast/regions/top-overflow-out-of-second-region-expected.txt:
+        * platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
+        * platform/mac/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
+        * platform/mac/fast/repaint/region-painting-invalidation-expected.txt:
+        * platform/qt-wk2/TestExpectations:
+        * platform/qt-wk2/fast/regions/flow-content-basic-expected.png: Removed.
+        * platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png: Removed.
+        * platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
+        * platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
+        * platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png: Removed.
+        * platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
+        * platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png: Removed.
+        * platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt: Removed.
+        * platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png: Removed.
+        * platform/qt/TestExpectations:
+        * platform/qt/fast/regions/autoheight-regions-mark-expected.png: Removed.
+        * platform/qt/fast/regions/autoheight-regions-mark-expected.txt: Removed.
+        * platform/qt/fast/regions/flow-content-basic-expected.png: Removed.
+        * platform/qt/fast/regions/flow-content-basic-expected.txt: Removed.
+        * platform/qt/fast/regions/flow-content-basic-vertical-expected.png: Removed.
+        * platform/qt/fast/regions/flow-content-basic-vertical-expected.txt: Removed.
+        * platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png: Removed.
+        * platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt: Removed.
+        * platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png: Removed.
+        * platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt: Removed.
+        * platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Removed.
+        * platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Removed.
+        * platform/qt/fast/regions/text-region-split-small-pagination-expected.png: Removed.
+        * platform/qt/fast/regions/text-region-split-small-pagination-expected.txt: Removed.
+        * platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png: Removed.
+        * platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt: Removed.
+        * platform/qt/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
+        * platform/qt/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
+        * platform/qt/fast/repaint/region-painting-invalidation-expected.png: Removed.
+        * platform/qt/fast/repaint/region-painting-invalidation-expected.txt: Removed.
+        * platform/qt/fast/repaint/region-painting-via-layout-expected.png: Removed.
+        * platform/qt/fast/repaint/region-painting-via-layout-expected.txt: Removed.
+        * platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png: Removed.
+        * platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt: Removed.
+
 2013-10-02  Renata Hodovan  <reni@webkit.org>
 
         HTML listbox is not resized horizontally when zooming
index bc4164c..14891e8 100644 (file)
@@ -3,10 +3,10 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x116
   RenderBlock {HTML} at (0,0) size 800x116
     RenderBody {BODY} at (8,8) size 784x100
-      RenderRegion {DIV} at (0,0) size 50x50
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x50
+layer at (8,8) size 50x50
+  RenderRegion {DIV} at (0,0) size 50x50
+layer at (8,58) size 50x50
+  RenderRegion {DIV} at (0,50) size 50x50
 layer at (8,50) size 50x450
   RenderRegion {DIV} at (8,50) size 50x450
 layer at (50,8) size 650x50
@@ -24,12 +24,12 @@ Flow Threads
     layer at (0,0) size 50x450
       RenderNamedFlowThread at (0,0) size 50x450
   Regions for flow 'flow3'
-    RenderRegion {DIV} #region3 hasLayer
+    RenderRegion {DIV} #region3
   Thread with flow-name 'flow4'
     layer at (0,0) size 650x50
       RenderNamedFlowThread at (0,0) size 650x50
   Regions for flow 'flow4'
-    RenderRegion {DIV} #region4 hasLayer
+    RenderRegion {DIV} #region4
   Thread with flow-name 'flow5'
   Regions for flow 'flow5'
     RenderRegion {DIV} #region5 hasAutoLogicalHeight
diff --git a/LayoutTests/fast/regions/flow-content-basic-expected.html b/LayoutTests/fast/regions/flow-content-basic-expected.html
new file mode 100644 (file)
index 0000000..597306e
--- /dev/null
@@ -0,0 +1,46 @@
+<!DOCTYPE HTML>
+
+<html>
+<head>
+
+    <!-- This test checks that content can be redirected to a region. It also
+     tries out a validation strategy that recreates the intended display
+     using non-region markup. If top does not match the bottom then the 
+     result should be rejected. -->
+
+    <style type="text/css">
+        html {
+            -webkit-font-smoothing: none;
+        }
+
+        .region{
+            position: relative; z-index: 1; /* regions create Stacking Contexts */
+            height:100px;
+            width:300px;
+            border: solid 1px #888; /* to stop the margin collapsing */
+        }
+        
+        .pass{
+            color: green;
+        }
+    </style>
+</head>
+<body>
+    <div>
+        The words "flow content" in green should display after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div id="region1" class="region">
+        <div id="source" class="pass">
+            <p>flow content</p>
+        </div>
+    </div>
+    <div>
+        The words "flow content" in green should display after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div class="pass">
+        <p>flow content</p>
+    </div>
+</body>
+</html>
diff --git a/LayoutTests/fast/regions/flow-content-basic-vertical-expected.html b/LayoutTests/fast/regions/flow-content-basic-vertical-expected.html
new file mode 100644 (file)
index 0000000..ab7a97b
--- /dev/null
@@ -0,0 +1,47 @@
+<!DOCTYPE HTML>
+
+<html>
+<head>
+
+    <!-- This test checks that content can be redirected to a region. It also
+     tries out a validation strategy that recreates the intended display
+     using non-region markup. If top does not match the bottom then the 
+     result should be rejected. -->
+
+    <style type="text/css">
+        html {
+            -webkit-writing-mode: vertical-lr;
+            -webkit-font-smoothing: none;
+        }
+        
+        .region{
+            position: relative; z-index: 1; /* regions create Stacking Contexts */
+            width: 100px;
+            height: 300px;
+            border: solid 1px #888; /* to stop the margin collapsing */
+        }
+        
+        .pass{
+            color: green;
+        }
+    </style>
+</head>
+<body>
+    <div>
+        The words "flow content" in green should display after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div id="region1" class="region">
+        <div id="source" class="pass">
+            <p>flow content</p>
+        </div>
+    </div>
+    <div>
+        The words "flow content" in green should display after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div class="pass">
+        <p>flow content</p>
+    </div>
+</body>
+</html>
diff --git a/LayoutTests/fast/regions/flow-content-basic-vertical-rl-expected.html b/LayoutTests/fast/regions/flow-content-basic-vertical-rl-expected.html
new file mode 100644 (file)
index 0000000..4b3e8a4
--- /dev/null
@@ -0,0 +1,53 @@
+<!DOCTYPE HTML>
+
+<html>
+<head>
+
+    <!-- This test checks that content can be redirected to a region. It also
+     tries out a validation strategy that recreates the intended display
+     using non-region markup. If top does not match the bottom then the 
+     result should be rejected. -->
+
+    <style type="text/css">
+        html {
+            -webkit-writing-mode: vertical-rl;
+            -webkit-font-smoothing: none;
+        }
+        
+        .region{
+            position: relative; z-index: 1; /* regions create Stacking Contexts */
+            width: 100px;
+            height: 300px;
+            border: 1px solid black; /* to stop the margin collapsing */
+            padding: 5px;
+        }
+        
+        .pass{
+            color: green;
+        }
+    </style>
+</head>
+<body>
+    <div>
+        The words "flow content" in green should display twice after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div id="region1" class="region">
+        <div id="source" class="pass">
+            <div style="width:100px;">first flow content</div>
+        </div>
+    </div>
+    <div id="region2" class="region">
+        <div id="source" class="pass">
+            <div style="width:100px;">second flow content</div>
+        </div>
+    </div>
+    <div>
+        The words "flow content" in green should display after this div, 
+        and there should be two copies of this content that match.
+    </div>
+    <div class="pass">
+        <p>flow content</p>
+    </div>
+</body>
+</html>
index 60f636e..1954cc9 100644 (file)
@@ -9,13 +9,22 @@
      result should be rejected. -->
 
     <style type="text/css">
-        html { -webkit-writing-mode: vertical-rl }
+        html {
+            -webkit-writing-mode: vertical-rl;
+            -webkit-font-smoothing: none;
+        }
 
         #source{
             -webkit-flow-into: main-thread;
         }
 
-        .region { width: 100px; height:300px; -webkit-flow-from: main-thread; border:1px solid black; padding:5px }
+        .region {
+            -webkit-flow-from: main-thread;
+            width: 100px;
+            height:300px;
+            border:1px solid black;
+            padding:5px;
+        }
 
         .pass{
             color: green;
index bf8984f..3e8d55d 100644 (file)
@@ -9,7 +9,10 @@
      result should be rejected. -->
 
     <style type="text/css">
-        html { -webkit-writing-mode: vertical-lr }
+        html {
+            -webkit-writing-mode: vertical-lr;
+            -webkit-font-smoothing: none;
+        }
 
         #source{
             -webkit-flow-into: main-thread;
@@ -17,8 +20,9 @@
         
         .region{
             -webkit-flow-from: main-thread;
-            width:100px;
-            height:300px;
+            width: 100px;
+            height: 300px;
+            border: solid 1px #888;
         }
         
         .pass{
index f385f9d..11568a2 100644 (file)
@@ -9,6 +9,10 @@
      result should be rejected. -->
 
     <style type="text/css">
+        html {
+            -webkit-font-smoothing: none;
+        }
+
         #source{
             -webkit-flow-into: main-thread;
         }
@@ -17,6 +21,7 @@
             -webkit-flow-from: main-thread;
             height:100px;
             width:300px;
+            border: solid 1px #888;
         }
         
         .pass{
index 296e9e9..63fa340 100644 (file)
@@ -3,7 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x16
   RenderBlock {HTML} at (0,0) size 800x16
     RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 0x0
 Flow Threads
   Thread with flow-name 'flowC'
   Thread with flow-name 'flowA'
index f879fde..1a9fb8a 100644 (file)
@@ -3,9 +3,6 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x16
   RenderBlock {HTML} at (0,0) size 800x16
     RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 0x0
-      RenderRegion {DIV} at (0,0) size 0x0
-      RenderRegion {DIV} at (0,0) size 0x0
 Flow Threads
   Thread with flow-name 'flowB'
   Regions for flow 'flowB'
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png b/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png
deleted file mode 100644 (file)
index e51db95..0000000
Binary files a/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt b/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout-expected.txt
deleted file mode 100644 (file)
index 9e9b6e0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x60
-  RenderBlock {HTML} at (0,0) size 800x60
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (104,0) size 52x52 [border: (1px solid #000000)]
-layer at (60,8) size 52x52
-  RenderRegion {DIV} at (52,0) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (0,0) size 50x150
-      RenderNamedFlowThread at (0,0) size 50x150
-        RenderBlock {DIV} at (0,0) size 50x150
-          RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-          RenderBlock {DIV} at (0,100) size 50x50 [bgcolor=#FFA500]
-    layer at (0,50) size 50x50
-      RenderBlock {DIV} at (0,50) size 50x50 [bgcolor=#0000FF]
-  Regions for flow 'article'
-    RenderRegion {DIV}
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout.html b/LayoutTests/fast/regions/layers/dynamic-layer-added-with-no-layout.html
deleted file mode 100644 (file)
index abc00f6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if the second region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            .layer
-            {
-                -webkit-transform: translateZ(0px);
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox"></div>
-            <div id="test-box" class="blueBox"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div class="regionArticle borderBox"></div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-        <script>
-            // Force a layout
-            document.body.offsetTop;
-            // The following line will make a layer for the test-box, but will not trigger a new layout.
-            document.getElementById("test-box").classList.add("layer");
-        </script>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png b/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png
deleted file mode 100644 (file)
index 8c0ced2..0000000
Binary files a/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt b/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout-expected.txt
deleted file mode 100644 (file)
index 2fcc178..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x60
-  RenderBlock {HTML} at (0,0) size 800x60
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (52,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (104,0) size 52x52 [border: (1px solid #000000)]
-layer at (8,8) size 52x52
-  RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (0,0) size 50x150
-      RenderNamedFlowThread at (0,0) size 50x150
-        RenderBlock {DIV} at (0,0) size 50x150
-          RenderBlock {DIV} at (0,50) size 50x50 [bgcolor=#0000FF]
-          RenderBlock {DIV} at (0,100) size 50x50 [bgcolor=#FFA500]
-    layer at (0,0) size 50x50
-      RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-  Regions for flow 'article'
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout.html b/LayoutTests/fast/regions/layers/dynamic-layer-removed-with-no-layout.html
deleted file mode 100644 (file)
index 3f20b9f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if only the first region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            .layer
-            {
-                -webkit-transform: translateZ(0px);
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox layer"></div>
-            <div id="test-box" class="blueBox layer"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-        <script>
-            // Force a layout
-            document.body.offsetTop;
-            // The following line will remove the layer for the test-box, but will not trigger a new layout.
-            document.getElementById("test-box").classList.remove("layer");
-        </script>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.png b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.png
deleted file mode 100644 (file)
index 8c0ced2..0000000
Binary files a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.txt b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-expected.txt
deleted file mode 100644 (file)
index 69b3b6b..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x60
-  RenderBlock {HTML} at (0,0) size 800x60
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (104,0) size 52x52 [border: (1px solid #000000)]
-layer at (60,8) size 52x52
-  RenderRegion {DIV} at (52,0) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (0,0) size 50x150
-      RenderNamedFlowThread at (0,0) size 50x150
-        RenderBlock {DIV} at (0,0) size 50x150
-          RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-          RenderBlock {DIV} at (0,100) size 50x50 [bgcolor=#FFA500]
-    layer at (0,50) size 50x50
-      RenderBlock (relative positioned) {DIV} at (0,50) size 50x50 [bgcolor=#0000FF]
-  Regions for flow 'article'
-    RenderRegion {DIV}
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png
deleted file mode 100644 (file)
index a771cd7..0000000
Binary files a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt-expected.txt
deleted file mode 100644 (file)
index 4d55542..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,540) size 800x60
-  RenderBlock {HTML} at (0,0) size 800x60
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (104,0) size 52x52 [border: (1px solid #000000)]
-layer at (60,540) size 52x52
-  RenderRegion {DIV} at (52,0) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (0,450) size 50x150
-      RenderNamedFlowThread at (0,0) size 50x150
-        RenderBlock {DIV} at (0,0) size 50x150
-          RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-          RenderBlock {DIV} at (0,100) size 50x50 [bgcolor=#FFA500]
-    layer at (0,500) size 50x50
-      RenderBlock (relative positioned) {DIV} at (0,50) size 50x50 [bgcolor=#0000FF]
-  Regions for flow 'article'
-    RenderRegion {DIV}
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-horizontal-bt.html
deleted file mode 100644 (file)
index e09b013..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if the second region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            html
-            {
-                -webkit-writing-mode: horizontal-bt;
-            }
-            .blueBox
-            {
-                position: relative;
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox"></div>
-            <div class="blueBox"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div class="regionArticle borderBox"></div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png
deleted file mode 100644 (file)
index 249a770..0000000
Binary files a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr-expected.txt
deleted file mode 100644 (file)
index 1b7ed71..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 60x600
-  RenderBlock {HTML} at (0,0) size 60x600
-    RenderBody {BODY} at (8,8) size 0x584
-      RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (0,104) size 52x52 [border: (1px solid #000000)]
-layer at (8,60) size 52x52
-  RenderRegion {DIV} at (0,52) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (0,0) size 150x50
-      RenderNamedFlowThread at (0,0) size 150x50
-        RenderBlock {DIV} at (0,0) size 150x50
-          RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-          RenderBlock {DIV} at (100,0) size 50x50 [bgcolor=#FFA500]
-    layer at (50,0) size 50x50
-      RenderBlock (relative positioned) {DIV} at (50,0) size 50x50 [bgcolor=#0000FF]
-  Regions for flow 'article'
-    RenderRegion {DIV}
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr.html b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-lr.html
deleted file mode 100644 (file)
index 669b418..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if the second region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            html
-            {
-                -webkit-writing-mode: vertical-lr;
-            }
-            .blueBox
-            {
-                position: relative;
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox"></div>
-            <div class="blueBox"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div class="regionArticle borderBox"></div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png
deleted file mode 100644 (file)
index f35f13c..0000000
Binary files a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl-expected.txt
deleted file mode 100644 (file)
index d1595c9..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (740,0) size 60x600
-  RenderBlock {HTML} at (0,0) size 60x600
-    RenderBody {BODY} at (8,8) size 0x584
-      RenderRegion {DIV} at (0,0) size 52x52 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (0,104) size 52x52 [border: (1px solid #000000)]
-layer at (740,60) size 52x52
-  RenderRegion {DIV} at (0,52) size 52x52 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'article'
-    layer at (650,0) size 150x50
-      RenderNamedFlowThread at (0,0) size 150x50
-        RenderBlock {DIV} at (0,0) size 150x50
-          RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000]
-          RenderBlock {DIV} at (100,0) size 50x50 [bgcolor=#FFA500]
-    layer at (700,0) size 50x50
-      RenderBlock (relative positioned) {DIV} at (50,0) size 50x50 [bgcolor=#0000FF]
-  Regions for flow 'article'
-    RenderRegion {DIV}
-    RenderRegion {DIV} #should-have-layer hasLayer
-    RenderRegion {DIV}
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl.html b/LayoutTests/fast/regions/layers/regions-promoted-to-layers-vertical-rl.html
deleted file mode 100644 (file)
index b7b5761..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if the second region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            html
-            {
-                -webkit-writing-mode: vertical-rl;
-            }
-            .blueBox
-            {
-                position: relative;
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox"></div>
-            <div class="blueBox"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div class="regionArticle borderBox"></div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/regions-promoted-to-layers.html b/LayoutTests/fast/regions/layers/regions-promoted-to-layers.html
deleted file mode 100644 (file)
index 1944371..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<!doctype html>
-<html>
-    <!--
-    Testing that regions become layers as required by the content that display in those regions. 
-    There should be three boxes (green, blue, orange) with black borders. 
-    The test passes if the second region becomes a RenderLayer.
-    -->
-    <head>
-        <link rel="stylesheet" href="../resources/region-style.css">
-        <style>
-            .blueBox
-            {
-                position: relative;
-            }
-        </style>
-    </head>
-    <body>
-        <div class="flowArticle">
-            <div class="greenBox"></div>
-            <div class="blueBox"></div>
-            <div class="orangeBox"></div>
-        </div>
-        <div class="regionArticle borderBox"></div>
-        <div id="should-have-layer" class="regionArticle borderBox"></div>
-        <div class="regionArticle borderBox"></div>
-    </body>
-</html>
diff --git a/LayoutTests/fast/regions/layers/stacking-context-paint-order-expected.html b/LayoutTests/fast/regions/layers/stacking-context-paint-order-expected.html
new file mode 100644 (file)
index 0000000..aea4a21
--- /dev/null
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<!--
+    This is a test reference file.
+    Test that the region paints over its sibling because regions create stacking contexts.
+    This test passes if there is no red visible.
+-->
+<html>
+<head>
+    <style>
+        #region {
+            position: relative; z-index: 0; /* regions create Stacking Contexts */
+            background-color: green;
+            width: 100px;
+            height: 100px;
+        }
+        #sibling-of-region {
+            background-color: red;
+            width: 100px;
+            height: 100px;
+            margin-top: -100px;
+        }
+    </style>
+</head>
+<body>
+    <div id="region">region</div>
+    <div id="sibling-of-region">sibling</div>
+</body>
+</html>
diff --git a/LayoutTests/fast/regions/layers/stacking-context-paint-order.html b/LayoutTests/fast/regions/layers/stacking-context-paint-order.html
new file mode 100644 (file)
index 0000000..bfb4961
--- /dev/null
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<!--
+    Test that the region paints over its sibling because regions create stacking contexts.
+    This test passes if there is no red visible.
+-->
+<html>
+<head>
+    <style>
+        #content-for-region {
+            background-color: green;
+            -webkit-flow-into: flow;
+            width: 100px;
+            height: 100px;
+        }
+        #region {
+            background-color: gray;
+            -webkit-flow-from: flow;
+            width: 100px;
+            height: 100px;
+        }
+        #sibling-of-region {
+            background-color: red;
+            width: 100px;
+            height: 100px;
+            margin-top: -100px;
+        }
+    </style>
+</head>
+<body>
+    <div id="content-for-region">region</div>
+    <div id="region"></div>
+    <div id="sibling-of-region">sibling</div>
+</body>
+</html>
index 8635258..c9ef8fc 100644 (file)
@@ -9,11 +9,13 @@
 <head>
     <style>
         #region {
+            position: relative; z-index: 1; /* regions create Stacking Contexts */
             background-color: gray;
             width: 100px;
             height: 100px;
         }
         #sibling-of-region {
+            position: relative; z-index: 1; /* create Stacking Contexts */
             background-color: green;
             width: 100px;
             height: 100px;
index 845f5a2..55da204 100644 (file)
@@ -26,6 +26,7 @@
             height: 100px;
         }
         #sibling-of-region {
+            position: relative; z-index: 1; /* create Stacking Contexts */
             background-color: green;
             width: 100px;
             height: 100px;
index 8d4ce36..13a946b 100644 (file)
@@ -14,4 +14,4 @@ Flow Threads
             RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
         RenderBlock {DIV} at (0,0) size 100x50 [bgcolor=#FF0000]
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
index 0f5c09b..e39fe6c 100644 (file)
@@ -10,6 +10,7 @@
     width: 100px;
     height: 50px;
     background-color: green;
+    position: relative; z-index: 1; /*create Stacking Context*/
 }
 </style>
 </head>
index 404b5e8..7ee6b7f 100644 (file)
@@ -8,6 +8,7 @@
     left: 0px;
     width: 100px;
     height: 50px;
+    z-index: 1; /*creates Stacking Context*/
 }
 
 #region1 {
@@ -33,7 +34,7 @@ function repaintTest()
 </script>
 </head>
 <body onload="runRepaintTest();">
-    <div id="region1"></div>
+    <div id="region1">1</div>
     <div id="region2"></div>
 </body>
 </html>
index d027117..04e9427 100644 (file)
@@ -50,7 +50,7 @@ function repaintTest()
     <!-- Testing that the repaint goes through the RenderRegions and not 
     directly to the viewport. You should see two green rectangles. -->
     <div id="content">
-        <div id="target"></div>
+        <div id="target">1</div>
     </div>
     <div id="region1"></div>
     <div id="region2"></div>
index 10d97fe..a6b0949 100644 (file)
@@ -3,7 +3,8 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 786x182 [bgcolor=#FF0000] [border: (1px solid #000000)]
+layer at (8,8) size 786x182
+  RenderRegion {DIV} at (0,0) size 786x182 [bgcolor=#FF0000] [border: (1px solid #000000)]
 Flow Threads
   Thread with flow-name 'flow1'
     layer at (0,0) size 784x1180 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
@@ -13,5 +14,5 @@ Flow Threads
         RenderBlock {DIV} at (0,1000) size 784x200
           RenderBlock {DIV} at (0,0) size 784x200 [bgcolor=#008000]
   Regions for flow 'flow1'
-    RenderRegion {DIV} #region1 hasLayer
+    RenderRegion {DIV} #region1
     RenderRegion {DIV} #region2
index 6b65d70..2025cfe 100644 (file)
@@ -520,3 +520,6 @@ webkit.org/b/119789 fast/events/touch/touch-before-pressing-spin-button.html [ C
 webkit.org/b/119789 fast/events/touch/touch-coords-in-zoom-and-scroll.html [ Crash ]
 webkit.org/b/119789 fast/events/touch/touch-inside-iframe.html [ Crash ]
 webkit.org/b/119789 fast/events/touch/touch-slider-no-js-touch-listener.html [ Crash ]
+
+# Tests need new generated expected results
+webkit.org/b/121828 fast/repaint/japanese-rl-selection-repaint-in-regions.html [ Missing ]
diff --git a/LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index aed5d71..0000000
Binary files a/LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt b/LayoutTests/platform/efl-wk2/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
deleted file mode 100644 (file)
index 0ecbdd3..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (754,0) size 46x600
-  RenderBlock {HTML} at (0,0) size 46x600 [border: (10px solid #800000)]
-    RenderBody {BODY} at (18,18) size 10x564 [border: (5px solid #000000)]
-layer at (296,100) size 404x404
-  RenderRegion {DIV} at (100,100) size 404x404 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'thread'
-    layer at (400,0) size 400x400
-      RenderNamedFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 350x400
-          RenderText {#text} at (1,0) size 347x400
-            text run at (1,0) width 380: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
-            text run at (26,0) width 400: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}"
-            text run at (51,0) width 400: "\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}"
-            text run at (76,0) width 398: "\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}"
-            text run at (101,0) width 400: "\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}"
-            text run at (126,0) width 400: "\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}"
-            text run at (151,0) width 385: "\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}"
-            text run at (176,0) width 398: "\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}"
-            text run at (201,0) width 400: "\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}"
-            text run at (226,0) width 398: "\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}"
-            text run at (251,0) width 400: "\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}"
-            text run at (276,0) width 400: "\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}"
-            text run at (301,0) width 365: "\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}"
-            text run at (326,0) width 80: "\x{304F}\x{3001}\x{8A2A}\x{554F}"
-  Regions for flow 'thread'
-    RenderRegion {DIV}
-selection start: position 70 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 230 of child 0 {#text} of child 1 {DIV} of body
index 16dc092..f6c9c96 100644 (file)
@@ -1657,3 +1657,13 @@ webkit.org/b/119782 fast/forms/search-styled.html [ Failure ]
 
 # This test case needs to be rebaselined. 
 webkit.org/b/15602 fast/css/first-letter-block-change.html [ Failure ]
+
+# Tests need new generated expected results
+webkit.org/b/121828 fast/regions/autoheight-regions-mark.html [ Missing ]
+webkit.org/b/121828 fast/regions/flows-dependency-dynamic-remove.html [ Missing ]
+webkit.org/b/121828 fast/regions/multiple-directionality-changes-in-variable-width-regions.html [ Missing ]
+webkit.org/b/121828 fast/regions/text-region-split-small-pagination.html [ Missing ]
+webkit.org/b/121828 fast/regions/top-overflow-out-of-second-region.html [ Missing ]
+webkit.org/b/121828 fast/repaint/japanese-rl-selection-repaint-in-regions.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-invalidation.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-via-layout.html [ Missing ]
diff --git a/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png b/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png
deleted file mode 100644 (file)
index dc14b60..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.txt b/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.txt
deleted file mode 100644 (file)
index fa58258..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x116
-  RenderBlock {HTML} at (0,0) size 800x116
-    RenderBody {BODY} at (8,8) size 784x100
-      RenderRegion {DIV} at (0,0) size 50x50
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x50
-layer at (8,50) size 50x450
-  RenderRegion {DIV} at (8,50) size 50x450
-layer at (50,8) size 650x50
-  RenderRegion {DIV} at (50,8) size 650x50
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region
-  Thread with flow-name 'flow2'
-  Regions for flow 'flow2'
-    RenderRegion {DIV} #region2 hasAutoLogicalHeight
-  Thread with flow-name 'flow3'
-    layer at (0,0) size 50x450
-      RenderNamedFlowThread at (0,0) size 50x450
-  Regions for flow 'flow3'
-    RenderRegion {DIV} #region3
-  Thread with flow-name 'flow4'
-    layer at (0,0) size 650x50
-      RenderNamedFlowThread at (0,0) size 650x50
-  Regions for flow 'flow4'
-    RenderRegion {DIV} #region4
-  Thread with flow-name 'flow5'
-  Regions for flow 'flow5'
-    RenderRegion {DIV} #region5 hasAutoLogicalHeight
-  Thread with flow-name 'flow6'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow6'
-    RenderRegion {DIV} #region6
-  Thread with flow-name 'flow8'
-  Regions for flow 'flow8'
-    RenderRegion {DIV} #region8 invalid
-  Thread with flow-name 'flow7'
-  Regions for flow 'flow7'
-    RenderRegion {DIV} #region7 hasAutoLogicalHeight
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png
deleted file mode 100644 (file)
index 466bc5d..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.txt b/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.txt
deleted file mode 100644 (file)
index e7bb087..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x194
-  RenderBlock {HTML} at (0,0) size 800x194
-    RenderBody {BODY} at (8,8) size 784x170
-      RenderBlock {DIV} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 766x17
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderRegion {DIV} at (0,18) size 300x100
-      RenderBlock {DIV} at (0,118) size 784x18
-        RenderText {#text} at (0,0) size 766x17
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderBlock {DIV} at (0,152) size 784x18 [color=#008000]
-        RenderBlock {P} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 79x17
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 300x100
-      RenderNamedFlowThread at (0,0) size 300x100
-        RenderBlock {DIV} at (0,16) size 300x18 [color=#008000]
-          RenderBlock {P} at (0,0) size 300x18
-            RenderText {#text} at (0,0) size 79x17
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png
deleted file mode 100644 (file)
index 0e519f6..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.txt b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.txt
deleted file mode 100644 (file)
index 04d3fcd..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 230x600
-  RenderBlock {HTML} at (0,0) size 230x600
-    RenderBody {BODY} at (8,8) size 206x584
-      RenderBlock {DIV} at (0,0) size 36x584
-        RenderText {#text} at (0,0) size 35x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderRegion {DIV} at (36,0) size 100x300
-      RenderBlock {DIV} at (136,0) size 36x584
-        RenderText {#text} at (0,0) size 35x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (188,0) size 18x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 18x584
-          RenderText {#text} at (0,0) size 17x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 100x300
-      RenderNamedFlowThread at (0,0) size 100x300
-        RenderBlock {DIV} at (16,0) size 18x300 [color=#008000]
-          RenderBlock {P} at (0,0) size 18x300
-            RenderText {#text} at (0,0) size 17x79
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png
deleted file mode 100644 (file)
index ac7e8f9..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt
deleted file mode 100644 (file)
index 7dcdf95..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (446,0) size 354x600
-  RenderBlock {HTML} at (0,0) size 354x600
-    RenderBody {BODY} at (8,8) size 330x584
-      RenderBlock {DIV} at (0,0) size 36x584
-        RenderText {#text} at (0,0) size 35x566
-          text run at (0,0) width 443: "The words \"flow content\" in green should display twice after this div, "
-          text run at (0,443) width 123: "and there should be"
-          text run at (18,0) width 234: "two copies of this content that match."
-      RenderRegion {DIV} at (36,0) size 112x312 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (148,0) size 112x312 [border: (1px solid #000000)]
-      RenderBlock {DIV} at (260,0) size 36x584
-        RenderText {#text} at (0,0) size 35x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (312,0) size 18x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 18x584
-          RenderText {#text} at (0,0) size 17x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (600,0) size 200x300
-      RenderNamedFlowThread at (0,0) size 200x300
-        RenderBlock {DIV} at (0,0) size 200x300 [color=#008000]
-          RenderBlock {DIV} at (0,0) size 100x300
-            RenderText {#text} at (0,0) size 17x107
-              text run at (0,0) width 107: "first flow content"
-          RenderBlock {DIV} at (100,0) size 100x300
-            RenderText {#text} at (0,0) size 17x127
-              text run at (0,0) width 127: "second flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png b/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png
deleted file mode 100644 (file)
index dc14b60..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt b/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt
deleted file mode 100644 (file)
index 296e9e9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x16
-  RenderBlock {HTML} at (0,0) size 800x16
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 0x0
-Flow Threads
-  Thread with flow-name 'flowC'
-  Thread with flow-name 'flowA'
-  Regions for flow 'flowA'
-    RenderRegion {DIV}
-    RenderRegion {DIV}
-  Thread with flow-name 'flowB'
-  Regions for flow 'flowB'
-    RenderRegion {DIV}
diff --git a/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png
deleted file mode 100644 (file)
index ac1862c..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt
deleted file mode 100644 (file)
index 6bc9c22..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x422
-  RenderBlock {HTML} at (0,0) size 800x422
-    RenderBody {BODY} at (8,8) size 784x406
-      RenderBlock {DIV} at (0,0) size 784x406
-        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 502x182 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,284) size 202x122 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 500x400
-      RenderNamedFlowThread at (0,0) size 500x400
-        RenderBlock {DIV} at (25,0) size 450x372
-          RenderBlock {DIV} at (27,15) size 396x342 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (40,11) size 316x249 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 314x93
-                RenderText {#text} at (-18,0) size 331x92
-                  text run at (-18,0) width 248: "This line of text should not get out of"
-                  text run at (-18,18) width 248: "the region. This line of text should not"
-                  text run at (-18,36) width 248: "get out of the region. This line of text"
-                  text run at (0,57) width 313: "should not get out of the region. This line of text"
-                  text run at (0,75) width 201: "should not get out of the region."
-              RenderBlock {P} at (1,126) size 314x72
-                RenderText {#text} at (0,0) size 313x71
-                  text run at (0,0) width 313: "This line of text should not get out of the region."
-                  text run at (0,18) width 313: "This line of text should not get out of the region."
-                  text run at (0,36) width 313: "This line of text should not get out of the region."
-                  text run at (0,54) width 304: "This line of text should not get out of the region."
-              RenderBlock {P} at (1,214) size 314x18
-                RenderText {#text} at (0,0) size 304x17
-                  text run at (0,0) width 304: "This line of text should not get out of the region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
index 4f2a815..3741627 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,18) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
index 4f2a815..3741627 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,18) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png b/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png
deleted file mode 100644 (file)
index 56a7872..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.txt
deleted file mode 100644 (file)
index cdc8197..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x276
-  RenderBlock {HTML} at (0,0) size 800x276
-    RenderBody {BODY} at (8,16) size 784x244
-      RenderRegion {DIV} at (0,0) size 204x34 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,50) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,120) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,190) size 204x54 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 200x180
-      RenderNamedFlowThread at (0,0) size 200x180
-        RenderBlock {DIV} at (0,30) size 200x118
-          RenderBlock {P} at (0,0) size 200x118
-            RenderInline {B} at (0,0) size 111x17
-              RenderText {#text} at (0,0) size 111x17
-                text run at (0,0) width 111: "Text in region 2."
-            RenderText {#text} at (111,0) size 143x35
-              text run at (111,0) width 32: " This"
-              text run at (0,18) width 99: "paragraph has \""
-            RenderInline {I} at (0,0) size 196x49
-              RenderText {#text} at (99,18) size 196x49
-                text run at (99,18) width 97: "-webkit-region-"
-                text run at (0,50) width 123: "break-after: always"
-            RenderText {#text} at (123,50) size 15x17
-              text run at (123,50) width 15: "\". "
-            RenderInline {B} at (0,0) size 179x67
-              RenderText {#text} at (138,50) size 179x67
-                text run at (138,50) width 41: "There"
-                text run at (0,68) width 166: "should be nothing in this"
-                text run at (0,100) width 139: "region after this line."
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
-    RenderRegion {DIV} #region4
diff --git a/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png b/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png
deleted file mode 100644 (file)
index 7a6570c..0000000
Binary files a/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt b/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt
deleted file mode 100644 (file)
index d380d0d..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x418
-  RenderBlock {HTML} at (0,0) size 800x418
-    RenderBody {BODY} at (8,16) size 784x394
-      RenderBlock {P} at (0,0) size 784x72
-        RenderText {#text} at (0,0) size 779x71
-          text run at (0,0) width 775: "In the test case below, the green block's width should not vary and should use the second region to determine its width. It is"
-          text run at (0,18) width 731: "overflowing upwards out of the blue block, and so the portion that overflows should continue to use the blue block's"
-          text run at (0,36) width 779: "containing block width. The blue block does not exist in region one, so using some hypothetical made-up width is incorrect."
-          text run at (0,54) width 565: "The overflow should be spilling out of the top of region two and be painted in region one."
-      RenderBlock {DIV} at (0,88) size 784x306
-        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 402x202 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,304) size 2x2 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 400x300
-      RenderNamedFlowThread at (0,0) size 400x300
-        RenderBlock {DIV} at (0,0) size 400x177
-          RenderBlock {DIV} at (5,100) size 390x72 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (48,-99) size 294x170 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 291x54
-                RenderText {#text} at (0,0) size 291x53
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,18) width 291: "block in the second region and spill out of the"
-                  text run at (0,36) width 112: "top of the second "
-                  text run at (112,36) width 44: "region."
-              RenderBlock {P} at (1,99) size 291x54
-                RenderText {#text} at (0,0) size 291x53
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,18) width 291: "block in the second region and spill out of the"
-                  text run at (0,36) width 112: "top of the second "
-                  text run at (112,36) width 44: "region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index 5433359..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt b/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
deleted file mode 100644 (file)
index e5a031c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (754,0) size 46x600
-  RenderBlock {HTML} at (0,0) size 46x600 [border: (10px solid #800000)]
-    RenderBody {BODY} at (18,18) size 10x564 [border: (5px solid #000000)]
-layer at (296,100) size 404x404
-  RenderRegion {DIV} at (100,100) size 404x404 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'thread'
-    layer at (400,0) size 400x400
-      RenderNamedFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 336x400
-          RenderText {#text} at (0,0) size 336x399
-            text run at (0,0) width 399: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
-            text run at (24,0) width 399: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}"
-            text run at (48,0) width 399: "\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
-            text run at (72,0) width 397: "\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}"
-            text run at (96,0) width 399: "\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}"
-            text run at (120,0) width 378: "\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}"
-            text run at (144,0) width 383: "\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}"
-            text run at (168,0) width 399: "\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}"
-            text run at (192,0) width 397: "\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}"
-            text run at (216,0) width 397: "\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}"
-            text run at (240,0) width 399: "\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}"
-            text run at (264,0) width 399: "\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}"
-            text run at (288,0) width 383: "\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}"
-            text run at (312,0) width 336: "\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
-  Regions for flow 'thread'
-    RenderRegion {DIV}
-selection start: position 1 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 29 of child 0 {#text} of child 1 {DIV} of body
diff --git a/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png b/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png
deleted file mode 100644 (file)
index 07b21ec..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt b/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt
deleted file mode 100644 (file)
index a80ffcb..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
-      RenderBlock (anonymous) at (0,152) size 784x18
-        RenderBR {BR} at (0,0) size 0x17
-      RenderRegion {DIV} at (0,170) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 300x350
-      RenderNamedFlowThread at (0,0) size 300x350
-        RenderBlock {DIV} at (0,0) size 300x350
-          RenderBlock {DIV} at (0,0) size 300x350 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.png b/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.png
deleted file mode 100644 (file)
index e0ba9c9..0000000
Binary files a/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt b/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt
deleted file mode 100644 (file)
index c41ebdf..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 786x182 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 784x1180 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderNamedFlowThread at (0,0) size 784x1180
-    layer at (0,0) size 784x1200 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderBlock (relative positioned) {DIV} at (0,0) size 784x1200
-        RenderBlock {DIV} at (0,1000) size 784x200
-          RenderBlock {DIV} at (0,0) size 784x200 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
index b8a4441..11d7378 100644 (file)
 # Tests that require new results.
 #////////////////////////////////////////////////////////////////////////////////////////
 
+# Tests need new generated expected results
+webkit.org/b/121828 fast/regions/autoheight-regions-mark.html [ Missing ]
+webkit.org/b/121828 fast/regions/flows-dependency-dynamic-remove.html [ Missing ]
+webkit.org/b/121828 fast/regions/multiple-directionality-changes-in-variable-width-regions.html [ Missing ]
+webkit.org/b/121828 fast/regions/text-region-split-small-pagination.html [ Missing ]
+webkit.org/b/121828 fast/regions/top-overflow-out-of-second-region.html [ Missing ]
+webkit.org/b/121828 fast/repaint/japanese-rl-selection-repaint-in-regions.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-invalidation.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-via-layout.html [ Missing ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # Expected failures
 #////////////////////////////////////////////////////////////////////////////////////////
diff --git a/LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.png b/LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.png
deleted file mode 100644 (file)
index dc14b60..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.txt b/LayoutTests/platform/gtk/fast/regions/autoheight-regions-mark-expected.txt
deleted file mode 100644 (file)
index bc4164c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x116
-  RenderBlock {HTML} at (0,0) size 800x116
-    RenderBody {BODY} at (8,8) size 784x100
-      RenderRegion {DIV} at (0,0) size 50x50
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x50
-layer at (8,50) size 50x450
-  RenderRegion {DIV} at (8,50) size 50x450
-layer at (50,8) size 650x50
-  RenderRegion {DIV} at (50,8) size 650x50
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region
-  Thread with flow-name 'flow2'
-  Regions for flow 'flow2'
-    RenderRegion {DIV} #region2 hasAutoLogicalHeight
-  Thread with flow-name 'flow3'
-    layer at (0,0) size 50x450
-      RenderNamedFlowThread at (0,0) size 50x450
-  Regions for flow 'flow3'
-    RenderRegion {DIV} #region3 hasLayer
-  Thread with flow-name 'flow4'
-    layer at (0,0) size 650x50
-      RenderNamedFlowThread at (0,0) size 650x50
-  Regions for flow 'flow4'
-    RenderRegion {DIV} #region4 hasLayer
-  Thread with flow-name 'flow5'
-  Regions for flow 'flow5'
-    RenderRegion {DIV} #region5 hasAutoLogicalHeight
-  Thread with flow-name 'flow6'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow6'
-    RenderRegion {DIV} #region6
-  Thread with flow-name 'flow8'
-  Regions for flow 'flow8'
-    RenderRegion {DIV} #region8 invalid
-  Thread with flow-name 'flow7'
-  Regions for flow 'flow7'
-    RenderRegion {DIV} #region7 hasAutoLogicalHeight
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.png
deleted file mode 100644 (file)
index f48dc4c..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.txt b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-expected.txt
deleted file mode 100644 (file)
index 88df94b..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x191
-  RenderBlock {HTML} at (0,0) size 800x191
-    RenderBody {BODY} at (8,8) size 784x167
-      RenderBlock {DIV} at (0,0) size 784x17
-        RenderText {#text} at (0,0) size 766x17
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderRegion {DIV} at (0,17) size 300x100
-      RenderBlock {DIV} at (0,117) size 784x17
-        RenderText {#text} at (0,0) size 766x17
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderBlock {DIV} at (0,150) size 784x17 [color=#008000]
-        RenderBlock {P} at (0,0) size 784x17
-          RenderText {#text} at (0,0) size 79x17
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 300x100
-      RenderNamedFlowThread at (0,0) size 300x100
-        RenderBlock {DIV} at (0,16) size 300x17 [color=#008000]
-          RenderBlock {P} at (0,0) size 300x17
-            RenderText {#text} at (0,0) size 79x17
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.png b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.png
deleted file mode 100644 (file)
index d0e0097..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-expected.txt
deleted file mode 100644 (file)
index dcd8698..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 225x600
-  RenderBlock {HTML} at (0,0) size 225x600
-    RenderBody {BODY} at (8,8) size 201x584
-      RenderBlock {DIV} at (0,0) size 34x584
-        RenderText {#text} at (0,0) size 34x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (17,0) width 206: "copies of this content that match."
-      RenderRegion {DIV} at (34,0) size 100x300
-      RenderBlock {DIV} at (134,0) size 34x584
-        RenderText {#text} at (0,0) size 34x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (17,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (184,0) size 17x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 17x584
-          RenderText {#text} at (0,0) size 17x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 100x300
-      RenderNamedFlowThread at (0,0) size 100x300
-        RenderBlock {DIV} at (16,0) size 17x300 [color=#008000]
-          RenderBlock {P} at (0,0) size 17x300
-            RenderText {#text} at (0,0) size 17x79
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png
deleted file mode 100644 (file)
index d3dddcd..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt b/LayoutTests/platform/gtk/fast/regions/flow-content-basic-vertical-rl-expected.txt
deleted file mode 100644 (file)
index 4c9074f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (451,0) size 349x600
-  RenderBlock {HTML} at (0,0) size 349x600
-    RenderBody {BODY} at (8,8) size 325x584
-      RenderBlock {DIV} at (0,0) size 34x584
-        RenderText {#text} at (0,0) size 34x566
-          text run at (0,0) width 443: "The words \"flow content\" in green should display twice after this div, "
-          text run at (0,443) width 123: "and there should be"
-          text run at (17,0) width 234: "two copies of this content that match."
-      RenderRegion {DIV} at (34,0) size 112x312 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (146,0) size 112x312 [border: (1px solid #000000)]
-      RenderBlock {DIV} at (258,0) size 34x584
-        RenderText {#text} at (0,0) size 34x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (17,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (308,0) size 17x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 17x584
-          RenderText {#text} at (0,0) size 17x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (600,0) size 200x300
-      RenderNamedFlowThread at (0,0) size 200x300
-        RenderBlock {DIV} at (0,0) size 200x300 [color=#008000]
-          RenderBlock {DIV} at (0,0) size 100x300
-            RenderText {#text} at (0,0) size 17x107
-              text run at (0,0) width 107: "first flow content"
-          RenderBlock {DIV} at (100,0) size 100x300
-            RenderText {#text} at (0,0) size 17x127
-              text run at (0,0) width 127: "second flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png b/LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png
deleted file mode 100644 (file)
index dc14b60..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt b/LayoutTests/platform/gtk/fast/regions/flows-dependency-dynamic-remove-expected.txt
deleted file mode 100644 (file)
index 296e9e9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x16
-  RenderBlock {HTML} at (0,0) size 800x16
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 0x0
-Flow Threads
-  Thread with flow-name 'flowC'
-  Thread with flow-name 'flowA'
-  Regions for flow 'flowA'
-    RenderRegion {DIV}
-    RenderRegion {DIV}
-  Thread with flow-name 'flowB'
-  Regions for flow 'flowB'
-    RenderRegion {DIV}
diff --git a/LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png b/LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png
deleted file mode 100644 (file)
index b24c86a..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt b/LayoutTests/platform/gtk/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt
deleted file mode 100644 (file)
index 38a1af9..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x422
-  RenderBlock {HTML} at (0,0) size 800x422
-    RenderBody {BODY} at (8,8) size 784x406
-      RenderBlock {DIV} at (0,0) size 784x406
-        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 502x182 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,284) size 202x122 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 500x400
-      RenderNamedFlowThread at (0,0) size 500x400
-        RenderBlock {DIV} at (25,0) size 450x372
-          RenderBlock {DIV} at (27,15) size 396x342 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (40,11) size 316x242 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 314x91
-                RenderText {#text} at (-18,0) size 331x91
-                  text run at (-18,0) width 248: "This line of text should not get out of"
-                  text run at (-18,17) width 248: "the region. This line of text should not"
-                  text run at (-18,34) width 248: "get out of the region. This line of text"
-                  text run at (0,57) width 313: "should not get out of the region. This line of text"
-                  text run at (0,74) width 201: "should not get out of the region."
-              RenderBlock {P} at (1,124) size 314x68
-                RenderText {#text} at (0,0) size 313x68
-                  text run at (0,0) width 313: "This line of text should not get out of the region."
-                  text run at (0,17) width 313: "This line of text should not get out of the region."
-                  text run at (0,34) width 313: "This line of text should not get out of the region."
-                  text run at (0,51) width 304: "This line of text should not get out of the region."
-              RenderBlock {P} at (1,208) size 314x17
-                RenderText {#text} at (0,0) size 304x17
-                  text run at (0,0) width 304: "This line of text should not get out of the region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
index d9f3882..0aae03d 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,17) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
index d9f3882..0aae03d 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,17) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
diff --git a/LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.png b/LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.png
deleted file mode 100644 (file)
index d208cfc..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt b/LayoutTests/platform/gtk/fast/regions/text-region-split-small-pagination-expected.txt
deleted file mode 100644 (file)
index c574867..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x276
-  RenderBlock {HTML} at (0,0) size 800x276
-    RenderBody {BODY} at (8,16) size 784x244
-      RenderRegion {DIV} at (0,0) size 204x34 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,50) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,120) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,190) size 204x54 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 200x180
-      RenderNamedFlowThread at (0,0) size 200x180
-        RenderBlock {DIV} at (0,30) size 200x117
-          RenderBlock {P} at (0,0) size 200x117
-            RenderInline {B} at (0,0) size 111x17
-              RenderText {#text} at (0,0) size 111x17
-                text run at (0,0) width 111: "Text in region 2."
-            RenderText {#text} at (111,0) size 143x34
-              text run at (111,0) width 32: " This"
-              text run at (0,17) width 99: "paragraph has \""
-            RenderInline {I} at (0,0) size 196x50
-              RenderText {#text} at (99,17) size 196x50
-                text run at (99,17) width 97: "-webkit-region-"
-                text run at (0,50) width 123: "break-after: always"
-            RenderText {#text} at (123,50) size 15x17
-              text run at (123,50) width 15: "\". "
-            RenderInline {B} at (0,0) size 179x67
-              RenderText {#text} at (138,50) size 179x67
-                text run at (138,50) width 41: "There"
-                text run at (0,67) width 166: "should be nothing in this"
-                text run at (0,100) width 139: "region after this line."
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
-    RenderRegion {DIV} #region4
diff --git a/LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png b/LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png
deleted file mode 100644 (file)
index 0fd664a..0000000
Binary files a/LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt b/LayoutTests/platform/gtk/fast/regions/top-overflow-out-of-second-region-expected.txt
deleted file mode 100644 (file)
index 93e6425..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x414
-  RenderBlock {HTML} at (0,0) size 800x414
-    RenderBody {BODY} at (8,16) size 784x390
-      RenderBlock {P} at (0,0) size 784x68
-        RenderText {#text} at (0,0) size 779x68
-          text run at (0,0) width 775: "In the test case below, the green block's width should not vary and should use the second region to determine its width. It is"
-          text run at (0,17) width 731: "overflowing upwards out of the blue block, and so the portion that overflows should continue to use the blue block's"
-          text run at (0,34) width 779: "containing block width. The blue block does not exist in region one, so using some hypothetical made-up width is incorrect."
-          text run at (0,51) width 565: "The overflow should be spilling out of the top of region two and be painted in region one."
-      RenderBlock {DIV} at (0,84) size 784x306
-        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 402x202 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,304) size 2x2 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 400x300
-      RenderNamedFlowThread at (0,0) size 400x300
-        RenderBlock {DIV} at (0,0) size 400x174
-          RenderBlock {DIV} at (5,100) size 390x69 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (48,-99) size 294x167 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 291x51
-                RenderText {#text} at (0,0) size 291x51
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,17) width 291: "block in the second region and spill out of the"
-                  text run at (0,34) width 112: "top of the second "
-                  text run at (112,34) width 44: "region."
-              RenderBlock {P} at (1,99) size 291x51
-                RenderText {#text} at (0,0) size 291x51
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,17) width 291: "block in the second region and spill out of the"
-                  text run at (0,34) width 112: "top of the second "
-                  text run at (112,34) width 44: "region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index eb220c9..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt b/LayoutTests/platform/gtk/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
deleted file mode 100644 (file)
index c679d94..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (754,0) size 46x600
-  RenderBlock {HTML} at (0,0) size 46x600 [border: (10px solid #800000)]
-    RenderBody {BODY} at (18,18) size 10x564 [border: (5px solid #000000)]
-layer at (296,100) size 404x404
-  RenderRegion {DIV} at (100,100) size 404x404 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'thread'
-    layer at (400,0) size 400x400
-      RenderNamedFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 350x400
-          RenderText {#text} at (1,0) size 347x400
-            text run at (1,0) width 380: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
-            text run at (26,0) width 400: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}"
-            text run at (51,0) width 400: "\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}"
-            text run at (76,0) width 398: "\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}"
-            text run at (101,0) width 400: "\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}"
-            text run at (126,0) width 400: "\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}"
-            text run at (151,0) width 385: "\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}"
-            text run at (176,0) width 398: "\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}"
-            text run at (201,0) width 400: "\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}"
-            text run at (226,0) width 398: "\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}"
-            text run at (251,0) width 400: "\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}"
-            text run at (276,0) width 400: "\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}"
-            text run at (301,0) width 365: "\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}"
-            text run at (326,0) width 80: "\x{304F}\x{3001}\x{8A2A}\x{554F}"
-  Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
-selection start: position 70 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 230 of child 0 {#text} of child 1 {DIV} of body
index 8b8e860..9ee8d5e 100644 (file)
@@ -85,4 +85,4 @@ Flow Threads
                     text run at (6,448) width 93: "here; the great "
                     text run at (99,448) width 261: "wonder is, that there\x{2018}s any one left alive!\x{2019}"
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
index 8d4ce36..13a946b 100644 (file)
@@ -14,4 +14,4 @@ Flow Threads
             RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
         RenderBlock {DIV} at (0,0) size 100x50 [bgcolor=#FF0000]
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
diff --git a/LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.png b/LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.png
deleted file mode 100644 (file)
index 539fbda..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.txt b/LayoutTests/platform/gtk/fast/repaint/region-painting-invalidation-expected.txt
deleted file mode 100644 (file)
index b169e79..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
-      RenderBlock (anonymous) at (0,152) size 784x17
-        RenderBR {BR} at (0,0) size 0x17
-      RenderRegion {DIV} at (0,169) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 300x350
-      RenderNamedFlowThread at (0,0) size 300x350
-        RenderBlock {DIV} at (0,0) size 300x350
-          RenderBlock {DIV} at (0,0) size 300x350 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.png b/LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.png
deleted file mode 100644 (file)
index e0ba9c9..0000000
Binary files a/LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.txt b/LayoutTests/platform/gtk/fast/repaint/region-painting-via-layout-expected.txt
deleted file mode 100644 (file)
index 10d97fe..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 786x182 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 784x1180 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderNamedFlowThread at (0,0) size 784x1180
-    layer at (0,0) size 784x1200 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderBlock (relative positioned) {DIV} at (0,0) size 784x1200
-        RenderBlock {DIV} at (0,1000) size 784x200
-          RenderBlock {DIV} at (0,0) size 784x200 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1 hasLayer
-    RenderRegion {DIV} #region2
index a0409f6..4f989f6 100644 (file)
@@ -156,3 +156,6 @@ webkit.org/b/118870 [ Debug ] compositing/patterns/direct-pattern-compositing-pa
 webkit.org/b/118870 [ Debug ] compositing/patterns/direct-pattern-compositing-position.html [ ImageOnlyFailure ]
 webkit.org/b/118870 [ Debug ] compositing/patterns/direct-pattern-compositing-size.html [ ImageOnlyFailure ]   
 webkit.org/b/118870 [ Debug ] compositing/patterns/direct-pattern-compositing.html [ ImageOnlyFailure ]
+
+# Tests need new generated expected results
+webkit.org/b/121828 fast/repaint/japanese-rl-selection-repaint-in-regions.html [ Missing ]
diff --git a/LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index 190431e..0000000
Binary files a/LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt b/LayoutTests/platform/mac-lion/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
deleted file mode 100644 (file)
index e16ed8f..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (754,0) size 46x600
-  RenderBlock {HTML} at (0,0) size 46x600 [border: (10px solid #800000)]
-    RenderBody {BODY} at (18,18) size 10x564 [border: (5px solid #000000)]
-layer at (296,100) size 404x404
-  RenderRegion {DIV} at (100,100) size 404x404 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'thread'
-    layer at (400,0) size 400x400
-      RenderNamedFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 350x400
-          RenderText {#text} at (2,0) size 346x390
-            text run at (2,0) width 383: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
-            text run at (27,0) width 383: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}"
-            text run at (52,0) width 383: "\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
-            text run at (77,0) width 383: "\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}"
-            text run at (102,0) width 383: "\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}"
-            text run at (127,0) width 363: "\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}"
-            text run at (152,0) width 390: "\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}"
-            text run at (177,0) width 383: "\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}"
-            text run at (202,0) width 383: "\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}"
-            text run at (227,0) width 383: "\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}"
-            text run at (252,0) width 383: "\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}"
-            text run at (277,0) width 383: "\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}"
-            text run at (302,0) width 390: "\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}"
-            text run at (327,0) width 282: "\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
-  Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
-selection start: position 68 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 220 of child 0 {#text} of child 1 {DIV} of body
index 79cef83..f1ccc70 100644 (file)
@@ -330,7 +330,6 @@ webkit.org/b/118925 [ Debug ] css3/filters/custom/effect-custom-transform-parame
 webkit.org/b/118925 [ Debug ] fast/layers/no-clipping-overflow-hidden-added-after-transition.html  [ ImageOnlyFailure ]
 webkit.org/b/118925 [ Debug ] fast/multicol/mixed-opacity-fixed-test.html  [ ImageOnlyFailure ]
 webkit.org/b/118925 [ Debug ] fast/regions/fixed-pos-elem-in-region.html  [ ImageOnlyFailure ]
-webkit.org/b/118925 [ Debug ] fast/repaint/region-painting-in-composited-view.html  [ ImageOnlyFailure ]
 webkit.org/b/118925 [ Debug ] svg/repaint/buffered-rendering-static-image.html  [ ImageOnlyFailure ]
 
 # Only failing on WK1
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.png
deleted file mode 100644 (file)
index 12b6aa1..0000000
Binary files a/LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.txt b/LayoutTests/platform/mac/fast/regions/flow-content-basic-expected.txt
deleted file mode 100644 (file)
index 013558d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x194
-  RenderBlock {HTML} at (0,0) size 800x194
-    RenderBody {BODY} at (8,8) size 784x170
-      RenderBlock {DIV} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 766x18
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderRegion {DIV} at (0,18) size 300x100
-      RenderBlock {DIV} at (0,118) size 784x18
-        RenderText {#text} at (0,0) size 766x18
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (405,0) width 361: "and there should be two copies of this content that match."
-      RenderBlock {DIV} at (0,152) size 784x18 [color=#008000]
-        RenderBlock {P} at (0,0) size 784x18
-          RenderText {#text} at (0,0) size 79x18
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 300x100
-      RenderNamedFlowThread at (0,0) size 300x100
-        RenderBlock {DIV} at (0,16) size 300x18 [color=#008000]
-          RenderBlock {P} at (0,0) size 300x18
-            RenderText {#text} at (0,0) size 79x18
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.png b/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.png
deleted file mode 100644 (file)
index 1004c74..0000000
Binary files a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.txt b/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-expected.txt
deleted file mode 100644 (file)
index 4557b38..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 230x600
-  RenderBlock {HTML} at (0,0) size 230x600
-    RenderBody {BODY} at (8,8) size 206x584
-      RenderBlock {DIV} at (0,0) size 36x584
-        RenderText {#text} at (0,0) size 36x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderRegion {DIV} at (36,0) size 100x300
-      RenderBlock {DIV} at (136,0) size 36x584
-        RenderText {#text} at (0,0) size 36x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (188,0) size 18x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 18x584
-          RenderText {#text} at (0,0) size 18x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 100x300
-      RenderNamedFlowThread at (0,0) size 100x300
-        RenderBlock {DIV} at (16,0) size 18x300 [color=#008000]
-          RenderBlock {P} at (0,0) size 18x300
-            RenderText {#text} at (0,0) size 18x79
-              text run at (0,0) width 79: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png b/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png
deleted file mode 100644 (file)
index 262f161..0000000
Binary files a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt b/LayoutTests/platform/mac/fast/regions/flow-content-basic-vertical-rl-expected.txt
deleted file mode 100644 (file)
index fb1fc97..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (446,0) size 354x600
-  RenderBlock {HTML} at (0,0) size 354x600
-    RenderBody {BODY} at (8,8) size 330x584
-      RenderBlock {DIV} at (0,0) size 36x584
-        RenderText {#text} at (0,0) size 36x566
-          text run at (0,0) width 443: "The words \"flow content\" in green should display twice after this div, "
-          text run at (0,443) width 123: "and there should be"
-          text run at (18,0) width 234: "two copies of this content that match."
-      RenderRegion {DIV} at (36,0) size 112x312 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (148,0) size 112x312 [border: (1px solid #000000)]
-      RenderBlock {DIV} at (260,0) size 36x584
-        RenderText {#text} at (0,0) size 36x556
-          text run at (0,0) width 405: "The words \"flow content\" in green should display after this div, "
-          text run at (0,405) width 151: "and there should be two"
-          text run at (18,0) width 206: "copies of this content that match."
-      RenderBlock {DIV} at (312,0) size 18x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 18x584
-          RenderText {#text} at (0,0) size 18x79
-            text run at (0,0) width 79: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (600,0) size 200x300
-      RenderNamedFlowThread at (0,0) size 200x300
-        RenderBlock {DIV} at (0,0) size 200x300 [color=#008000]
-          RenderBlock {DIV} at (0,0) size 100x300
-            RenderText {#text} at (0,0) size 18x107
-              text run at (0,0) width 107: "first flow content"
-          RenderBlock {DIV} at (100,0) size 100x300
-            RenderText {#text} at (0,0) size 18x127
-              text run at (0,0) width 127: "second flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
index e7d8020..f8f305c 100644 (file)
@@ -4,9 +4,12 @@ layer at (0,0) size 800x422
   RenderBlock {HTML} at (0,0) size 800x422
     RenderBody {BODY} at (8,8) size 784x406
       RenderBlock {DIV} at (0,0) size 784x406
-        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 502x182 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,284) size 202x122 [border: (1px solid #000000)]
+layer at (8,8) size 402x102
+  RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
+layer at (8,110) size 502x182
+  RenderRegion {DIV} at (0,102) size 502x182 [border: (1px solid #000000)]
+layer at (8,292) size 202x122
+  RenderRegion {DIV} at (0,284) size 202x122 [border: (1px solid #000000)]
 Flow Threads
   Thread with flow-name 'flow1'
     layer at (0,0) size 500x400
index cb275d3..ad7f2ae 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,18) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
index cb275d3..ad7f2ae 100644 (file)
@@ -22,4 +22,4 @@ Flow Threads
             text run at (0,0) width 76: "some text to"
             text run at (0,18) width 29: "flow"
   Regions for flow 'namedFlow'
-    RenderRegion {DIV} #region hasLayer
+    RenderRegion {DIV} #region
index fcfba31..af33865 100644 (file)
@@ -3,10 +3,14 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x276
   RenderBlock {HTML} at (0,0) size 800x276
     RenderBody {BODY} at (8,16) size 784x244
-      RenderRegion {DIV} at (0,0) size 204x34 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,50) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,120) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,190) size 204x54 [border: (2px solid #000000)]
+layer at (8,16) size 204x34
+  RenderRegion {DIV} at (0,0) size 204x34 [border: (2px solid #000000)]
+layer at (8,66) size 204x54
+  RenderRegion {DIV} at (0,50) size 204x54 [border: (2px solid #000000)]
+layer at (8,136) size 204x54
+  RenderRegion {DIV} at (0,120) size 204x54 [border: (2px solid #000000)]
+layer at (8,206) size 204x54
+  RenderRegion {DIV} at (0,190) size 204x54 [border: (2px solid #000000)]
 Flow Threads
   Thread with flow-name 'flow'
     layer at (0,0) size 200x180
index 93dda9e..d863702 100644 (file)
@@ -10,9 +10,12 @@ layer at (0,0) size 800x418
           text run at (0,36) width 779: "containing block width. The blue block does not exist in region one, so using some hypothetical made-up width is incorrect."
           text run at (0,54) width 565: "The overflow should be spilling out of the top of region two and be painted in region one."
       RenderBlock {DIV} at (0,88) size 784x306
-        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 402x202 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,304) size 2x2 [border: (1px solid #000000)]
+layer at (8,104) size 302x102
+  RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
+layer at (8,206) size 402x202
+  RenderRegion {DIV} at (0,102) size 402x202 [border: (1px solid #000000)]
+layer at (8,408) size 2x2
+  RenderRegion {DIV} at (0,304) size 2x2 [border: (1px solid #000000)]
 Flow Threads
   Thread with flow-name 'flow1'
     layer at (0,0) size 400x300
diff --git a/LayoutTests/platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index b8d5960..0000000
Binary files a/LayoutTests/platform/mac/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
index af15e75..6d7eb27 100644 (file)
@@ -26,6 +26,6 @@ Flow Threads
             text run at (302,0) width 367: "\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}"
             text run at (327,0) width 80: "\x{304F}\x{3001}\x{8A2A}\x{554F}"
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
 selection start: position 70 of child 0 {#text} of child 1 {DIV} of body
 selection end:   position 230 of child 0 {#text} of child 1 {DIV} of body
index 05110ee..1ed98e5 100644 (file)
@@ -85,4 +85,4 @@ Flow Threads
                     text run at (6,474) width 93: "here; the great "
                     text run at (99,474) width 261: "wonder is, that there\x{2018}s any one left alive!\x{2019}"
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
index 5acf2dd..ecdca42 100644 (file)
@@ -3,10 +3,12 @@ layer at (0,0) size 800x600
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
       RenderBlock (anonymous) at (0,152) size 784x18
         RenderBR {BR} at (0,0) size 0x18
-      RenderRegion {DIV} at (0,170) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
+layer at (8,8) size 302x152
+  RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
+layer at (8,178) size 302x202
+  RenderRegion {DIV} at (0,170) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
 Flow Threads
   Thread with flow-name 'flow1'
     layer at (0,0) size 300x350
index 77c3eb4..9a48e23 100644 (file)
@@ -1007,6 +1007,13 @@ webkit.org/b/76986 scrollbars/scroll-rtl-or-bt-layer.html
 # [Qt] Images scale differently in WK1 and WK2
 webkit.org/b/92015 tables/mozilla_expected_failures/bugs/bug85016.html
 
+# Tests need new generated expected results
+webkit.org/b/121828 fast/regions/multiple-directionality-changes-in-variable-width-regions.html [ Missing ]
+webkit.org/b/121828 fast/regions/text-region-split-small-pagination.html [ Missing ]
+webkit.org/b/121828 fast/regions/top-overflow-out-of-second-region.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-invalidation.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-via-layout.html [ Missing ]
+
 # =========================================================================== #
 # - Regressions occured after Qt version update
 # =========================================================================== #
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-expected.png
deleted file mode 100644 (file)
index b47f56a..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png
deleted file mode 100644 (file)
index 116419f..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png
deleted file mode 100644 (file)
index ace7867..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/flow-content-basic-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png
deleted file mode 100644 (file)
index b2a72ca..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png
deleted file mode 100644 (file)
index fb25ef4..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/text-region-split-small-pagination-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png b/LayoutTests/platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png
deleted file mode 100644 (file)
index 74c65c8..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/regions/top-overflow-out-of-second-region-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png b/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png
deleted file mode 100644 (file)
index 7703ebb..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt b/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-invalidation-expected.txt
deleted file mode 100644 (file)
index 89fc39f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
-      RenderBlock (anonymous) at (0,152) size 784x19
-        RenderBR {BR} at (0,0) size 0x19
-      RenderRegion {DIV} at (0,171) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 300x350
-      RenderNamedFlowThread at (0,0) size 300x350
-        RenderBlock {DIV} at (0,0) size 300x350
-          RenderBlock {DIV} at (0,0) size 300x350 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png b/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png
deleted file mode 100644 (file)
index bec3dbc..0000000
Binary files a/LayoutTests/platform/qt-wk2/fast/repaint/region-painting-via-layout-expected.png and /dev/null differ
index 5c657c4..efa3336 100644 (file)
@@ -2796,3 +2796,12 @@ webkit.org/b/120671 editing/style/make-text-writing-direction-inline-win.html [
 
 # REGRESSION(r155771): js/stack-overflow-arrity-catch.html is crashing on non-Mac platforms
 webkit.org/b/121376 js/stack-overflow-arrity-catch.html [ Skip ]
+
+# Tests need new generated expected results
+webkit.org/b/121828 fast/regions/autoheight-regions-mark.html [ Missing ]
+webkit.org/b/121828 fast/regions/flows-dependency-dynamic-remove.html [ Missing ]
+webkit.org/b/121828 fast/regions/multiple-directionality-changes-in-variable-width-regions.html [ Missing ]
+webkit.org/b/121828 fast/regions/text-region-split-small-pagination.html [ Missing ]
+webkit.org/b/121828 fast/regions/top-overflow-out-of-second-region.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-invalidation.html [ Missing ]
+webkit.org/b/121828 fast/repaint/region-painting-via-layout.html [ Missing ]
diff --git a/LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.png b/LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.png
deleted file mode 100644 (file)
index 134c1c4..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.txt b/LayoutTests/platform/qt/fast/regions/autoheight-regions-mark-expected.txt
deleted file mode 100644 (file)
index bc4164c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x116
-  RenderBlock {HTML} at (0,0) size 800x116
-    RenderBody {BODY} at (8,8) size 784x100
-      RenderRegion {DIV} at (0,0) size 50x50
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x0
-      RenderRegion {DIV} at (0,50) size 50x50
-layer at (8,50) size 50x450
-  RenderRegion {DIV} at (8,50) size 50x450
-layer at (50,8) size 650x50
-  RenderRegion {DIV} at (50,8) size 650x50
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region
-  Thread with flow-name 'flow2'
-  Regions for flow 'flow2'
-    RenderRegion {DIV} #region2 hasAutoLogicalHeight
-  Thread with flow-name 'flow3'
-    layer at (0,0) size 50x450
-      RenderNamedFlowThread at (0,0) size 50x450
-  Regions for flow 'flow3'
-    RenderRegion {DIV} #region3 hasLayer
-  Thread with flow-name 'flow4'
-    layer at (0,0) size 650x50
-      RenderNamedFlowThread at (0,0) size 650x50
-  Regions for flow 'flow4'
-    RenderRegion {DIV} #region4 hasLayer
-  Thread with flow-name 'flow5'
-  Regions for flow 'flow5'
-    RenderRegion {DIV} #region5 hasAutoLogicalHeight
-  Thread with flow-name 'flow6'
-    layer at (0,0) size 50x50
-      RenderNamedFlowThread at (0,0) size 50x50
-  Regions for flow 'flow6'
-    RenderRegion {DIV} #region6
-  Thread with flow-name 'flow8'
-  Regions for flow 'flow8'
-    RenderRegion {DIV} #region8 invalid
-  Thread with flow-name 'flow7'
-  Regions for flow 'flow7'
-    RenderRegion {DIV} #region7 hasAutoLogicalHeight
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.png
deleted file mode 100644 (file)
index 410aa76..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.txt b/LayoutTests/platform/qt/fast/regions/flow-content-basic-expected.txt
deleted file mode 100644 (file)
index 255c117..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x197
-  RenderBlock {HTML} at (0,0) size 800x197
-    RenderBody {BODY} at (8,8) size 784x173
-      RenderBlock {DIV} at (0,0) size 784x19
-        RenderText {#text} at (0,0) size 724x19
-          text run at (0,0) width 378: "The words \"flow content\" in green should display after this div, "
-          text run at (378,0) width 346: "and there should be two copies of this content that match."
-      RenderRegion {DIV} at (0,19) size 300x100
-      RenderBlock {DIV} at (0,119) size 784x19
-        RenderText {#text} at (0,0) size 724x19
-          text run at (0,0) width 378: "The words \"flow content\" in green should display after this div, "
-          text run at (378,0) width 346: "and there should be two copies of this content that match."
-      RenderBlock {DIV} at (0,154) size 784x19 [color=#008000]
-        RenderBlock {P} at (0,0) size 784x19
-          RenderText {#text} at (0,0) size 74x19
-            text run at (0,0) width 74: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 300x100
-      RenderNamedFlowThread at (0,0) size 300x100
-        RenderBlock {DIV} at (0,16) size 300x19 [color=#008000]
-          RenderBlock {P} at (0,0) size 300x19
-            RenderText {#text} at (0,0) size 74x19
-              text run at (0,0) width 74: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.png b/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.png
deleted file mode 100644 (file)
index c450b9b..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.txt b/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-expected.txt
deleted file mode 100644 (file)
index ce4914c..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 235x600
-  RenderBlock {HTML} at (0,0) size 235x600
-    RenderBody {BODY} at (8,8) size 211x584
-      RenderBlock {DIV} at (0,0) size 38x584
-        RenderText {#text} at (0,0) size 38x582
-          text run at (0,0) width 378: "The words \"flow content\" in green should display after this div, "
-          text run at (0,378) width 204: "and there should be two copies of"
-          text run at (19,0) width 138: "this content that match."
-      RenderRegion {DIV} at (38,0) size 100x300
-      RenderBlock {DIV} at (138,0) size 38x584
-        RenderText {#text} at (0,0) size 38x582
-          text run at (0,0) width 378: "The words \"flow content\" in green should display after this div, "
-          text run at (0,378) width 204: "and there should be two copies of"
-          text run at (19,0) width 138: "this content that match."
-      RenderBlock {DIV} at (192,0) size 19x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 19x584
-          RenderText {#text} at (0,0) size 19x74
-            text run at (0,0) width 74: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (0,0) size 100x300
-      RenderNamedFlowThread at (0,0) size 100x300
-        RenderBlock {DIV} at (16,0) size 19x300 [color=#008000]
-          RenderBlock {P} at (0,0) size 19x300
-            RenderText {#text} at (0,0) size 19x74
-              text run at (0,0) width 74: "flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png b/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png
deleted file mode 100644 (file)
index 8bf0d88..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt b/LayoutTests/platform/qt/fast/regions/flow-content-basic-vertical-rl-expected.txt
deleted file mode 100644 (file)
index 107dd07..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (441,0) size 359x600
-  RenderBlock {HTML} at (0,0) size 359x600
-    RenderBody {BODY} at (8,8) size 335x584
-      RenderBlock {DIV} at (0,0) size 38x584
-        RenderText {#text} at (0,0) size 38x559
-          text run at (0,0) width 414: "The words \"flow content\" in green should display twice after this div, "
-          text run at (0,414) width 145: "and there should be two"
-          text run at (19,0) width 197: "copies of this content that match."
-      RenderRegion {DIV} at (38,0) size 112x312 [border: (1px solid #000000)]
-      RenderRegion {DIV} at (150,0) size 112x312 [border: (1px solid #000000)]
-      RenderBlock {DIV} at (262,0) size 38x584
-        RenderText {#text} at (0,0) size 38x582
-          text run at (0,0) width 378: "The words \"flow content\" in green should display after this div, "
-          text run at (0,378) width 204: "and there should be two copies of"
-          text run at (19,0) width 138: "this content that match."
-      RenderBlock {DIV} at (316,0) size 19x584 [color=#008000]
-        RenderBlock {P} at (0,0) size 19x584
-          RenderText {#text} at (0,0) size 19x74
-            text run at (0,0) width 74: "flow content"
-Flow Threads
-  Thread with flow-name 'main-thread'
-    layer at (600,0) size 200x300
-      RenderNamedFlowThread at (0,0) size 200x300
-        RenderBlock {DIV} at (0,0) size 200x300 [color=#008000]
-          RenderBlock {DIV} at (0,0) size 100x300
-            RenderText {#text} at (0,0) size 19x100
-              text run at (0,0) width 100: "first flow content"
-          RenderBlock {DIV} at (100,0) size 100x300
-            RenderText {#text} at (0,0) size 19x121
-              text run at (0,0) width 121: "second flow content"
-  Regions for flow 'main-thread'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png b/LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png
deleted file mode 100644 (file)
index 134c1c4..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt b/LayoutTests/platform/qt/fast/regions/flows-dependency-dynamic-remove-expected.txt
deleted file mode 100644 (file)
index 296e9e9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x16
-  RenderBlock {HTML} at (0,0) size 800x16
-    RenderBody {BODY} at (8,8) size 784x0
-      RenderRegion {DIV} at (0,0) size 0x0
-Flow Threads
-  Thread with flow-name 'flowC'
-  Thread with flow-name 'flowA'
-  Regions for flow 'flowA'
-    RenderRegion {DIV}
-    RenderRegion {DIV}
-  Thread with flow-name 'flowB'
-  Regions for flow 'flowB'
-    RenderRegion {DIV}
diff --git a/LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png b/LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png
deleted file mode 100644 (file)
index 85ffda1..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt b/LayoutTests/platform/qt/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt
deleted file mode 100644 (file)
index 282dac2..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x422
-  RenderBlock {HTML} at (0,0) size 800x422
-    RenderBody {BODY} at (8,8) size 784x406
-      RenderBlock {DIV} at (0,0) size 784x406
-        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 502x182 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,284) size 202x122 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 500x400
-      RenderNamedFlowThread at (0,0) size 500x400
-        RenderBlock {DIV} at (25,0) size 450x372
-          RenderBlock {DIV} at (27,15) size 396x342 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (40,11) size 316x256 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 314x95
-                RenderText {#text} at (-18,0) size 331x95
-                  text run at (-18,0) width 248: "This line of text should not get out of the"
-                  text run at (-18,19) width 248: "region. This line of text should not get out"
-                  text run at (-18,38) width 248: "of the region. This line of text should not"
-                  text run at (0,57) width 313: "get out of the region. This line of text should not get"
-                  text run at (0,76) width 102: "out of the region."
-              RenderBlock {P} at (1,128) size 314x76
-                RenderText {#text} at (0,0) size 313x76
-                  text run at (0,0) width 313: "This line of text should not get out of the region."
-                  text run at (0,19) width 313: "This line of text should not get out of the region."
-                  text run at (0,38) width 313: "This line of text should not get out of the region."
-                  text run at (0,57) width 285: "This line of text should not get out of the region."
-              RenderBlock {P} at (1,220) size 314x19
-                RenderText {#text} at (0,0) size 285x19
-                  text run at (0,0) width 285: "This line of text should not get out of the region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.png b/LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.png
deleted file mode 100644 (file)
index 1ffb8c9..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.txt b/LayoutTests/platform/qt/fast/regions/text-region-split-small-pagination-expected.txt
deleted file mode 100644 (file)
index 62e7054..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x276
-  RenderBlock {HTML} at (0,0) size 800x276
-    RenderBody {BODY} at (8,16) size 784x244
-      RenderRegion {DIV} at (0,0) size 204x34 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,50) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,120) size 204x54 [border: (2px solid #000000)]
-      RenderRegion {DIV} at (0,190) size 204x54 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow'
-    layer at (0,0) size 200x180
-      RenderNamedFlowThread at (0,0) size 200x180
-        RenderBlock {DIV} at (0,30) size 200x119
-          RenderBlock {P} at (0,0) size 200x119
-            RenderInline {B} at (0,0) size 109x19
-              RenderText {#text} at (0,0) size 109x19
-                text run at (0,0) width 109: "Text in region 2."
-            RenderText {#text} at (109,0) size 138x38
-              text run at (109,0) width 29: " This"
-              text run at (0,19) width 94: "paragraph has \""
-            RenderInline {I} at (0,0) size 193x50
-              RenderText {#text} at (94,19) size 193x50
-                text run at (94,19) width 99: "-webkit-region-"
-                text run at (0,50) width 126: "break-after: always"
-            RenderText {#text} at (126,50) size 13x19
-              text run at (126,50) width 13: "\". "
-            RenderInline {B} at (0,0) size 179x69
-              RenderText {#text} at (139,50) size 179x69
-                text run at (139,50) width 40: "There"
-                text run at (0,69) width 160: "should be nothing in this"
-                text run at (0,100) width 138: "region after this line."
-  Regions for flow 'flow'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
-    RenderRegion {DIV} #region4
diff --git a/LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png b/LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png
deleted file mode 100644 (file)
index 6f2d745..0000000
Binary files a/LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt b/LayoutTests/platform/qt/fast/regions/top-overflow-out-of-second-region-expected.txt
deleted file mode 100644 (file)
index fd97f2c..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x422
-  RenderBlock {HTML} at (0,0) size 800x422
-    RenderBody {BODY} at (8,16) size 784x398
-      RenderBlock {P} at (0,0) size 784x76
-        RenderText {#text} at (0,0) size 759x76
-          text run at (0,0) width 740: "In the test case below, the green block's width should not vary and should use the second region to determine its width. It is"
-          text run at (0,19) width 759: "overflowing upwards out of the blue block, and so the portion that overflows should continue to use the blue block's containing"
-          text run at (0,38) width 758: "block width. The blue block does not exist in region one, so using some hypothetical made-up width is incorrect. The overflow"
-          text run at (0,57) width 449: "should be spilling out of the top of region two and be painted in region one."
-      RenderBlock {DIV} at (0,92) size 784x306
-        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,102) size 402x202 [border: (1px solid #000000)]
-        RenderRegion {DIV} at (0,304) size 2x2 [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 400x300
-      RenderNamedFlowThread at (0,0) size 400x300
-        RenderBlock {DIV} at (0,0) size 400x180
-          RenderBlock {DIV} at (5,100) size 390x75 [border: (1px solid #0000FF)]
-            RenderBlock {DIV} at (48,-99) size 294x173 [border: (1px solid #008000)]
-              RenderBlock {P} at (1,17) size 291x57
-                RenderText {#text} at (0,0) size 291x57
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,19) width 291: "block in the second region and spill out of the"
-                  text run at (0,38) width 109: "top of the second "
-                  text run at (109,38) width 41: "region."
-              RenderBlock {P} at (1,99) size 291x57
-                RenderText {#text} at (0,0) size 291x57
-                  text run at (0,0) width 291: "These lines should all fit to the width of the"
-                  text run at (0,19) width 291: "block in the second region and spill out of the"
-                  text run at (0,38) width 109: "top of the second "
-                  text run at (109,38) width 41: "region."
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
-    RenderRegion {DIV} #region3
index 4cf1724..8d9a415 100644 (file)
@@ -79,4 +79,4 @@ Flow Threads
                     text run at (6,462) width 406: "They\x{2019}re dreadfully fond of beheading people here; the great"
                     text run at (6,481) width 248: "wonder is, that there\x{2018}s any one left alive!\x{2019}"
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
index 8d4ce36..13a946b 100644 (file)
@@ -14,4 +14,4 @@ Flow Threads
             RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
         RenderBlock {DIV} at (0,0) size 100x50 [bgcolor=#FF0000]
   Regions for flow 'thread'
-    RenderRegion {DIV} hasLayer
+    RenderRegion {DIV}
diff --git a/LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.png b/LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.png
deleted file mode 100644 (file)
index 49a2fcc..0000000
Binary files a/LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.txt b/LayoutTests/platform/qt/fast/repaint/region-painting-invalidation-expected.txt
deleted file mode 100644 (file)
index 89fc39f..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
-      RenderBlock (anonymous) at (0,152) size 784x19
-        RenderBR {BR} at (0,0) size 0x19
-      RenderRegion {DIV} at (0,171) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 300x350
-      RenderNamedFlowThread at (0,0) size 300x350
-        RenderBlock {DIV} at (0,0) size 300x350
-          RenderBlock {DIV} at (0,0) size 300x350 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.png b/LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.png
deleted file mode 100644 (file)
index 68bc287..0000000
Binary files a/LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.txt b/LayoutTests/platform/qt/fast/repaint/region-painting-via-layout-expected.txt
deleted file mode 100644 (file)
index 10d97fe..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderRegion {DIV} at (0,0) size 786x182 [bgcolor=#FF0000] [border: (1px solid #000000)]
-Flow Threads
-  Thread with flow-name 'flow1'
-    layer at (0,0) size 784x1180 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderNamedFlowThread at (0,0) size 784x1180
-    layer at (0,0) size 784x1200 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderBlock (relative positioned) {DIV} at (0,0) size 784x1200
-        RenderBlock {DIV} at (0,1000) size 784x200
-          RenderBlock {DIV} at (0,0) size 784x200 [bgcolor=#008000]
-  Regions for flow 'flow1'
-    RenderRegion {DIV} #region1 hasLayer
-    RenderRegion {DIV} #region2
diff --git a/LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png b/LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png
deleted file mode 100644 (file)
index 86dfdc6..0000000
Binary files a/LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt b/LayoutTests/platform/win/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt
deleted file mode 100644 (file)
index 13908a0..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (754,0) size 46x600
-  RenderBlock {HTML} at (0,0) size 46x600 [border: (10px solid #800000)]
-    RenderBody {BODY} at (18,18) size 10x564 [border: (5px solid #000000)]
-layer at (296,100) size 404x404
-  RenderRegion {DIV} at (100,100) size 404x404 [border: (2px solid #000000)]
-Flow Threads
-  Thread with flow-name 'thread'
-    layer at (400,0) size 400x400
-      RenderNamedFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 312x400
-          RenderText {#text} at (0,0) size 312x398
-            text run at (0,0) width 364: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
-            text run at (24,0) width 387: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}"
-            text run at (48,0) width 388: "\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}"
-            text run at (72,0) width 397: "\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}"
-            text run at (96,0) width 398: "\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}"
-            text run at (120,0) width 384: "\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}"
-            text run at (144,0) width 397: "\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}"
-            text run at (168,0) width 393: "\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}"
-            text run at (192,0) width 395: "\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}"
-            text run at (216,0) width 389: "\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}"
-            text run at (240,0) width 391: "\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}"
-            text run at (264,0) width 393: "\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}"
-            text run at (288,0) width 197: "\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
-  Regions for flow 'thread'
-    RenderRegion {DIV}
-selection start: position 1 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 30 of child 0 {#text} of child 1 {DIV} of body
index 7ce15ff..7cb18fe 100644 (file)
@@ -1,3 +1,36 @@
+2013-10-02  Mihai Maerean  <mmaerean@adobe.com>
+
+        [CSS Regions] Activate all regions to have layers, as CSS Regions create a new stacking context
+        https://bugs.webkit.org/show_bug.cgi?id=121828
+
+        Reviewed by Darin Adler.
+
+        The CSS Regions specification says "CSS Regions create a new stacking context." (http://dev.w3.org/csswg/css-regions/).
+
+        Divs that create stacking contexts are painted after the divs that don't create stacking contexts.
+
+        Test: fast/regions/layers/stacking-context-paint-order.html: While the existing region-sibling-paint-order.html
+        test verifies that regions paint correctly when the next sibling also creates a stacking context, this new test
+        verifies that regions paint correctly when the next sibling doesn't create a stacking context.
+
+        * rendering/RenderBlock.cpp: Remove code that is not needed now that all regions have layers.
+        * rendering/RenderBlock.h: Remove code that is not needed now that all regions have layers.
+        * rendering/RenderBox.cpp: Remove code that is not needed now that all regions have layers.
+        * rendering/RenderBox.h: Remove code that is not needed now that all regions have layers.
+        * rendering/RenderFlowThread.cpp:
+        (WebCore::RenderFlowThread::updateLayerToRegionMappings): Remove code that is not needed now that all regions have layers.
+        * rendering/RenderRegion.cpp:
+        (WebCore::RenderRegion::RenderRegion):
+        * rendering/RenderRegion.h:
+        (WebCore::RenderRegion::requiresLayer): Always. CSS Regions create Stacking Contexts. RenderMultiColumnSet
+        implements its own behaviour so the behaviour of each class is contained within its own files.
+        * rendering/RenderMultiColumnSet.h:
+        (WebCore::RenderMultiColumnSet::requiresLayer): RenderMultiColumnSet derives from RenderRegion, but unlike the
+        CSS Regions specification, the Multi-Columns CSS specification states that the column boxes do not establish new
+        Stacking Contexts.
+        * rendering/RenderTreeAsText.cpp:
+        (WebCore::writeRenderRegionList): There's no need to output " hasLayer" since all regions now have layers.
+
 2013-10-02  Renata Hodovan  <reni@webkit.org>
 
         HTML listbox is not resized horizontally when zooming
index 4c9756b..3ba36e7 100644 (file)
@@ -3971,64 +3971,6 @@ void RenderBlock::markSiblingsWithFloatsForLayout(RenderBox* floatToRemove)
     }
 }
 
-void RenderBlock::updateFloatingObjectsPaintingContainer(RenderBox* floatToUpdate)
-{
-    bool didFindPaintContainer = false;
-    updateFloatingObjectsPaintingContainer(floatToUpdate, didFindPaintContainer);
-    ASSERT(didFindPaintContainer || floatToUpdate->hasSelfPaintingLayer());
-}
-
-void RenderBlock::updateFloatingObjectsPaintingContainer(RenderBox* floatToUpdate, bool& didFindPaintContainer)
-{
-    if (needsLayout()) {
-        // The floating object update should only be required after the layout is already complete.
-        ASSERT_NOT_REACHED();
-        return;
-    }
-    if (!m_floatingObjects)
-        return;
-    updateAllDescendantsFloatingObjectsPaintingContainer(floatToUpdate, didFindPaintContainer);
-    for (RenderObject* next = nextSibling(); next; next = next->nextSibling()) {
-        if (!next->isRenderBlock() || next->isFloatingOrOutOfFlowPositioned() || toRenderBlock(next)->avoidsFloats())
-            continue;
-        RenderBlock* nextBlock = toRenderBlock(next);
-        if (nextBlock->containsFloat(floatToUpdate))
-            nextBlock->updateAllDescendantsFloatingObjectsPaintingContainer(floatToUpdate, didFindPaintContainer);
-    }
-}
-
-void RenderBlock::updateLocalFloatingObjectsForPaintingContainer(RenderBox* floatToUpdate, bool& foundPaintContainer)
-{
-    ASSERT(!needsLayout());
-    if (!m_floatingObjects)
-        return;
-    auto iterator = m_floatingObjects->set().find<RenderBox&, FloatingObjectHashTranslator>(*floatToUpdate);
-    if (iterator != m_floatingObjects->set().end()) {
-        bool shouldPaint = !foundPaintContainer && !floatToUpdate->hasSelfPaintingLayer() && floatToUpdate->enclosingFloatPaintingLayer() == enclosingFloatPaintingLayer();
-        foundPaintContainer |= shouldPaint;
-        (*iterator)->setShouldPaint(shouldPaint);
-    }
-}
-
-void RenderBlock::updateAllDescendantsFloatingObjectsPaintingContainer(RenderBox* floatToUpdate, bool& didFindPaintContainer)
-{
-    if (needsLayout()) {
-        // The floating object update should only be required after the layout is already complete.
-        ASSERT_NOT_REACHED();
-        return;
-    }
-    updateLocalFloatingObjectsForPaintingContainer(floatToUpdate, didFindPaintContainer);
-    if (childrenInline())
-        return;
-    for (RenderObject* child = firstChild(); child; child = child->nextSibling()) {
-        if (!child->isRenderBlock())
-            continue;
-        RenderBlock* childBlock = toRenderBlock(child);
-        if (childBlock->containsFloat(floatToUpdate))
-            childBlock->updateAllDescendantsFloatingObjectsPaintingContainer(floatToUpdate, didFindPaintContainer);
-    }
-}
-
 LayoutUnit RenderBlock::getClearDelta(RenderBox* child, LayoutUnit logicalTop)
 {
     // There is no need to compute clearance if we have no floats.
index 1bb1cb8..cd70b85 100644 (file)
@@ -162,8 +162,6 @@ public:
 
     bool generatesLineBoxesForInlineChild(RenderObject*);
 
-    void updateFloatingObjectsPaintingContainer(RenderBox* floatToUpdate);
-
     void markAllDescendantsWithFloatsForLayout(RenderBox* floatToRemove = 0, bool inLayout = true);
     void markSiblingsWithFloatsForLayout(RenderBox* floatToRemove = 0);
     void markPositionedObjectsForLayout();
@@ -669,11 +667,6 @@ private:
 
     LayoutUnit lowestFloatLogicalBottom(FloatingObject::Type = FloatingObject::FloatLeftRight) const; 
     LayoutUnit nextFloatLogicalBottomBelow(LayoutUnit, ShapeOutsideFloatOffsetMode = ShapeOutsideFloatMarginBoxOffset) const;
-
-    void updateLocalFloatingObjectsForPaintingContainer(RenderBox* floatToUpdate, bool& didFindPaintContainer);
-    void updateFloatingObjectsPaintingContainer(RenderBox* floatToUpdate, bool& didFindPaintContainer);
-    void updateAllDescendantsFloatingObjectsPaintingContainer(RenderBox* floatToUpdate, bool& didFindPaintContainer);
-
     
     bool hitTestColumns(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
     virtual bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
index f80f6dd..2ea3dac 100644 (file)
@@ -260,21 +260,6 @@ void RenderBox::removeFloatingOrPositionedChildFromBlockLists()
         RenderBlock::removePositionedObject(this);
 }
 
-void RenderBox::updatePaintingContainerForFloatingObject()
-{
-    ASSERT(isFloating());
-    if (RenderBlock* parentBlock = outermostBlockContainingFloatingObject())
-        parentBlock->updateFloatingObjectsPaintingContainer(this);
-}
-
-bool RenderBox::updateLayerIfNeeded()
-{
-    bool didUpdateLayer = RenderBoxModelObject::updateLayerIfNeeded();
-    if (didUpdateLayer && isFloating())
-        updatePaintingContainerForFloatingObject();
-    return didUpdateLayer;
-}
-
 void RenderBox::styleWillChange(StyleDifference diff, const RenderStyle* newStyle)
 {
     s_hadOverflowClip = hasOverflowClip();
index d2afd5b..d303336 100644 (file)
@@ -504,8 +504,6 @@ public:
     virtual VisiblePosition positionForPoint(const LayoutPoint&);
 
     RenderBlock* outermostBlockContainingFloatingObject();
-    void updatePaintingContainerForFloatingObject();
-    virtual bool updateLayerIfNeeded();
 
     void removeFloatingOrPositionedChildFromBlockLists();
     
index f148166..c95a7d8 100644 (file)
@@ -316,11 +316,6 @@ bool RenderFlowThread::updateLayerToRegionMappings()
         if (!m_layerToRegionMap)
             m_layerToRegionMap = adoptPtr(new LayerToRegionMap());
         m_layerToRegionMap->swap(layerToRegionMap);
-
-        for (RenderRegionList::iterator iter = m_regionList.begin(); iter != m_regionList.end(); ++iter) {
-            RenderRegion* region = *iter;
-            region->setRequiresLayerForCompositing(regionToLayerListMap.contains(region));
-        }
     }
 
     m_layersToRegionMappingsDirty = false;
index 2f4898f..662364b 100644 (file)
@@ -118,6 +118,10 @@ private:
     
     virtual void repaintFlowThreadContent(const LayoutRect& repaintRect, bool immediate) const OVERRIDE;
 
+    // RenderMultiColumnSet derives from RenderRegion, but unlike the CSS Regions specification, the Multi-Columns CSS
+    // specification states that the column boxes do not establish new Stacking Contexts.
+    virtual bool requiresLayer() const OVERRIDE FINAL { return RenderBlockFlow::requiresLayer(); }
+
     virtual void collectLayerFragments(LayerFragments&, const LayoutRect& layerBoundingBox, const LayoutRect& dirtyRect) OVERRIDE;
 
     virtual const char* renderName() const;
index ac7ffb3..cee23e2 100644 (file)
@@ -55,9 +55,6 @@ RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread)
     , m_isValid(false)
     , m_hasCustomRegionStyle(false)
     , m_hasAutoLogicalHeight(false)
-#if USE(ACCELERATED_COMPOSITING)
-    , m_requiresLayerForCompositing(false)
-#endif
     , m_hasComputedAutoHeight(false)
     , m_computedAutoHeight(0)
 {
@@ -721,24 +718,6 @@ void RenderRegion::updateLogicalHeight()
     }
 }
 
-#if USE(ACCELERATED_COMPOSITING)
-void RenderRegion::setRequiresLayerForCompositing(bool requiresLayerForCompositing)
-{
-    // This function is called when the regions had already
-    // been laid out, after the flow thread decides there are 
-    // composited layers that will display in this region.
-    ASSERT(!needsLayout());
-    if (m_requiresLayerForCompositing == requiresLayerForCompositing)
-        return;
-    
-    bool requiredLayer = requiresLayer();
-    m_requiresLayerForCompositing = requiresLayerForCompositing;
-
-    if (requiredLayer != requiresLayer())
-        updateLayerIfNeeded();
-}
-#endif
-
 RenderOverflow* RenderRegion::ensureOverflowForBox(const RenderBox* box)
 {
     RenderBoxRegionInfo* boxInfo = renderBoxRegionInfo(box);
index d70c1fc..a23695b 100644 (file)
@@ -139,10 +139,8 @@ public:
 
     virtual void collectLayerFragments(LayerFragments&, const LayoutRect&, const LayoutRect&) { }
 
-#if USE(ACCELERATED_COMPOSITING)
-    void setRequiresLayerForCompositing(bool);
-    virtual bool requiresLayer() const { return m_requiresLayerForCompositing || RenderBlock::requiresLayer(); }
-#endif
+    // All regions create stacking contexts, as specified in the CSS standard. Do that by allocating a separate RenderLayer for each.
+    virtual bool requiresLayer() const OVERRIDE { return true; }
 
     void addLayoutOverflowForBox(const RenderBox*, const LayoutRect&);
     void addVisualOverflowForBox(const RenderBox*, const LayoutRect&);
@@ -232,9 +230,6 @@ private:
     bool m_isValid : 1;
     bool m_hasCustomRegionStyle : 1;
     bool m_hasAutoLogicalHeight : 1;
-#if USE(ACCELERATED_COMPOSITING)
-    bool m_requiresLayerForCompositing : 1;
-#endif
     bool m_hasComputedAutoHeight : 1;
 
     LayoutUnit m_computedAutoHeight;
index 7980690..b21b967 100644 (file)
@@ -694,8 +694,6 @@ static void writeRenderRegionList(const RenderRegionList& flowThreadRegionList,
                 ts << " {" << tagName << "}";
             if (renderRegion->generatingElement()->hasID())
                 ts << " #" << renderRegion->generatingElement()->idForStyleResolution();
-            if (renderRegion->hasLayer())
-                ts << " hasLayer";
             if (renderRegion->hasCustomRegionStyle())
                 ts << " region style: 1";
             if (renderRegion->hasAutoLogicalHeight())