[EFL][DRT] Enable Regions support
authordominik.rottsches@intel.com <dominik.rottsches@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2012 18:49:40 +0000 (18:49 +0000)
committerdominik.rottsches@intel.com <dominik.rottsches@intel.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 Sep 2012 18:49:40 +0000 (18:49 +0000)
https://bugs.webkit.org/show_bug.cgi?id=83897

Reviewed by Kenneth Rohde Christiansen.

.:

Default build setting for CSS regions set to on.

* Source/cmake/OptionsEfl.cmake:

Source/WebKit/efl:

Activating CSS regions by default for EWK views.

* ewk/ewk_view.cpp: Switch CSS regions on by default.
(_ewk_view_priv_new):

LayoutTests:

New baselines for CSS regions, some CSS regions test still in TestExpectations.

* platform/efl-wk2/TestExpectations: fast/regions/css-regions-disabled.html still failing on wk2.
* platform/efl/TestExpectations: Some remaining CSS regions cases still skipped.
* platform/efl/fast/regions/absolute-pos-elem-in-named-flow-expected.txt: Added.
* platform/efl/fast/regions/autoheight-regions-mark-expected.png: Added.
* platform/efl/fast/regions/autoheight-regions-mark-expected.txt: Added.
* platform/efl/fast/regions/autowidth-attachedinvalidregion-expected.txt: Added.
* platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png: Added.
* platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.txt: Added.
* platform/efl/fast/regions/content-flowed-into-regions-no-scroll-expected.txt: Added.
* platform/efl/fast/regions/content-webkit-from-flow-parsing-expected.txt: Added.
* platform/efl/fast/regions/element-region-overset-state-expected.txt: Added.
* platform/efl/fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt: Added.
* platform/efl/fast/regions/element-region-overset-state-vertical-rl-expected.txt: Added.
* platform/efl/fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt: Added.
* platform/efl/fast/regions/fixed-pos-elem-in-named-flow-expected.txt: Added.
* platform/efl/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt: Added.
* platform/efl/fast/regions/flexbox-in-region-crash-expected.txt: Added.
* platform/efl/fast/regions/flow-anonymous-children-expected.txt: Added.
* platform/efl/fast/regions/flow-content-basic-expected.png: Added.
* platform/efl/fast/regions/flow-content-basic-expected.txt: Added.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.png: Added.
* platform/efl/fast/regions/flow-content-basic-vertical-expected.txt: Added.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png: Added.
* platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt: Added.
* platform/efl/fast/regions/flow-region-into-itself-crash-expected.txt: Added.
* platform/efl/fast/regions/flowed-content-bounding-client-rect-expected.txt: Added.
* platform/efl/fast/regions/flowed-content-bounding-client-rect-horizontal-bt-expected.txt: Added.
* platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-expected.txt: Added.
* platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-rl-expected.txt: Added.
* platform/efl/fast/regions/flowed-content-transform-bounding-client-rect-expected.txt: Added.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png: Added.
* platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt: Added.
* platform/efl/fast/regions/flows-dependency-same-flow-expected.png: Added.
* platform/efl/fast/regions/flows-dependency-same-flow-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-absolute-pos-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-content-nodes-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-display-none-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-empty-regions-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-fixed-pos-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-horiz-bt-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-inline-only-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-text-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-text-vert-lr-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-vert-lr-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-vert-rl-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-writing-modes-rl-rb-lr-expected.txt: Added.
* platform/efl/fast/regions/get-region-flow-ranges-writing-modes-tb-rl-lr-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content-horiz-bt-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content-horiz-tb-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content-vert-lr-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content-vert-rl-expected.txt: Added.
* platform/efl/fast/regions/get-regions-by-content2-expected.txt: Added.
* platform/efl/fast/regions/hit-test-float-expected.txt: Added.
* platform/efl/fast/regions/hit-test-region-expected.txt: Added.
* platform/efl/fast/regions/imbricated-flow-threads-crash-expected.txt: Added.
* platform/efl/fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt: Added.
* platform/efl/fast/regions/moved-content-node-crash-expected.txt: Added.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/no-split-line-box-expected.txt: Added.
* platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Added.
* platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Added.
* platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png: Added.
* platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.txt: Added.
* platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png: Added.
* platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt: Added.
* platform/efl/fast/regions/parse-incomplete-region-rule-expected.txt: Added.
* platform/efl/fast/regions/parsing-region-style-rule-expected.txt: Added.
* platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png: Added.
* platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.txt: Added.
* platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png: Added.
* platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.txt: Added.
* platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png: Added.
* platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.txt: Added.
* platform/efl/fast/regions/positioned-vrl-in-named-flow-expected.txt: Added.
* platform/efl/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt: Added.
* platform/efl/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt: Added.
* platform/efl/fast/regions/region-attached-wrong-flow-crash-expected.txt: Added.
* platform/efl/fast/regions/region-element-display-change-expected.txt: Added.
* platform/efl/fast/regions/region-element-display-restriction-expected.txt: Added.
* platform/efl/fast/regions/region-element-dynamic-attach-flow-expected.txt: Added.
* platform/efl/fast/regions/region-element-dynamic-detach-flow-expected.txt: Added.
* platform/efl/fast/regions/region-flow-reattach-crash-expected.txt: Added.
* platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png: Added.
* platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.txt: Added.
* platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png: Added.
* platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.txt: Added.
* platform/efl/fast/regions/region-range-for-box-crash-expected.txt: Added.
* platform/efl/fast/regions/region-style-block-background-color-expected.png: Added.
* platform/efl/fast/regions/region-style-block-background-color-expected.txt: Added.
* platform/efl/fast/regions/region-style-block-background-color2-expected.png: Added.
* platform/efl/fast/regions/region-style-block-background-color2-expected.txt: Added.
* platform/efl/fast/regions/remove-flow-thread-crash-expected.txt: Added.
* platform/efl/fast/regions/removed-element-style-in-region-crash-expected.txt: Added.
* platform/efl/fast/regions/select-in-region-crash-expected.txt: Added.
* platform/efl/fast/regions/set-box-style-in-region-crash-expected.txt: Added.
* platform/efl/fast/regions/svg-root-element-collected-expected.txt: Added.
* platform/efl/fast/regions/symbol-in-named-flow-crash-expected.txt: Added.
* platform/efl/fast/regions/text-region-breaks-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-after-resize-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-horizontal-bt-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-small-pagination-expected.png: Added.
* platform/efl/fast/regions/text-region-split-small-pagination-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-vertical-expected.txt: Added.
* platform/efl/fast/regions/text-region-split-vertical-rl-expected.txt: Added.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png: Added.
* platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.png: Added.
* platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png: Added.
* platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png: Added.
* platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png: Added.
* platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png: Added.
* platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.txt: Added.
* platform/efl/fast/regions/webkit-flow-parsing-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-collection-crash-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-collection-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-no-regions-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-target-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-event-to-null-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-existing-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-first-empty-region-index-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-flow-added-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-get-content-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-get-regions-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-invalid-name-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-modified-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-name-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-non-existing-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-overset-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-removed-flow-expected.txt: Added.
* platform/efl/fast/regions/webkit-named-flow-same-object-expected.txt: Added.
* platform/efl/fast/regions/webkit-region-overflow-parsing-expected.txt: Added.
* platform/efl/fast/regions/webkit-region-rule-expected.txt: Added.

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

161 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/platform/efl-wk2/TestExpectations
LayoutTests/platform/efl/TestExpectations
LayoutTests/platform/efl/fast/regions/absolute-pos-elem-in-named-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/autowidth-attachedinvalidregion-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/content-flowed-into-regions-no-scroll-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/content-webkit-from-flow-parsing-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/element-region-overset-state-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flexbox-in-region-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-anonymous-children-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flow-region-into-itself-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-horizontal-bt-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flowed-content-transform-bounding-client-rect-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-absolute-pos-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-content-nodes-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-display-none-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-empty-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-fixed-pos-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-horiz-bt-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-inline-only-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-vert-lr-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-lr-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-rl-rb-lr-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-tb-rl-lr-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-bt-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-tb-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-lr-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/get-regions-by-content2-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/hit-test-float-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/hit-test-region-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/imbricated-flow-threads-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/moved-content-node-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/no-split-line-box-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/parse-incomplete-region-rule-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/parsing-region-style-rule-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/positioned-vrl-in-named-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-attached-wrong-flow-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-element-display-change-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-element-display-restriction-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-element-dynamic-attach-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-element-dynamic-detach-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-flow-reattach-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-range-for-box-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/remove-flow-thread-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/removed-element-style-in-region-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/select-in-region-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/set-box-style-in-region-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/svg-root-element-collected-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/symbol-in-named-flow-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-breaks-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-after-resize-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-horizontal-bt-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-vertical-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/text-region-split-vertical-rl-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-flow-parsing-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-crash-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-no-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-target-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-to-null-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-existing-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-first-empty-region-index-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-flow-added-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-content-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-regions-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-invalid-name-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-modified-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-name-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-non-existing-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-overset-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-removed-flow-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-named-flow-same-object-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-region-overflow-parsing-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/fast/regions/webkit-region-rule-expected.txt [new file with mode: 0644]
Source/WebKit/efl/ChangeLog
Source/WebKit/efl/ewk/ewk_view.cpp
Source/cmake/OptionsEfl.cmake

index ed9c81cf6e79ba0f5d3e270606f0b894a2bafc6c..ca5b945f345d7b3e04dded912dfe6c7c43971caf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2012-09-24  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [EFL][DRT] Enable Regions support
+        https://bugs.webkit.org/show_bug.cgi?id=83897
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Default build setting for CSS regions set to on.
+
+        * Source/cmake/OptionsEfl.cmake:
+
 2012-09-24  Bo Liu  <boliu@chromium.org>
 
         Reland "Add in-place reload behavior to ImagesEnabled setting" with optimizations
index dc56ebc7320070183e1b7d296c5561128c1d7353..ff077386f60e4b6cc93ce7f2b4461af4de606e32 100644 (file)
@@ -1,3 +1,169 @@
+2012-09-24  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [EFL][DRT] Enable Regions support
+        https://bugs.webkit.org/show_bug.cgi?id=83897
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        New baselines for CSS regions, some CSS regions test still in TestExpectations.
+
+        * platform/efl-wk2/TestExpectations: fast/regions/css-regions-disabled.html still failing on wk2.
+        * platform/efl/TestExpectations: Some remaining CSS regions cases still skipped.
+        * platform/efl/fast/regions/absolute-pos-elem-in-named-flow-expected.txt: Added.
+        * platform/efl/fast/regions/autoheight-regions-mark-expected.png: Added.
+        * platform/efl/fast/regions/autoheight-regions-mark-expected.txt: Added.
+        * platform/efl/fast/regions/autowidth-attachedinvalidregion-expected.txt: Added.
+        * platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png: Added.
+        * platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.txt: Added.
+        * platform/efl/fast/regions/content-flowed-into-regions-no-scroll-expected.txt: Added.
+        * platform/efl/fast/regions/content-webkit-from-flow-parsing-expected.txt: Added.
+        * platform/efl/fast/regions/element-region-overset-state-expected.txt: Added.
+        * platform/efl/fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt: Added.
+        * platform/efl/fast/regions/element-region-overset-state-vertical-rl-expected.txt: Added.
+        * platform/efl/fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt: Added.
+        * platform/efl/fast/regions/fixed-pos-elem-in-named-flow-expected.txt: Added.
+        * platform/efl/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt: Added.
+        * platform/efl/fast/regions/flexbox-in-region-crash-expected.txt: Added.
+        * platform/efl/fast/regions/flow-anonymous-children-expected.txt: Added.
+        * platform/efl/fast/regions/flow-content-basic-expected.png: Added.
+        * platform/efl/fast/regions/flow-content-basic-expected.txt: Added.
+        * platform/efl/fast/regions/flow-content-basic-vertical-expected.png: Added.
+        * platform/efl/fast/regions/flow-content-basic-vertical-expected.txt: Added.
+        * platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png: Added.
+        * platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.txt: Added.
+        * platform/efl/fast/regions/flow-region-into-itself-crash-expected.txt: Added.
+        * platform/efl/fast/regions/flowed-content-bounding-client-rect-expected.txt: Added.
+        * platform/efl/fast/regions/flowed-content-bounding-client-rect-horizontal-bt-expected.txt: Added.
+        * platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-expected.txt: Added.
+        * platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-rl-expected.txt: Added.
+        * platform/efl/fast/regions/flowed-content-transform-bounding-client-rect-expected.txt: Added.
+        * platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png: Added.
+        * platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.txt: Added.
+        * platform/efl/fast/regions/flows-dependency-same-flow-expected.png: Added.
+        * platform/efl/fast/regions/flows-dependency-same-flow-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-absolute-pos-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-content-nodes-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-display-none-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-empty-regions-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-fixed-pos-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-horiz-bt-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-inline-only-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-text-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-text-vert-lr-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-vert-lr-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-vert-rl-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-writing-modes-rl-rb-lr-expected.txt: Added.
+        * platform/efl/fast/regions/get-region-flow-ranges-writing-modes-tb-rl-lr-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content-horiz-bt-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content-horiz-tb-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content-vert-lr-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content-vert-rl-expected.txt: Added.
+        * platform/efl/fast/regions/get-regions-by-content2-expected.txt: Added.
+        * platform/efl/fast/regions/hit-test-float-expected.txt: Added.
+        * platform/efl/fast/regions/hit-test-region-expected.txt: Added.
+        * platform/efl/fast/regions/imbricated-flow-threads-crash-expected.txt: Added.
+        * platform/efl/fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt: Added.
+        * platform/efl/fast/regions/moved-content-node-crash-expected.txt: Added.
+        * platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/no-split-line-box-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png: Added.
+        * platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png: Added.
+        * platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.txt: Added.
+        * platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png: Added.
+        * platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt: Added.
+        * platform/efl/fast/regions/parse-incomplete-region-rule-expected.txt: Added.
+        * platform/efl/fast/regions/parsing-region-style-rule-expected.txt: Added.
+        * platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png: Added.
+        * platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.txt: Added.
+        * platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png: Added.
+        * platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.txt: Added.
+        * platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png: Added.
+        * platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.txt: Added.
+        * platform/efl/fast/regions/positioned-vrl-in-named-flow-expected.txt: Added.
+        * platform/efl/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt: Added.
+        * platform/efl/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt: Added.
+        * platform/efl/fast/regions/region-attached-wrong-flow-crash-expected.txt: Added.
+        * platform/efl/fast/regions/region-element-display-change-expected.txt: Added.
+        * platform/efl/fast/regions/region-element-display-restriction-expected.txt: Added.
+        * platform/efl/fast/regions/region-element-dynamic-attach-flow-expected.txt: Added.
+        * platform/efl/fast/regions/region-element-dynamic-detach-flow-expected.txt: Added.
+        * platform/efl/fast/regions/region-flow-reattach-crash-expected.txt: Added.
+        * platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png: Added.
+        * platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.txt: Added.
+        * platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png: Added.
+        * platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.txt: Added.
+        * platform/efl/fast/regions/region-range-for-box-crash-expected.txt: Added.
+        * platform/efl/fast/regions/region-style-block-background-color-expected.png: Added.
+        * platform/efl/fast/regions/region-style-block-background-color-expected.txt: Added.
+        * platform/efl/fast/regions/region-style-block-background-color2-expected.png: Added.
+        * platform/efl/fast/regions/region-style-block-background-color2-expected.txt: Added.
+        * platform/efl/fast/regions/remove-flow-thread-crash-expected.txt: Added.
+        * platform/efl/fast/regions/removed-element-style-in-region-crash-expected.txt: Added.
+        * platform/efl/fast/regions/select-in-region-crash-expected.txt: Added.
+        * platform/efl/fast/regions/set-box-style-in-region-crash-expected.txt: Added.
+        * platform/efl/fast/regions/svg-root-element-collected-expected.txt: Added.
+        * platform/efl/fast/regions/symbol-in-named-flow-crash-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-breaks-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-after-resize-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-horizontal-bt-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-small-pagination-expected.png: Added.
+        * platform/efl/fast/regions/text-region-split-small-pagination-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-vertical-expected.txt: Added.
+        * platform/efl/fast/regions/text-region-split-vertical-rl-expected.txt: Added.
+        * platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png: Added.
+        * platform/efl/fast/regions/top-overflow-out-of-second-region-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.png: Added.
+        * platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png: Added.
+        * platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png: Added.
+        * platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png: Added.
+        * platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png: Added.
+        * platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-flow-parsing-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-collection-crash-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-collection-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-no-regions-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-target-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-event-to-null-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-existing-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-first-empty-region-index-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-flow-added-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-get-content-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-get-regions-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-invalid-name-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-modified-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-name-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-non-existing-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-overset-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-removed-flow-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-named-flow-same-object-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-region-overflow-parsing-expected.txt: Added.
+        * platform/efl/fast/regions/webkit-region-rule-expected.txt: Added.
+
 2012-09-24  Roger Fong  <roger_fong@apple.com>
 
         Unreviewed. [Win] Failing test http/tests/inspector/network/network-xhr-replay.html
index dc9d826ef96ca0f26788ef9600dce02d5035ede9..39d8cc0d0d96ec3702af0d57439011a21b41bcbc 100644 (file)
@@ -203,3 +203,5 @@ Bug(EFL) http/tests/inspector/network/network-sidebar-width.html [ Failure ]
 # Fails after r128056.
 webkit.org/b/96794 inspector/console/alert-toString-exception.html [ Failure ]
 
+# CSS Regions Preference override fails.
+webkit.org/b/97457 fast/regions/css-regions-disabled.html [ Failure ]
index 7fae5959cbd9fc79ca7c8d2ec275b746c5112849..2cb5c041f4dce6302f6a14723df5df5608907cae 100644 (file)
@@ -40,11 +40,6 @@ Bug(EFL) http/tests/xmlhttprequest/default-content-type-dashboard.html
 # Doesn't apply to platforms that don't enforce the CFNetwork-style 3rd party cookie policy
 webkit.org/b/35824 http/tests/cookies/third-party-cookie-relaxing.html
 
-# CSS Regions support not yet enabled, tracking in a separate EFL bug.
-webkit.org/b/83897 fast/regions
-webkit.org/b/83897 inspector/styles/protocol-css-regions-commands.html
-webkit.org/b/83897 inspector/styles/region-style-crash.html
-
 # Deletion UI is a Mail-ism. We don't need to wory about this. (via Chromium)
 Bug(EFL) editing/deleting/deletionUI-single-instance.html
 Bug(EFL) fast/dom/Element/id-in-deletebutton.html
@@ -185,6 +180,12 @@ webkit.org/b/97459 http/tests/inspector/network/network-size.html [ WontFix ]
 webkit.org/b/97459 http/tests/inspector/network/network-size-chunked.html [ WontFix ]
 webkit.org/b/97459 http/tests/inspector/network/network-size-sync.html [ WontFix ]
 
+# CSS Regions tests for region styling and scoped styles, of which the latter are not enabled by default.
+webkit.org/b/82340 fast/regions/style-scoped-in-flow-override-container-style.html [ ImageOnlyFailure ]
+webkit.org/b/82340 fast/regions/style-scoped-in-flow-override-region-styling-multiple-regions.html [ ImageOnlyFailure ]
+webkit.org/b/82340 fast/regions/style-scoped-in-flow-override-region-styling.html [ ImageOnlyFailure ]
+webkit.org/b/82340 fast/regions/style-scoped-in-flow.html [ ImageOnlyFailure ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # CRASHES
 #////////////////////////////////////////////////////////////////////////////////////////
@@ -257,6 +258,13 @@ webkit.org/b/93212 http/tests/incremental/slow-utf8-text.pl [ Pass Timeout ]
 # FAILING TESTS
 #////////////////////////////////////////////////////////////////////////////////////////
 
+# CSS Regions Reftest issues.
+webkit.org/b/74219 fast/regions/positioned-objects-block-static-spanning-regions-rtl.html [ ImageOnlyFailure ]
+
+# CSS Regions issues.
+webkit.org/b/97208 fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-rl.html [ Missing ]
+webkit.org/b/97209 fast/regions/webkit-flow-floats-inside-regions-bounds.html [ Missing ]
+
 # Needs inner spin button to respect -webkit-inner-spin-button style
 webkit.org/b/87619 fast/forms/number/number-appearance-rtl.html [ Failure ]
 webkit.org/b/87619 fast/forms/number/number-appearance-spinbutton-disabled-readonly.html [ Failure ]
diff --git a/LayoutTests/platform/efl/fast/regions/absolute-pos-elem-in-named-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/absolute-pos-elem-in-named-flow-expected.txt
new file mode 100644 (file)
index 0000000..cab26e5
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 88133 Collecting a fixed positioned element in a named flow causes WebKit to crash.
+
+This test collects an absolutely positioned object into a named flow without flowing it into a region.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png b/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png
new file mode 100644 (file)
index 0000000..dc14b60
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/autoheight-regions-mark-expected.png 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
new file mode 100644 (file)
index 0000000..5ae1abc
--- /dev/null
@@ -0,0 +1,38 @@
+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
+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'
+  Regions for flow 'flow3'
+    RenderRegion {DIV} #region3
+  Thread with flow-name 'flow4'
+  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/autowidth-attachedinvalidregion-expected.txt b/LayoutTests/platform/efl/fast/regions/autowidth-attachedinvalidregion-expected.txt
new file mode 100644 (file)
index 0000000..6c73ecc
--- /dev/null
@@ -0,0 +1,11 @@
+Test for Auto width is not working for regions.
+
+The region is an absolutely positioned, non replaced element, attached to a flow thread.
+
+Due to flow thread dependencies, the region is not valid and width computation should not take the associated flow thread into account.
+
+On success, it should not crash.
+
+PASS
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png b/LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png
new file mode 100644 (file)
index 0000000..40f2529
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.txt b/LayoutTests/platform/efl/fast/regions/bottom-overflow-out-of-first-region-expected.txt
new file mode 100644 (file)
index 0000000..43639b9
--- /dev/null
@@ -0,0 +1,44 @@
+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 780x73
+          text run at (0,0) width 755: "In the test case below, the green block's width should not vary and should use the first region to determine its width. It is"
+          text run at (0,18) width 751: "overflowing downwards 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 780: "containing block width. The blue block does not exist in region two, 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 one and be painted in region two."
+      RenderBlock {DIV} at (0,88) size 784x306
+        RenderRegion {DIV} at (0,0) size 402x202 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,202) size 302x102 [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 400x200
+          RenderBlock {DIV} at (5,5) size 390x190 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (48,1) size 293x229 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 291x54
+                RenderText {#text} at (0,0) size 291x55
+                  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 first region and spill out of the"
+                  text run at (0,36) width 116: "bottom of the first "
+                  text run at (116,36) width 44: "region."
+              RenderBlock {P} at (1,87) size 291x54
+                RenderText {#text} at (0,0) size 291x55
+                  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 first region and spill out of the"
+                  text run at (0,36) width 116: "bottom of the first "
+                  text run at (116,36) width 44: "region."
+              RenderBlock {P} at (1,157) size 291x55
+                RenderText {#text} at (0,0) size 291x56
+                  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 first region and spill out of the"
+                  text run at (0,37) width 116: "bottom of the first "
+                  text run at (116,37) width 44: "region."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/content-flowed-into-regions-no-scroll-expected.txt b/LayoutTests/platform/efl/fast/regions/content-flowed-into-regions-no-scroll-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/content-webkit-from-flow-parsing-expected.txt b/LayoutTests/platform/efl/fast/regions/content-webkit-from-flow-parsing-expected.txt
new file mode 100644 (file)
index 0000000..1479543
--- /dev/null
@@ -0,0 +1,27 @@
+Tests parsing of -webkit-flow-from property
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testCSSText("-webkit-flow-from: first-flow") is "first-flow"
+PASS testCSSText("-webkit-flow-from: none") is "none"
+PASS testCSSText("-webkit-flow-from: ") is ""
+PASS testCSSText("-webkit-flow-from: 'first-flow'") is ""
+PASS testCSSText("-webkit-flow-from: 1") is ""
+PASS testCSSText("-webkit-flow-from: 1.2") is ""
+PASS testCSSText("-webkit-flow-from: -1") is ""
+PASS testCSSText("-webkit-flow-from: 12px") is ""
+PASS testCSSText("-webkit-from-flow: first flow") is ""
+PASS testComputedStyle("first-flow") is "first-flow"
+PASS testComputedStyle("'first flow'") is "none"
+PASS testComputedStyle("none") is "none"
+PASS testComputedStyle("initial") is "none"
+PASS testComputedStyle("inherit") is "none"
+PASS testComputedStyle("1") is "none"
+PASS testComputedStyle("1.2") is "none"
+PASS testComputedStyle("-1") is "none"
+PASS testComputedStyle("12px") is "none"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/element-region-overset-state-expected.txt b/LayoutTests/platform/efl/fast/regions/element-region-overset-state-expected.txt
new file mode 100644 (file)
index 0000000..716cb5d
--- /dev/null
@@ -0,0 +1,28 @@
+Tests Element.webkitRegionOverset attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+  
+PASS regionOverset('region_1') is "empty"
+PASS regionOverset('region_2') is "empty"
+PASS regionOverset('region_3') is "empty"
+Flow content
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "empty"
+Add more content
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "fit"
+Add visual overflow
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "overset"
+Empty content
+PASS regionOverset('region_1') is "empty"
+PASS regionOverset('region_2') is "empty"
+PASS regionOverset('region_3') is "empty"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt b/LayoutTests/platform/efl/fast/regions/element-region-overset-state-negative-letter-spacing-expected.txt
new file mode 100644 (file)
index 0000000..52f5ed3
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Element.webkitRegionOverset attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS region_1.webkitRegionOverset is "fit"
+PASS region_2.webkitRegionOverset is "empty"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-expected.txt
new file mode 100644 (file)
index 0000000..716cb5d
--- /dev/null
@@ -0,0 +1,28 @@
+Tests Element.webkitRegionOverset attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+  
+PASS regionOverset('region_1') is "empty"
+PASS regionOverset('region_2') is "empty"
+PASS regionOverset('region_3') is "empty"
+Flow content
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "empty"
+Add more content
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "fit"
+Add visual overflow
+PASS regionOverset('region_1') is "fit"
+PASS regionOverset('region_2') is "fit"
+PASS regionOverset('region_3') is "overset"
+Empty content
+PASS regionOverset('region_1') is "empty"
+PASS regionOverset('region_2') is "empty"
+PASS regionOverset('region_3') is "empty"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt b/LayoutTests/platform/efl/fast/regions/element-region-overset-state-vertical-rl-negative-letter-spacing-expected.txt
new file mode 100644 (file)
index 0000000..b1d14b6
--- /dev/null
@@ -0,0 +1,11 @@
+Tests Element.webkitRegionoverset attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS region_1.webkitRegionOverset is "fit"
+PASS region_2.webkitRegionOverset is "empty"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow-expected.txt
new file mode 100644 (file)
index 0000000..65fc865
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 88133 Collecting a fixed positioned element in a named flow causes WebKit to crash.
+
+This test collects a fixed positioned object into a named flow but without flowing it into a region.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt b/LayoutTests/platform/efl/fast/regions/fixed-pos-elem-in-named-flow2-expected.txt
new file mode 100644 (file)
index 0000000..28cf87e
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 88133 Collecting a fixed positioned element in a named flow causes WebKit to crash.
+
+This test collects a fixed positioned object into a named flow but without flowing it into a region. The fixed positioned element is the child of another element that has a transform, so that it requires a layer.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flexbox-in-region-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/flexbox-in-region-crash-expected.txt
new file mode 100644 (file)
index 0000000..cb0c94d
--- /dev/null
@@ -0,0 +1,6 @@
+Bug 77474: Crash in RenderFlowThread::setRegionBoxesRegionStyle
+
+This test PASSES if it does not CRASH or ASSERT.
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/flow-anonymous-children-expected.txt b/LayoutTests/platform/efl/fast/regions/flow-anonymous-children-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png b/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png
new file mode 100644 (file)
index 0000000..f649918
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/flow-content-basic-expected.png 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
new file mode 100644 (file)
index 0000000..956309a
--- /dev/null
@@ -0,0 +1,28 @@
+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 766x19
+          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 766x19
+          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 79x19
+            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 79x19
+              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
new file mode 100644 (file)
index 0000000..f3a2005
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-expected.png 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
new file mode 100644 (file)
index 0000000..5820fa6
--- /dev/null
@@ -0,0 +1,30 @@
+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 37x556
+          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 37x556
+          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 19x79
+            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 19x79
+              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
new file mode 100644 (file)
index 0000000..28ca0f9
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/flow-content-basic-vertical-rl-expected.png 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
new file mode 100644 (file)
index 0000000..1d21e0d
--- /dev/null
@@ -0,0 +1,35 @@
+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 37x566
+          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 37x556
+          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 19x79
+            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 19x107
+              text run at (0,0) width 107: "first flow content"
+          RenderBlock {DIV} at (100,0) size 100x300
+            RenderText {#text} at (0,0) size 19x127
+              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/flow-region-into-itself-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/flow-region-into-itself-crash-expected.txt
new file mode 100644 (file)
index 0000000..d3b45a0
--- /dev/null
@@ -0,0 +1,5 @@
+Test for WebKit Bug 90289 Crash when flowing a region into itself.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-expected.txt b/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-horizontal-bt-expected.txt b/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-horizontal-bt-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-expected.txt b/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/flowed-content-bounding-client-rect-vertical-rl-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/flowed-content-transform-bounding-client-rect-expected.txt b/LayoutTests/platform/efl/fast/regions/flowed-content-transform-bounding-client-rect-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
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
new file mode 100644 (file)
index 0000000..dc14b60
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/flows-dependency-dynamic-remove-expected.png 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
new file mode 100644 (file)
index 0000000..296e9e9
--- /dev/null
@@ -0,0 +1,15 @@
+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/flows-dependency-same-flow-expected.png b/LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.png
new file mode 100644 (file)
index 0000000..dc14b60
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/flows-dependency-same-flow-expected.txt
new file mode 100644 (file)
index 0000000..7333fc5
--- /dev/null
@@ -0,0 +1,21 @@
+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
+      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'
+    RenderRegion {DIV} invalid
+    RenderRegion {DIV}
+  Thread with flow-name 'flowC'
+  Regions for flow 'flowC'
+    RenderRegion {DIV}
+    RenderRegion {DIV}
+  Thread with flow-name 'flowA'
+  Regions for flow 'flowA'
+    RenderRegion {DIV}
+    RenderRegion {DIV}
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-absolute-pos-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-absolute-pos-expected.txt
new file mode 100644 (file)
index 0000000..ce8caa4
--- /dev/null
@@ -0,0 +1,7 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for absolute positioned elements
+PASS range1.length is 1
+PASS Array [wrapper,0,wrapper,1] is equal to [wrapper,0,wrapper,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-content-nodes-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-content-nodes-expected.txt
new file mode 100644 (file)
index 0000000..f0a679e
--- /dev/null
@@ -0,0 +1,15 @@
+[CSSRegions] Implement Region::getRegionFlowRanges with multiple content nodes
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Flow test
+PASS range1.length is 1
+PASS Array [wrapper,0,#text,4] is equal to [wrapper,0,#text,4]
+PASS range2.length is 2
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+PASS Array [wrapper2,0,wrapper2,1] is equal to [wrapper2,0,wrapper2,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-display-none-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-display-none-expected.txt
new file mode 100644 (file)
index 0000000..cf31bc4
--- /dev/null
@@ -0,0 +1,14 @@
+[CSSRegions] Implement Region::getRegionFlowRanges for elements with display:none (Range should not break ranges at display:none)
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+1
+3
+5
+Flow test
+PASS range1.length is 1
+PASS Array [wrapper,0,wrapper,1] is equal to [wrapper,0,wrapper,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-empty-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-empty-regions-expected.txt
new file mode 100644 (file)
index 0000000..24ac441
--- /dev/null
@@ -0,0 +1,13 @@
+[CSSRegions] Implement Region::getRegionFlowRanges for empty regions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Flow test
+PASS range1.length is 0
+PASS range2.length is 1
+PASS Array [wrapper,0,wrapper,1] is equal to [wrapper,0,wrapper,1]
+PASS range3.length is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-expected.txt
new file mode 100644 (file)
index 0000000..d402b05
--- /dev/null
@@ -0,0 +1,42 @@
+[CSSRegions] Test for Region::getRegionFlowRanges.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Empty regions
+PASS range1.length is 0
+PASS range2.length is 0
+PASS range3.length is 0
+Flow article
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,1] is equal to [box1,1,box1,1]
+PASS range3.length is 1
+PASS Array [box1,1,wrapper,1] is equal to [box1,1,wrapper,1]
+Add text node to region2 (creates anonymous block)
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,wrapper,1] is equal to [box1,2,wrapper,1]
+Increase font size
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range3.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+Make child a content node, so it will move from region1 to region3
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,0] is equal to [wrapper,0,box1,0]
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,box1,2] is equal to [#text,5,box1,2]
+PASS range3.length is 1
+PASS Array [box1,0,box1,1] is equal to [box1,0,box1,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-fixed-pos-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-fixed-pos-expected.txt
new file mode 100644 (file)
index 0000000..87eaecb
--- /dev/null
@@ -0,0 +1,7 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for fixed positioned elements
+PASS range1.length is 1
+PASS Array [wrapper,0,wrapper,1] is equal to [wrapper,0,wrapper,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-horiz-bt-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-horiz-bt-expected.txt
new file mode 100644 (file)
index 0000000..81da8ed
--- /dev/null
@@ -0,0 +1,42 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for horizontal-bt mode
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Empty regions
+PASS range1.length is 0
+PASS range2.length is 0
+PASS range3.length is 0
+Flow article
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,1] is equal to [box1,1,box1,1]
+PASS range3.length is 1
+PASS Array [box1,1,wrapper,1] is equal to [box1,1,wrapper,1]
+Add text node to region2 (creates anonymous block)
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,wrapper,1] is equal to [box1,2,wrapper,1]
+Increase font size
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range3.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+Make child a content node, so it will move from region1 to region3
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,0] is equal to [wrapper,0,box1,0]
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,box1,2] is equal to [#text,5,box1,2]
+PASS range3.length is 1
+PASS Array [box1,0,box1,1] is equal to [box1,0,box1,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-inline-only-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-inline-only-expected.txt
new file mode 100644 (file)
index 0000000..aca34c4
--- /dev/null
@@ -0,0 +1,12 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for inline elements
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Flow test
+PASS range1.length is 1
+PASS Array [wrapper,0,wrapper,1] is equal to [wrapper,0,wrapper,1]
+PASS range2.length is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-expected.txt
new file mode 100644 (file)
index 0000000..9c0593e
--- /dev/null
@@ -0,0 +1,14 @@
+[CSSRegions] Test for Region::getRegionFlowRanges. Text breaks in two regions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Flow test
+PASS range1.length is 1
+PASS Array [wrapper,0,#text,4] is equal to [wrapper,0,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-vert-lr-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-text-vert-lr-expected.txt
new file mode 100644 (file)
index 0000000..ef13b8c
--- /dev/null
@@ -0,0 +1,14 @@
+[CSSRegions] Test for Region::getRegionFlowRanges in vertical-rl mode. Text breaks into two regions
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Flow test
+PASS range1.length is 1
+PASS Array [wrapper,0,#text,4] is equal to [wrapper,0,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-lr-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-lr-expected.txt
new file mode 100644 (file)
index 0000000..153696b
--- /dev/null
@@ -0,0 +1,42 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for vertical-lr mode
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Empty regions
+PASS range1.length is 0
+PASS range2.length is 0
+PASS range3.length is 0
+Flow article
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,1] is equal to [box1,1,box1,1]
+PASS range3.length is 1
+PASS Array [box1,1,wrapper,1] is equal to [box1,1,wrapper,1]
+Add text node to region2 (creates anonymous block)
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,wrapper,1] is equal to [box1,2,wrapper,1]
+Increase font size
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range3.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+Make child a content node, so it will move from region1 to region3
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,0] is equal to [wrapper,0,box1,0]
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,box1,2] is equal to [#text,5,box1,2]
+PASS range3.length is 1
+PASS Array [box1,0,box1,1] is equal to [box1,0,box1,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-vert-rl-expected.txt
new file mode 100644 (file)
index 0000000..e52c8a2
--- /dev/null
@@ -0,0 +1,42 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for vertical-rl mode
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Text node.
+Empty regions
+PASS range1.length is 0
+PASS range2.length is 0
+PASS range3.length is 0
+Flow article
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,1] is equal to [box1,1,box1,1]
+PASS range3.length is 1
+PASS Array [box1,1,wrapper,1] is equal to [box1,1,wrapper,1]
+Add text node to region2 (creates anonymous block)
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,wrapper,1] is equal to [box1,2,wrapper,1]
+Increase font size
+PASS range1.length is 1
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS range2.length is 1
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range3.length is 1
+PASS Array [#text,5,wrapper,1] is equal to [#text,5,wrapper,1]
+Make child a content node, so it will move from region1 to region3
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,0] is equal to [wrapper,0,box1,0]
+PASS Array [box1,1,#text,4] is equal to [box1,1,#text,4]
+PASS range2.length is 1
+PASS Array [#text,5,box1,2] is equal to [#text,5,box1,2]
+PASS range3.length is 1
+PASS Array [box1,0,box1,1] is equal to [box1,0,box1,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-rl-rb-lr-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-rl-rb-lr-expected.txt
new file mode 100644 (file)
index 0000000..d4069f9
--- /dev/null
@@ -0,0 +1,15 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for mixed vertical modes
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS Array [box3,1,box3,2] is equal to [box3,1,box3,2]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,box3,1] is equal to [box1,2,box3,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Horizontal TB
+X
+Vertical LRHorizontal BT
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-tb-rl-lr-expected.txt b/LayoutTests/platform/efl/fast/regions/get-region-flow-ranges-writing-modes-tb-rl-lr-expected.txt
new file mode 100644 (file)
index 0000000..b3e59e2
--- /dev/null
@@ -0,0 +1,15 @@
+[CSSRegions] Test for Region::getRegionFlowRanges for mixed vertical modes
+PASS range1.length is 2
+PASS Array [wrapper,0,box1,1] is equal to [wrapper,0,box1,1]
+PASS Array [box3,1,box3,2] is equal to [box3,1,box3,2]
+PASS range2.length is 1
+PASS Array [box1,1,box1,2] is equal to [box1,1,box1,2]
+PASS range3.length is 1
+PASS Array [box1,2,box3,1] is equal to [box1,2,box3,1]
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Vertical RL
+X
+Vertical LRY
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content-expected.txt
new file mode 100644 (file)
index 0000000..b46c260
--- /dev/null
@@ -0,0 +1,17 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionList.length is 1
+PASS regionList.item(0).id is "region"
+PASS regionList.length is 2
+PASS regionList.item(0).id is "region21"
+PASS regionList.item(1).id is "region22"
+PASS regionList.length is 0
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-bt-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-bt-expected.txt
new file mode 100644 (file)
index 0000000..d8733d1
--- /dev/null
@@ -0,0 +1,49 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionListArticle is non-null.
+PASS regionListArticle.length is 2
+PASS regionListArticle.item(0).id is "region"
+PASS regionListArticle.item(1).id is "region2"
+PASS regionListSpan is non-null.
+PASS regionListSpan.length is 1
+PASS regionListSpan.item(0).id is "region"
+PASS regionListSpan2 is non-null.
+PASS regionListSpan2.length is 2
+PASS regionListSpan3 is non-null.
+PASS regionListSpan3.length is 1
+PASS regionListSpan3.item(0).id is "region2"
+PASS regionListTextNode is non-null.
+PASS regionListTextNode.length is 1
+PASS regionListTextNode.item(0).id is "region2"
+PASS regionListTextNode2 is non-null.
+PASS regionListTextNode2.length is 1
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode3 is non-null.
+PASS regionListTextNode3.length is 1
+PASS regionListTextNode3.item(0).id is "region2"
+PASS regionListTextNode2.length is 2
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode2.item(1).id is "region3"
+PASS regionListTextNode32.length is 1
+PASS regionListTextNode32.item(0).id is "region3"
+PASS regionListP1 is non-null.
+PASS regionListP1.length is 1
+PASS regionListP1.item(0).id is "region4"
+PASS regionListP2 is non-null.
+PASS regionListP2.length is 1
+PASS regionListP2.item(0).id is "region4"
+PASS regionListP3 is non-null.
+PASS regionListP3.length is 1
+PASS regionListP3.item(0).id is "region4"
+PASS regionListP22.length is 1
+PASS regionListP22.item(0).id is "region5"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-tb-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content-horiz-tb-expected.txt
new file mode 100644 (file)
index 0000000..c1ac7b7
--- /dev/null
@@ -0,0 +1,49 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionListArticle  is non-null.
+PASS regionListArticle.length is 2
+PASS regionListArticle.item(0).id is "region"
+PASS regionListArticle.item(1).id is "region2"
+PASS regionListSpan is non-null.
+PASS regionListSpan.length is 1
+PASS regionListSpan.item(0).id is "region"
+PASS regionListSpan2 is non-null.
+PASS regionListSpan2.length is 2
+PASS regionListSpan3 is non-null.
+PASS regionListSpan3.length is 1
+PASS regionListSpan3.item(0).id is "region2"
+PASS regionListTextNode is non-null.
+PASS regionListTextNode.length is 1
+PASS regionListTextNode.item(0).id is "region2"
+PASS regionListTextNode2 is non-null.
+PASS regionListTextNode2.length is 1
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode3 is non-null.
+PASS regionListTextNode3.length is 1
+PASS regionListTextNode3.item(0).id is "region2"
+PASS regionListTextNode2.length is 2
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode2.item(1).id is "region3"
+PASS regionListTextNode32.length is 1
+PASS regionListTextNode32.item(0).id is "region3"
+PASS regionListP1 is non-null.
+PASS regionListP1.length is 1
+PASS regionListP1.item(0).id is "region4"
+PASS regionListP2 is non-null.
+PASS regionListP2.length is 1
+PASS regionListP2.item(0).id is "region4"
+PASS regionListP3 is non-null.
+PASS regionListP3.length is 1
+PASS regionListP3.item(0).id is "region4"
+PASS regionListP22.length is 1
+PASS regionListP22.item(0).id is "region5"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-lr-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-lr-expected.txt
new file mode 100644 (file)
index 0000000..d8733d1
--- /dev/null
@@ -0,0 +1,49 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionListArticle is non-null.
+PASS regionListArticle.length is 2
+PASS regionListArticle.item(0).id is "region"
+PASS regionListArticle.item(1).id is "region2"
+PASS regionListSpan is non-null.
+PASS regionListSpan.length is 1
+PASS regionListSpan.item(0).id is "region"
+PASS regionListSpan2 is non-null.
+PASS regionListSpan2.length is 2
+PASS regionListSpan3 is non-null.
+PASS regionListSpan3.length is 1
+PASS regionListSpan3.item(0).id is "region2"
+PASS regionListTextNode is non-null.
+PASS regionListTextNode.length is 1
+PASS regionListTextNode.item(0).id is "region2"
+PASS regionListTextNode2 is non-null.
+PASS regionListTextNode2.length is 1
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode3 is non-null.
+PASS regionListTextNode3.length is 1
+PASS regionListTextNode3.item(0).id is "region2"
+PASS regionListTextNode2.length is 2
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode2.item(1).id is "region3"
+PASS regionListTextNode32.length is 1
+PASS regionListTextNode32.item(0).id is "region3"
+PASS regionListP1 is non-null.
+PASS regionListP1.length is 1
+PASS regionListP1.item(0).id is "region4"
+PASS regionListP2 is non-null.
+PASS regionListP2.length is 1
+PASS regionListP2.item(0).id is "region4"
+PASS regionListP3 is non-null.
+PASS regionListP3.length is 1
+PASS regionListP3.item(0).id is "region4"
+PASS regionListP22.length is 1
+PASS regionListP22.item(0).id is "region5"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content-vert-rl-expected.txt
new file mode 100644 (file)
index 0000000..d8733d1
--- /dev/null
@@ -0,0 +1,49 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionListArticle is non-null.
+PASS regionListArticle.length is 2
+PASS regionListArticle.item(0).id is "region"
+PASS regionListArticle.item(1).id is "region2"
+PASS regionListSpan is non-null.
+PASS regionListSpan.length is 1
+PASS regionListSpan.item(0).id is "region"
+PASS regionListSpan2 is non-null.
+PASS regionListSpan2.length is 2
+PASS regionListSpan3 is non-null.
+PASS regionListSpan3.length is 1
+PASS regionListSpan3.item(0).id is "region2"
+PASS regionListTextNode is non-null.
+PASS regionListTextNode.length is 1
+PASS regionListTextNode.item(0).id is "region2"
+PASS regionListTextNode2 is non-null.
+PASS regionListTextNode2.length is 1
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode3 is non-null.
+PASS regionListTextNode3.length is 1
+PASS regionListTextNode3.item(0).id is "region2"
+PASS regionListTextNode2.length is 2
+PASS regionListTextNode2.item(0).id is "region2"
+PASS regionListTextNode2.item(1).id is "region3"
+PASS regionListTextNode32.length is 1
+PASS regionListTextNode32.item(0).id is "region3"
+PASS regionListP1 is non-null.
+PASS regionListP1.length is 1
+PASS regionListP1.item(0).id is "region4"
+PASS regionListP2 is non-null.
+PASS regionListP2.length is 1
+PASS regionListP2.item(0).id is "region4"
+PASS regionListP3 is non-null.
+PASS regionListP3.length is 1
+PASS regionListP3.item(0).id is "region4"
+PASS regionListP22.length is 1
+PASS regionListP22.item(0).id is "region5"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
+
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/get-regions-by-content2-expected.txt b/LayoutTests/platform/efl/fast/regions/get-regions-by-content2-expected.txt
new file mode 100644 (file)
index 0000000..0f33fc8
--- /dev/null
@@ -0,0 +1,30 @@
+Test for 90759: [CSSRegions] Rename NamedFlow::getRegionsByContentNode to NamedFlow::getRegionsByContent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS regionList is non-null.
+PASS regionList.length is 0
+PASS regionList2 is non-null.
+PASS regionList2.length is 0
+PASS regionList != regionList2 is true
+PASS regionList3 is non-null.
+PASS regionList3.length is 0
+PASS regionList4 is non-null.
+PASS regionList4.length is 1
+PASS regionList4.item(0).id is "region"
+PASS regionList5 is non-null.
+PASS regionList5.length is 0
+PASS regionList6 is non-null.
+PASS regionList6.length is 1
+PASS regionList6.item(0).id is "region"
+PASS regionList7 is non-null.
+PASS regionList7.length is 0
+PASS regionList8 is non-null.
+PASS regionList8.length is 0
+PASS regionList9 is non-null.
+PASS regionList9.length is 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/hit-test-float-expected.txt b/LayoutTests/platform/efl/fast/regions/hit-test-float-expected.txt
new file mode 100644 (file)
index 0000000..e8944ad
--- /dev/null
@@ -0,0 +1,3 @@
+Test for hit-testing of floats inside CSS Regions.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/hit-test-region-expected.txt b/LayoutTests/platform/efl/fast/regions/hit-test-region-expected.txt
new file mode 100644 (file)
index 0000000..720fa94
--- /dev/null
@@ -0,0 +1,5 @@
+Test for https://bugs.webkit.org/show_bug.cgi?id=76456 Inconsistent text selection behavior in regions.
+
+The red square should turn green when hovered.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/imbricated-flow-threads-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/imbricated-flow-threads-crash-expected.txt
new file mode 100644 (file)
index 0000000..05836f7
--- /dev/null
@@ -0,0 +1,3 @@
+Text should be rendered in the green region. The test passes if there is no crash
+
+Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/LayoutTests/platform/efl/fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/move-anonymous-block-inside-named-flow-crash-expected.txt
new file mode 100644 (file)
index 0000000..b0aae18
--- /dev/null
@@ -0,0 +1,2 @@
+Bug 90865:[CSSRegions]Crash when moving anonymous block children inside a named flow. Test passes if it does not CRASH or ASSERT.
+
diff --git a/LayoutTests/platform/efl/fast/regions/moved-content-node-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/moved-content-node-crash-expected.txt
new file mode 100644 (file)
index 0000000..fdc04d1
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 95645 Crash
+
+The test passes if it does not crash or assert.
+
+PASS
+
+
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
new file mode 100644 (file)
index 0000000..4b402cb
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/multiple-directionality-changes-in-variable-width-regions-expected.png 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
new file mode 100644 (file)
index 0000000..43b1d8d
--- /dev/null
@@ -0,0 +1,36 @@
+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 332x94
+                  text run at (-18,0) width 250: "This line of text should not get out of"
+                  text run at (-18,18) width 250: "the region. This line of text should not"
+                  text run at (-18,36) width 250: "get out of the region. This line of text"
+                  text run at (0,57) width 314: "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 314x73
+                  text run at (0,0) width 314: "This line of text should not get out of the region."
+                  text run at (0,18) width 314: "This line of text should not get out of the region."
+                  text run at (0,36) width 314: "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 304x19
+                  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
diff --git a/LayoutTests/platform/efl/fast/regions/no-split-line-box-expected.txt b/LayoutTests/platform/efl/fast/regions/no-split-line-box-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png
new file mode 100644 (file)
index 0000000..42dcd27
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-in-uniform-regions-dynamic-expected.txt
new file mode 100644 (file)
index 0000000..b1770d7
--- /dev/null
@@ -0,0 +1,40 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x532
+  RenderBlock {HTML} at (0,0) size 800x532
+    RenderBody {BODY} at (8,16) size 784x508
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 692: "clips differently in each region. The green box should be even with the lime floats at the top of the first region."
+      RenderBlock {DIV} at (0,52) size 784x456
+        RenderRegion {DIV} at (0,0) size 402x152 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,152) size 402x152 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,304) size 402x152 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x450
+      RenderNamedFlowThread at (0,0) size 400x450
+        RenderBlock {DIV} at (0,0) size 400x232
+          RenderBlock {DIV} at (5,5) size 390x222 [border: (1px solid #0000FF)]
+            RenderBlock (floating) {DIV} at (6,6) size 50x50 [bgcolor=#00FF00]
+            RenderBlock (floating) {DIV} at (334,6) size 50x50 [bgcolor=#00FF00]
+    layer at (11,11) size 278x210 clip at (12,12) size 276x208 scrollWidth 376
+      RenderBlock {DIV} at (6,6) size 278x210 [border: (1px solid #008000)]
+        RenderBlock {P} at (1,17) size 276x72
+          RenderText {#text} at (50,0) size 276x73
+            text run at (50,0) width 276: "These lines will not spill out of the regions."
+            text run at (50,18) width 276: "These lines will not spill out of the regions."
+            text run at (50,36) width 276: "These lines will not spill out of the regions."
+            text run at (50,54) width 271: "These lines will not spill out of the regions."
+        RenderBlock {P} at (1,105) size 276x88
+          RenderText {#text} at (50,0) size 376x89
+            text run at (50,0) width 276: "These lines will not spill out of the regions."
+            text run at (0,34) width 276: "These lines will not spill out of the regions. "
+            text run at (276,34) width 100: "These lines will"
+            text run at (0,52) width 376: "not spill out of the regions. These lines will not spill out of"
+            text run at (0,70) width 73: "the regions."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..cdffd23
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-in-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..f6788e4
--- /dev/null
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 745x37
+          text run at (0,0) width 745: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself"
+          text run at (0,18) width 186: "independently in each region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (0,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x253
+          RenderBlock {DIV} at (5,5) size 290x243 [border: (1px solid #0000FF)]
+    layer at (46,46) size 208x161 clip at (47,47) size 206x159 scrollWidth 500 scrollHeight 160
+      RenderBlock {DIV} at (41,41) size 208x161 [border: (1px solid #008000)]
+        RenderBlock {DIV} at (1,1) size 500x18
+          RenderText {#text} at (0,0) size 286x19
+            text run at (0,0) width 286: "Clipped line of text that should not be visible."
+        RenderBlock {P} at (1,35) size 206x91
+          RenderText {#text} at (0,0) size 206x92
+            text run at (0,0) width 106: "These lines will"
+            text run at (0,19) width 206: "not spill out of the regions."
+            text run at (0,37) width 206: "These lines will not spill out of"
+            text run at (0,55) width 79: "the regions. "
+            text run at (79,55) width 127: "These lines will not"
+            text run at (0,73) width 144: "spill out of the regions."
+        RenderBlock {DIV} at (1,142) size 500x18
+          RenderText {#text} at (0,0) size 286x19
+            text run at (0,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..7851899
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-moving-below-floats-in-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..e4554cd
--- /dev/null
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 506: "clips differently in each region. The green box should start below the lime floats."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 402x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 222x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x400
+      RenderNamedFlowThread at (0,0) size 400x400
+        RenderBlock {DIV} at (0,0) size 400x305
+          RenderBlock {DIV} at (5,5) size 390x295 [border: (1px solid #0000FF)]
+            RenderBlock (floating) {DIV} at (1,1) size 50x50 [bgcolor=#00FF00]
+            RenderBlock (floating) {DIV} at (239,1) size 50x50 [bgcolor=#00FF00]
+    layer at (53,56) size 293x243 clip at (54,57) size 291x241 scrollWidth 500 scrollHeight 242
+      RenderBlock {DIV} at (48,51) size 293x243 [border: (1px solid #008000)]
+        RenderBlock {DIV} at (1,1) size 500x18
+          RenderText {#text} at (-12,0) size 286x19
+            text run at (-12,0) width 286: "Clipped line of text that should not be visible."
+        RenderBlock {P} at (1,44) size 291x72
+          RenderText {#text} at (0,0) size 291x73
+            text run at (0,0) width 291: "These lines will not spill out of the regions."
+            text run at (0,18) width 291: "These lines will not spill out of the regions."
+            text run at (0,36) width 291: "These lines will not spill out of the regions."
+            text run at (0,54) width 271: "These lines will not spill out of the regions."
+        RenderBlock {P} at (1,132) size 291x72
+          RenderText {#text} at (0,0) size 291x73
+            text run at (0,0) width 291: "These lines will not spill out of the regions."
+            text run at (0,18) width 291: "These lines will not spill out of the regions."
+            text run at (0,36) width 291: "These lines will not spill out of the regions."
+            text run at (0,54) width 271: "These lines will not spill out of the regions."
+        RenderBlock {DIV} at (1,224) size 500x18
+          RenderText {#text} at (-22,0) size 286x19
+            text run at (-22,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..882576e
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..420584f
--- /dev/null
@@ -0,0 +1,47 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 692: "clips differently in each region. The green box should be even with the lime floats at the top of the first region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (0,0) size 302x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 402x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 222x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x400
+      RenderNamedFlowThread at (0,0) size 400x400
+        RenderBlock {DIV} at (0,0) size 400x265
+          RenderBlock {DIV} at (5,5) size 390x255 [border: (1px solid #0000FF)]
+            RenderBlock (floating) {DIV} at (1,1) size 30x50 [bgcolor=#00FF00]
+            RenderBlock (floating) {DIV} at (259,1) size 30x50 [bgcolor=#00FF00]
+    layer at (6,6) size 293x253 clip at (7,7) size 291x251 scrollWidth 500 scrollHeight 252
+      RenderBlock {DIV} at (1,1) size 293x253 [border: (1px solid #008000)]
+        RenderBlock {DIV} at (1,1) size 500x18
+          RenderText {#text} at (35,0) size 286x19
+            text run at (35,0) width 286: "Clipped line of text that should not be visible."
+        RenderBlock {P} at (1,35) size 291x95
+          RenderText {#text} at (35,0) size 303x96
+            text run at (35,0) width 216: "These lines will not spill out of"
+            text run at (35,18) width 216: "the regions. These lines will not"
+            text run at (35,36) width 178: "spill out of the regions. "
+            text run at (213,36) width 38: "These"
+            text run at (47,59) width 291: "lines will not spill out of the regions. These"
+            text run at (47,77) width 229: "lines will not spill out of the regions."
+        RenderBlock {P} at (1,146) size 291x72
+          RenderText {#text} at (47,0) size 291x73
+            text run at (47,0) width 291: "These lines will not spill out of the regions."
+            text run at (47,18) width 291: "These lines will not spill out of the regions."
+            text run at (47,36) width 291: "These lines will not spill out of the regions."
+            text run at (47,54) width 271: "These lines will not spill out of the regions."
+        RenderBlock {DIV} at (1,234) size 500x18
+          RenderText {#text} at (47,0) size 286x19
+            text run at (47,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..b2b2f18
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-rtl-in-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..3bbc7e4
--- /dev/null
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 745x37
+          text run at (0,0) width 745: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself"
+          text run at (0,18) width 186: "independently in each region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (582,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (482,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (662,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x253
+          RenderBlock {DIV} at (5,5) size 290x243 [border: (1px solid #0000FF)]
+    layer at (46,46) size 208x161 clip at (47,47) size 206x159 scrollWidth 500 scrollHeight 160
+      RenderBlock {DIV} at (41,41) size 208x161 [border: (1px solid #008000)]
+        RenderBlock {DIV} at (1,1) size 500x18
+          RenderText {#text} at (100,0) size 286x19
+            text run at (100,0) width 286: "Clipped line of text that should not be visible."
+        RenderBlock {P} at (1,35) size 206x91
+          RenderText {#text} at (100,0) size 206x92
+            text run at (100,0) width 106: "These lines will"
+            text run at (0,19) width 206: "not spill out of the regions."
+            text run at (0,37) width 206: "These lines will not spill out of"
+            text run at (0,55) width 79: "the regions. "
+            text run at (79,55) width 127: "These lines will not"
+            text run at (0,73) width 144: "spill out of the regions."
+        RenderBlock {DIV} at (1,142) size 500x18
+          RenderText {#text} at (0,0) size 286x19
+            text run at (0,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..1e4b811
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-size-change-in-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..8cd2ab7
--- /dev/null
@@ -0,0 +1,50 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 195: "clips differently in each region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (0,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x377
+          RenderBlock {DIV} at (5,5) size 290x367 [border: (1px solid #0000FF)]
+    layer at (41,6) size 218x365 clip at (42,7) size 216x363 scrollWidth 500
+      RenderBlock {DIV} at (36,1) size 218x365 [border: (1px solid #008000)]
+        RenderBlock {DIV} at (1,1) size 500x18
+          RenderText {#text} at (-13,0) size 286x19
+            text run at (-13,0) width 286: "Clipped line of text that should not be visible."
+        RenderBlock {P} at (1,35) size 216x131
+          RenderText {#text} at (-13,0) size 229x132
+            text run at (-13,0) width 141: "These lines will not"
+            text run at (-13,18) width 141: "spill out of the"
+            text run at (-13,36) width 141: "regions. These lines"
+            text run at (0,59) width 216: "will not spill out of the regions."
+            text run at (0,77) width 216: "These lines will not spill out of"
+            text run at (0,95) width 216: "the regions. These lines will not"
+            text run at (0,113) width 144: "spill out of the regions."
+        RenderBlock {P} at (1,182) size 216x128
+          RenderText {#text} at (0,0) size 239x129
+            text run at (0,0) width 216: "These lines will not spill out of"
+            text run at (0,18) width 216: "the regions. These lines will not"
+            text run at (0,36) width 178: "spill out of the regions. "
+            text run at (178,36) width 38: "These"
+            text run at (0,54) width 216: "lines will not spill out of the"
+            text run at (0,72) width 216: "regions. These lines will not spill"
+            text run at (-23,92) width 81: "out of the"
+            text run at (-23,110) width 50: "regions."
+        RenderBlock {DIV} at (1,326) size 500x18
+          RenderText {#text} at (-23,0) size 286x19
+            text run at (-23,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png
new file mode 100644 (file)
index 0000000..e31d68f
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-expected.txt
new file mode 100644 (file)
index 0000000..707d02d
--- /dev/null
@@ -0,0 +1,48 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 195: "clips differently in each region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (0,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x359
+          RenderBlock {DIV} at (5,5) size 290x349 [border: (1px solid #0000FF)]
+    layer at (41,6) size 218x347 clip at (42,7) size 216x345 scrollWidth 500 scrollHeight 346
+      RenderBlock (relative positioned) {DIV} at (36,1) size 218x347 [border: (1px solid #008000)]
+        RenderBlock {P} at (1,35) size 216x131
+          RenderText {#text} at (-13,0) size 229x132
+            text run at (-13,0) width 141: "These lines will not"
+            text run at (-13,18) width 141: "spill out of the"
+            text run at (-13,36) width 141: "regions. These lines"
+            text run at (0,59) width 216: "will not spill out of the regions."
+            text run at (0,77) width 216: "These lines will not spill out of"
+            text run at (0,95) width 216: "the regions. These lines will not"
+            text run at (0,113) width 144: "spill out of the regions."
+        RenderBlock {P} at (1,182) size 216x128
+          RenderText {#text} at (0,0) size 239x129
+            text run at (0,0) width 216: "These lines will not spill out of"
+            text run at (0,18) width 216: "the regions. These lines will not"
+            text run at (0,36) width 178: "spill out of the regions. "
+            text run at (178,36) width 38: "These"
+            text run at (0,54) width 216: "lines will not spill out of the"
+            text run at (0,72) width 216: "regions. These lines will not spill"
+            text run at (-23,92) width 81: "out of the"
+            text run at (-23,110) width 50: "regions."
+    layer at (42,334) size 500x18 backgroundClip at (51,76) size 216x345 clip at (51,76) size 216x345 outlineClip at (51,76) size 216x345
+      RenderBlock (positioned) {DIV} at (1,328) size 500x18
+        RenderText {#text} at (-23,0) size 286x19
+          text run at (-23,0) width 286: "Clipped line of text that should not be visible."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png
new file mode 100644 (file)
index 0000000..70a38a2
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt b/LayoutTests/platform/efl/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.txt
new file mode 100644 (file)
index 0000000..4fb103d
--- /dev/null
@@ -0,0 +1,46 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x482
+  RenderBlock {HTML} at (0,0) size 800x482
+    RenderBody {BODY} at (8,16) size 784x458
+      RenderBlock {P} at (0,0) size 784x36
+        RenderText {#text} at (0,0) size 772x37
+          text run at (0,0) width 772: "The first and last lines of text in the regions below should be clipped to the green box. The overflow section sizes itself and"
+          text run at (0,18) width 195: "clips differently in each region."
+      RenderBlock {DIV} at (0,52) size 784x406
+        RenderRegion {DIV} at (582,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (482,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (662,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x359
+          RenderBlock {DIV} at (5,5) size 290x349 [border: (1px solid #0000FF)]
+    layer at (41,6) size 218x347 clip at (42,7) size 216x345 scrollX 284 scrollWidth 500 scrollHeight 346
+      RenderBlock (relative positioned) {DIV} at (36,1) size 218x347 [border: (1px solid #008000)]
+        RenderBlock {P} at (1,35) size 216x131
+          RenderText {#text} at (88,0) size 229x132
+            text run at (88,0) width 141: "These lines will not"
+            text run at (88,18) width 141: "spill out of the"
+            text run at (88,36) width 141: "regions. These lines"
+            text run at (0,59) width 216: "will not spill out of the regions."
+            text run at (0,77) width 216: "These lines will not spill out of"
+            text run at (0,95) width 216: "the regions. These lines will not"
+            text run at (72,113) width 4 RTL: "."
+            text run at (76,113) width 140: "spill out of the regions"
+        RenderBlock {P} at (1,182) size 216x128
+          RenderText {#text} at (0,0) size 239x129
+            text run at (0,0) width 216: "These lines will not spill out of"
+            text run at (0,18) width 216: "the regions. These lines will not"
+            text run at (0,36) width 178: "spill out of the regions. "
+            text run at (178,36) width 38: "These"
+            text run at (0,54) width 216: "lines will not spill out of the"
+            text run at (0,72) width 216: "regions. These lines will not spill"
+            text run at (158,92) width 81: "out of the"
+            text run at (189,110) width 4 RTL: "."
+            text run at (193,110) width 46: "regions"
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/parse-incomplete-region-rule-expected.txt b/LayoutTests/platform/efl/fast/regions/parse-incomplete-region-rule-expected.txt
new file mode 100644 (file)
index 0000000..3182cf4
--- /dev/null
@@ -0,0 +1 @@
+PASS if it does not crash or cause an ASSERT failure.
diff --git a/LayoutTests/platform/efl/fast/regions/parsing-region-style-rule-expected.txt b/LayoutTests/platform/efl/fast/regions/parsing-region-style-rule-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png
new file mode 100644 (file)
index 0000000..848b690
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-ltr-dominant-regions-expected.txt
new file mode 100644 (file)
index 0000000..173b551
--- /dev/null
@@ -0,0 +1,56 @@
+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 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x599
+          RenderBlock {DIV} at (34,5) size 232x589 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 210x567 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 208x157
+                RenderText {#text} at (-10,0) size 218x158
+                  text run at (-10,0) width 128: "This line of text"
+                  text run at (-10,18) width 128: "should not get out"
+                  text run at (-10,36) width 128: "of the region. This"
+                  text run at (0,67) width 208: "line of text should not get out of"
+                  text run at (0,85) width 208: "the region. This line of text"
+                  text run at (0,103) width 208: "should not get out of the region."
+                  text run at (0,121) width 208: "This line of text should not get"
+                  text run at (100,139) width 4 RTL: "."
+                  text run at (104,139) width 104: "out of the region"
+              RenderBlock {P} at (1,190) size 208x236
+                RenderText {#text} at (0,0) size 226x237
+                  text run at (0,0) width 208: "This line of text should not get"
+                  text run at (0,18) width 208: "out of the region. This line of"
+                  text run at (0,36) width 208: "text should not get out of the"
+                  text run at (0,54) width 208: "region. This line of text should"
+                  text run at (-18,74) width 64: "not get"
+                  text run at (-18,92) width 64: "out of the"
+                  text run at (2,110) width 44: "region."
+                  text run at (-18,128) width 64: "This line"
+                  text run at (-18,146) width 64: "of text"
+                  text run at (4,164) width 42: "should"
+                  text run at (-18,182) width 64: "not get"
+                  text run at (-18,200) width 64: "out of the"
+                  text run at (2,218) width 4 RTL: "."
+                  text run at (6,218) width 40: "region"
+              RenderBlock {P} at (1,442) size 208x108
+                RenderText {#text} at (-18,0) size 64x109
+                  text run at (-18,0) width 64: "This line"
+                  text run at (-18,18) width 64: "of text"
+                  text run at (4,36) width 42: "should"
+                  text run at (-18,54) width 64: "not get"
+                  text run at (-18,72) width 64: "out of the"
+                  text run at (2,90) width 4 RTL: "."
+                  text run at (6,90) width 40: "region"
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png
new file mode 100644 (file)
index 0000000..22a72ff
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/percentage-margins-mixed-rtl-dominant-regions-expected.txt
new file mode 100644 (file)
index 0000000..de364a7
--- /dev/null
@@ -0,0 +1,53 @@
+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 (582,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (482,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (662,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x599
+          RenderBlock {DIV} at (34,5) size 232x589 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 210x567 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 208x157
+                RenderText {#text} at (90,0) size 218x158
+                  text run at (90,0) width 128: "This line of text"
+                  text run at (90,18) width 128: "should not get out"
+                  text run at (90,36) width 128: "of the region. This"
+                  text run at (0,67) width 208: "line of text should not get out of"
+                  text run at (0,85) width 208: "the region. This line of text"
+                  text run at (0,103) width 208: "should not get out of the region."
+                  text run at (0,121) width 208: "This line of text should not get"
+                  text run at (0,139) width 108: "out of the region."
+              RenderBlock {P} at (1,190) size 208x236
+                RenderText {#text} at (0,0) size 226x237
+                  text run at (0,0) width 208: "This line of text should not get"
+                  text run at (0,18) width 208: "out of the region. This line of"
+                  text run at (0,36) width 208: "text should not get out of the"
+                  text run at (0,54) width 208: "region. This line of text should"
+                  text run at (162,74) width 64: "not get"
+                  text run at (162,92) width 64: "out of the"
+                  text run at (162,110) width 44: "region."
+                  text run at (162,128) width 64: "This line"
+                  text run at (162,146) width 64: "of text"
+                  text run at (162,164) width 42: "should"
+                  text run at (162,182) width 64: "not get"
+                  text run at (162,200) width 64: "out of the"
+                  text run at (162,218) width 44: "region."
+              RenderBlock {P} at (1,442) size 208x108
+                RenderText {#text} at (162,0) size 64x109
+                  text run at (162,0) width 64: "This line"
+                  text run at (162,18) width 64: "of text"
+                  text run at (162,36) width 42: "should"
+                  text run at (162,54) width 64: "not get"
+                  text run at (162,72) width 64: "out of the"
+                  text run at (162,90) width 44: "region."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..280da10
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/percentage-margins-rtl-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..e8a5b5f
--- /dev/null
@@ -0,0 +1,56 @@
+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 (582,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (482,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (662,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x599
+          RenderBlock {DIV} at (34,5) size 232x589 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 210x567 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 208x157
+                RenderText {#text} at (90,0) size 218x158
+                  text run at (90,0) width 128: "This line of text"
+                  text run at (90,18) width 128: "should not get out"
+                  text run at (90,36) width 128: "of the region. This"
+                  text run at (0,67) width 208: "line of text should not get out of"
+                  text run at (0,85) width 208: "the region. This line of text"
+                  text run at (0,103) width 208: "should not get out of the region."
+                  text run at (0,121) width 208: "This line of text should not get"
+                  text run at (100,139) width 4 RTL: "."
+                  text run at (104,139) width 104: "out of the region"
+              RenderBlock {P} at (1,190) size 208x236
+                RenderText {#text} at (0,0) size 226x237
+                  text run at (0,0) width 208: "This line of text should not get"
+                  text run at (0,18) width 208: "out of the region. This line of"
+                  text run at (0,36) width 208: "text should not get out of the"
+                  text run at (0,54) width 208: "region. This line of text should"
+                  text run at (162,74) width 64: "not get"
+                  text run at (162,92) width 64: "out of the"
+                  text run at (182,110) width 44: "region."
+                  text run at (162,128) width 64: "This line"
+                  text run at (162,146) width 64: "of text"
+                  text run at (184,164) width 42: "should"
+                  text run at (162,182) width 64: "not get"
+                  text run at (162,200) width 64: "out of the"
+                  text run at (182,218) width 4 RTL: "."
+                  text run at (186,218) width 40: "region"
+              RenderBlock {P} at (1,442) size 208x108
+                RenderText {#text} at (162,0) size 64x109
+                  text run at (162,0) width 64: "This line"
+                  text run at (162,18) width 64: "of text"
+                  text run at (184,36) width 42: "should"
+                  text run at (162,54) width 64: "not get"
+                  text run at (162,72) width 64: "out of the"
+                  text run at (182,90) width 4 RTL: "."
+                  text run at (186,90) width 40: "region"
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png b/LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png
new file mode 100644 (file)
index 0000000..be57018
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/percentage-margins-variable-width-regions-expected.txt
new file mode 100644 (file)
index 0000000..843a3da
--- /dev/null
@@ -0,0 +1,53 @@
+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 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x599
+          RenderBlock {DIV} at (34,5) size 232x589 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 210x567 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 208x157
+                RenderText {#text} at (-10,0) size 218x158
+                  text run at (-10,0) width 128: "This line of text"
+                  text run at (-10,18) width 128: "should not get out"
+                  text run at (-10,36) width 128: "of the region. This"
+                  text run at (0,67) width 208: "line of text should not get out of"
+                  text run at (0,85) width 208: "the region. This line of text"
+                  text run at (0,103) width 208: "should not get out of the region."
+                  text run at (0,121) width 208: "This line of text should not get"
+                  text run at (0,139) width 108: "out of the region."
+              RenderBlock {P} at (1,190) size 208x236
+                RenderText {#text} at (0,0) size 226x237
+                  text run at (0,0) width 208: "This line of text should not get"
+                  text run at (0,18) width 208: "out of the region. This line of"
+                  text run at (0,36) width 208: "text should not get out of the"
+                  text run at (0,54) width 208: "region. This line of text should"
+                  text run at (-18,74) width 64: "not get"
+                  text run at (-18,92) width 64: "out of the"
+                  text run at (-18,110) width 44: "region."
+                  text run at (-18,128) width 64: "This line"
+                  text run at (-18,146) width 64: "of text"
+                  text run at (-18,164) width 42: "should"
+                  text run at (-18,182) width 64: "not get"
+                  text run at (-18,200) width 64: "out of the"
+                  text run at (-18,218) width 44: "region."
+              RenderBlock {P} at (1,442) size 208x108
+                RenderText {#text} at (-18,0) size 64x109
+                  text run at (-18,0) width 64: "This line"
+                  text run at (-18,18) width 64: "of text"
+                  text run at (-18,36) width 42: "should"
+                  text run at (-18,54) width 64: "not get"
+                  text run at (-18,72) width 64: "out of the"
+                  text run at (-18,90) width 44: "region."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/positioned-vrl-in-named-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/positioned-vrl-in-named-flow-expected.txt
new file mode 100644 (file)
index 0000000..0c514fe
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 90792 Assert failure when layout positioned objects in regions.
+
+This test collects an absolutely positioned element in a flow thread without any regions attached. The positioned element has a different writing mode than its positioned parent.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/positioned-vrl-in-parent-named-flow-expected.txt
new file mode 100644 (file)
index 0000000..9bce66d
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 90792 Assert failure when layout positioned objects in regions.
+
+This test collects an absolutely positioned element with a writing mode different than the document writing mode into a flow thread without any regions attached.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/positioned-with-vrl-parent-in-named-flow-expected.txt
new file mode 100644 (file)
index 0000000..2fba101
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 90792 Assert failure when layout positioned objects in regions
+
+This test collects an absolutely positioned element into a flow thread without any regions attached. The absolutely positioned element has a different writing mode than its parent but the same writing mode as the containing block.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/region-attached-wrong-flow-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/region-attached-wrong-flow-crash-expected.txt
new file mode 100644 (file)
index 0000000..5c3b48b
--- /dev/null
@@ -0,0 +1,5 @@
+Test for WebKit Bug 93204 Region attached to the removed flow thread crash.
+
+The test passes if it does not crash or assert.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/region-element-display-change-expected.txt b/LayoutTests/platform/efl/fast/regions/region-element-display-change-expected.txt
new file mode 100644 (file)
index 0000000..26e5f87
--- /dev/null
@@ -0,0 +1,24 @@
+Test that RenderObject is recreated correctly after changing display type.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testElement(element, "none") is false
+PASS testElement(element, "block") is true
+PASS testElement(element, "inline-block") is true
+PASS testElement(element, "run-in") is false
+PASS testElement(element, "compact") is false
+PASS testElement(element, "inline") is false
+PASS testElement(element, "table") is false
+PASS testElement(element, "inline-table") is false
+PASS testElement(element, "table-cell") is true
+PASS testElement(element, "table-caption") is true
+PASS testElement(element, "list-item") is true
+PASS testElement(element, "-webkit-box") is false
+PASS testElement(element, "-webkit-inline-box") is false
+PASS testElement(element, "-webkit-flex") is false
+PASS testElement(element, "-webkit-inline-flex") is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/region-element-display-restriction-expected.txt b/LayoutTests/platform/efl/fast/regions/region-element-display-restriction-expected.txt
new file mode 100644 (file)
index 0000000..27d0c5c
--- /dev/null
@@ -0,0 +1,24 @@
+Test that only non-replaced block elements can be transformed into regions.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS createRegionElement("div", "none") is false
+PASS createRegionElement("div", "block") is true
+PASS createRegionElement("div", "inline-block") is true
+PASS createRegionElement("div", "run-in") is false
+PASS createRegionElement("div", "compact") is false
+PASS createRegionElement("div", "inline") is false
+PASS createRegionElement("div", "table") is false
+PASS createRegionElement("div", "inline-table") is false
+PASS createRegionElement("div", "table-cell") is true
+PASS createRegionElement("div", "table-caption") is true
+PASS createRegionElement("div", "list-item") is true
+PASS createRegionElement("div", "-webkit-box") is false
+PASS createRegionElement("div", "-webkit-inline-box") is false
+PASS createRegionElement("div", "-webkit-flex") is false
+PASS createRegionElement("div", "-webkit-inline-flex") is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/region-element-dynamic-attach-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/region-element-dynamic-attach-flow-expected.txt
new file mode 100644 (file)
index 0000000..0e1cfda
--- /dev/null
@@ -0,0 +1,3 @@
+Tests that changing the element into a region without an existing flow disconnects the element's content.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/region-element-dynamic-detach-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/region-element-dynamic-detach-flow-expected.txt
new file mode 100644 (file)
index 0000000..1b9fa06
--- /dev/null
@@ -0,0 +1,4 @@
+Tests that changing a region element into a normal element makes the element's content available.
+
+This text should be visible when the element is no longer a region.
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/region-flow-reattach-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/region-flow-reattach-crash-expected.txt
new file mode 100644 (file)
index 0000000..6f53ec2
--- /dev/null
@@ -0,0 +1,6 @@
+Test for WebKit Bug 91307 Crash when reattaching a region to a named flow.
+
+The test passes if it does not crash or assert.
+
+PASS
+
diff --git a/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png
new file mode 100644 (file)
index 0000000..75b103d
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.txt b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-hidden-expected.txt
new file mode 100644 (file)
index 0000000..90fc91e
--- /dev/null
@@ -0,0 +1,58 @@
+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
+      RenderRegion {DIV} at (2,2) size 402x402 [border: (1px solid #A0A0A0)]
+      RenderText {#text} at (406,0) size 8x15
+        text run at (406,0) width 8: " "
+      RenderRegion {DIV} at (416,2) size 302x202 [border: (1px solid #000000)]
+      RenderText {#text} at (0,0) size 0x0
+Flow Threads
+  Thread with flow-name 'article'
+    layer at (0,0) size 400x600
+      RenderNamedFlowThread at (0,0) size 400x600
+        RenderBlock {DIV} at (0,0) size 400x688
+          RenderBlock {DIV} at (0,0) size 400x396 [color=#A0A0A0]
+            RenderInline {SPAN} at (0,0) size 400x381 [bgcolor=#A0A0A0]
+              RenderText {#text} at (0,7) size 400x381
+                text run at (0,7) width 400: "This is some content This is some"
+                text run at (0,43) width 88: "content "
+                text run at (88,43) width 312: "This is some content This is"
+                text run at (0,79) width 157: "some content "
+                text run at (157,79) width 243: "This is some content"
+                text run at (0,115) width 255: "This is some content "
+                text run at (255,115) width 145: "This is some"
+                text run at (0,151) width 322: "content This is some content "
+                text run at (322,151) width 78: "This is"
+                text run at (0,187) width 400: "some content This is some content"
+                text run at (0,223) width 400: "This is some content This is some"
+                text run at (0,259) width 88: "content "
+                text run at (88,259) width 312: "This is some content This is"
+                text run at (0,295) width 157: "some content "
+                text run at (157,295) width 243: "This is some content"
+                text run at (0,331) width 255: "This is some content "
+                text run at (255,331) width 145: "This is some"
+                text run at (0,367) width 132: "content This"
+          RenderBlock {DIV} at (0,400) size 400x192 [color=#00A0E0]
+            RenderInline {SPAN} at (0,0) size 300x182 [bgcolor=#00A0E0]
+              RenderText {#text} at (0,5) size 300x182
+                text run at (0,5) width 300: "This is some content This is some content"
+                text run at (0,29) width 300: "This is some content This is some content"
+                text run at (0,53) width 300: "This is some content This is some content"
+                text run at (0,77) width 300: "This is some content This is some content"
+                text run at (0,101) width 300: "This is some content This is some content"
+                text run at (0,125) width 300: "This is some content This is some content"
+                text run at (0,149) width 300: "This is some content This is some content"
+                text run at (0,173) width 287: "This is some content This is some content"
+          RenderBlock {DIV} at (0,592) size 400x96 [color=#800000]
+            RenderInline {SPAN} at (0,0) size 300x86 [bgcolor=#800000]
+              RenderText {#text} at (0,5) size 300x86
+                text run at (0,5) width 300: "This is some content This is some content"
+                text run at (0,29) width 300: "This is some content This is some content"
+                text run at (0,53) width 300: "This is some content This is some content"
+                text run at (0,77) width 147: "This is some content."
+            RenderText {#text} at (0,0) size 0x0
+  Regions for flow 'article'
+    RenderRegion {DIV} #region_1
+    RenderRegion {DIV} #region_2
diff --git a/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png
new file mode 100644 (file)
index 0000000..660b2e4
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.txt b/LayoutTests/platform/efl/fast/regions/region-overflow-auto-overflow-visible-expected.txt
new file mode 100644 (file)
index 0000000..90fc91e
--- /dev/null
@@ -0,0 +1,58 @@
+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
+      RenderRegion {DIV} at (2,2) size 402x402 [border: (1px solid #A0A0A0)]
+      RenderText {#text} at (406,0) size 8x15
+        text run at (406,0) width 8: " "
+      RenderRegion {DIV} at (416,2) size 302x202 [border: (1px solid #000000)]
+      RenderText {#text} at (0,0) size 0x0
+Flow Threads
+  Thread with flow-name 'article'
+    layer at (0,0) size 400x600
+      RenderNamedFlowThread at (0,0) size 400x600
+        RenderBlock {DIV} at (0,0) size 400x688
+          RenderBlock {DIV} at (0,0) size 400x396 [color=#A0A0A0]
+            RenderInline {SPAN} at (0,0) size 400x381 [bgcolor=#A0A0A0]
+              RenderText {#text} at (0,7) size 400x381
+                text run at (0,7) width 400: "This is some content This is some"
+                text run at (0,43) width 88: "content "
+                text run at (88,43) width 312: "This is some content This is"
+                text run at (0,79) width 157: "some content "
+                text run at (157,79) width 243: "This is some content"
+                text run at (0,115) width 255: "This is some content "
+                text run at (255,115) width 145: "This is some"
+                text run at (0,151) width 322: "content This is some content "
+                text run at (322,151) width 78: "This is"
+                text run at (0,187) width 400: "some content This is some content"
+                text run at (0,223) width 400: "This is some content This is some"
+                text run at (0,259) width 88: "content "
+                text run at (88,259) width 312: "This is some content This is"
+                text run at (0,295) width 157: "some content "
+                text run at (157,295) width 243: "This is some content"
+                text run at (0,331) width 255: "This is some content "
+                text run at (255,331) width 145: "This is some"
+                text run at (0,367) width 132: "content This"
+          RenderBlock {DIV} at (0,400) size 400x192 [color=#00A0E0]
+            RenderInline {SPAN} at (0,0) size 300x182 [bgcolor=#00A0E0]
+              RenderText {#text} at (0,5) size 300x182
+                text run at (0,5) width 300: "This is some content This is some content"
+                text run at (0,29) width 300: "This is some content This is some content"
+                text run at (0,53) width 300: "This is some content This is some content"
+                text run at (0,77) width 300: "This is some content This is some content"
+                text run at (0,101) width 300: "This is some content This is some content"
+                text run at (0,125) width 300: "This is some content This is some content"
+                text run at (0,149) width 300: "This is some content This is some content"
+                text run at (0,173) width 287: "This is some content This is some content"
+          RenderBlock {DIV} at (0,592) size 400x96 [color=#800000]
+            RenderInline {SPAN} at (0,0) size 300x86 [bgcolor=#800000]
+              RenderText {#text} at (0,5) size 300x86
+                text run at (0,5) width 300: "This is some content This is some content"
+                text run at (0,29) width 300: "This is some content This is some content"
+                text run at (0,53) width 300: "This is some content This is some content"
+                text run at (0,77) width 147: "This is some content."
+            RenderText {#text} at (0,0) size 0x0
+  Regions for flow 'article'
+    RenderRegion {DIV} #region_1
+    RenderRegion {DIV} #region_2
diff --git a/LayoutTests/platform/efl/fast/regions/region-range-for-box-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/region-range-for-box-crash-expected.txt
new file mode 100644 (file)
index 0000000..fe67219
--- /dev/null
@@ -0,0 +1,5 @@
+Bug 74781: Crash in RenderFlowThread::getRegionRangeForBox
+
+This test PASSES if it does not CRASH or ASSERT.
+
+A
diff --git a/LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.png b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.png
new file mode 100644 (file)
index 0000000..ba17742
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.txt b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color-expected.txt
new file mode 100644 (file)
index 0000000..111def3
--- /dev/null
@@ -0,0 +1,113 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x556
+  RenderBlock {HTML} at (0,0) size 800x556
+    RenderBody {BODY} at (8,8) size 784x540
+      RenderRegion {DIV} at (0,0) size 280x30
+      RenderRegion {DIV} at (0,30) size 280x50
+      RenderRegion {DIV} at (0,80) size 280x30
+      RenderRegion {DIV} at (0,110) size 280x50
+      RenderRegion {DIV} at (0,160) size 280x50
+      RenderRegion {DIV} at (0,210) size 280x30
+      RenderRegion {DIV} at (0,240) size 280x50
+      RenderRegion {DIV} at (0,290) size 280x50
+      RenderRegion {DIV} at (0,340) size 280x30
+      RenderRegion {DIV} at (0,370) size 280x30
+      RenderRegion {DIV} at (0,400) size 280x30
+      RenderRegion {DIV} at (0,430) size 280x30
+      RenderRegion {DIV} at (0,460) size 280x50
+      RenderRegion {DIV} at (0,510) size 280x30
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 280x30
+      RenderNamedFlowThread at (0,0) size 280x30
+        RenderBlock {DIV} at (0,16) size 280x18
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 258x19
+              text run at (0,0) width 258: "Green background text styled in region1."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1 region style: 1
+  Thread with flow-name 'flow2'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region21."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "Lime background text styled in region22."
+  Regions for flow 'flow2'
+    RenderRegion {DIV} #region21 region style: 1
+    RenderRegion {DIV} #region22 region style: 1
+  Thread with flow-name 'flow3'
+    layer at (0,0) size 280x130
+      RenderNamedFlowThread at (0,0) size 280x130
+        RenderBlock {DIV} at (0,16) size 280x102
+          RenderBlock {P} at (0,0) size 280x102 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x103
+              text run at (0,0) width 266: "Green background text styled in region31."
+              text run at (0,34) width 260: "Lime background text styled in region32."
+              text run at (0,52) width 260: "Lime background text styled in region32."
+              text run at (0,84) width 266: "Green background text styled in region31."
+  Regions for flow 'flow3'
+    RenderRegion {DIV} #region31 region style: 1
+    RenderRegion {DIV} #region32 region style: 1
+    RenderRegion {DIV} #region31 region style: 1
+  Thread with flow-name 'flow41'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 270x19
+              text run at (0,0) width 270: "Green background text styled in region 41."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 270x19
+              text run at (0,0) width 270: "Green background text styled in region 41."
+  Regions for flow 'flow41'
+    RenderRegion {DIV} #region41 region style: 1
+    RenderRegion {DIV} #region41 region style: 1
+  Thread with flow-name 'flow42'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 264x19
+              text run at (0,0) width 264: "Lime background text styled in region 42."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 264x19
+              text run at (0,0) width 264: "Lime background text styled in region 42."
+  Regions for flow 'flow42'
+    RenderRegion {DIV} #region42 region style: 1
+    RenderRegion {DIV} #region42 region style: 1
+  Thread with flow-name 'flow5'
+    layer at (0,0) size 280x30
+      RenderNamedFlowThread at (0,0) size 280x30
+        RenderBlock {DIV} at (0,16) size 280x18
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderInline {I} at (0,0) size 270x19
+              RenderInline {B} at (0,0) size 270x19
+                RenderText {#text} at (0,0) size 270x19
+                  text run at (0,0) width 270: "Green background, styled text in region5."
+  Regions for flow 'flow5'
+    RenderRegion {DIV} #region5 region style: 1
+  Thread with flow-name 'flow6'
+    layer at (0,0) size 280x30
+      RenderNamedFlowThread at (0,0) size 280x30
+        RenderBlock {DIV} at (0,16) size 280x18
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 253x19
+              text run at (0,0) width 253: "Transparent background text in region6."
+  Regions for flow 'flow6'
+    RenderRegion {DIV} #region6 region style: 1
+  Thread with flow-name 'flow7'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x52 [bgcolor=#008000]
+            RenderText {#text} at (0,0) size 261x53
+              text run at (0,0) width 261: "Transparent background text in region71."
+              text run at (0,34) width 229: "Green background text in region 72."
+  Regions for flow 'flow7'
+    RenderRegion {DIV} #region71 region style: 1
+    RenderRegion {DIV} #region72
diff --git a/LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.png b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.png
new file mode 100644 (file)
index 0000000..b86433c
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.txt b/LayoutTests/platform/efl/fast/regions/region-style-block-background-color2-expected.txt
new file mode 100644 (file)
index 0000000..c43ee81
--- /dev/null
@@ -0,0 +1,96 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x546
+  RenderBlock {HTML} at (0,0) size 800x546
+    RenderBody {BODY} at (8,8) size 784x530
+      RenderRegion {DIV} at (0,0) size 280x50
+      RenderBlock {DIV} at (0,66) size 784x18
+        RenderBlock {P} at (0,0) size 280x18 [bgcolor=#00FF00]
+          RenderText {#text} at (0,0) size 260x19
+            text run at (0,0) width 260: "Lime background text styled out region2."
+      RenderBlock {DIV} at (0,100) size 784x0
+      RenderRegion {DIV} at (0,100) size 280x50
+      RenderRegion {DIV} at (0,150) size 280x30
+      RenderRegion {DIV} at (0,180) size 280x50
+      RenderRegion {DIV} at (0,230) size 280x30
+      RenderRegion {DIV} at (0,260) size 280x100
+      RenderRegion {DIV} at (0,360) size 280x10
+      RenderRegion {DIV} at (0,370) size 280x50
+      RenderRegion {DIV} at (0,420) size 280x30
+      RenderRegion {DIV} at (0,450) size 280x50
+      RenderRegion {DIV} at (0,500) size 280x30
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 280x50
+      RenderNamedFlowThread at (0,0) size 280x50
+        RenderBlock {DIV} at (0,16) size 280x18
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 258x19
+              text run at (0,0) width 258: "Green background text styled in region1."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1 region style: 1
+  Thread with flow-name 'flow3'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region31."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "Lime background text styled in region32."
+  Regions for flow 'flow3'
+    RenderRegion {DIV} #region31 region style: 1
+    RenderRegion {DIV} #region32 region style: 1
+  Thread with flow-name 'flow4'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region41."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "Lime background text styled in region42."
+  Regions for flow 'flow4'
+    RenderRegion {DIV} #region41 region style: 1
+    RenderRegion {DIV} #region42 region style: 1
+  Thread with flow-name 'flow5'
+    layer at (0,0) size 280x110
+      RenderNamedFlowThread at (0,0) size 280x110
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region51."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region51."
+  Regions for flow 'flow5'
+    RenderRegion {DIV} #region51 region style: 1
+    RenderRegion {DIV} #region52 region style: 1
+  Thread with flow-name 'flow6'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region61."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "Lime background text styled in region62."
+  Regions for flow 'flow6'
+    RenderRegion {DIV} #region61 region style: 1
+    RenderRegion {DIV} #region62 region style: 1
+  Thread with flow-name 'flow7'
+    layer at (0,0) size 280x80
+      RenderNamedFlowThread at (0,0) size 280x80
+        RenderBlock {DIV} at (0,16) size 280x52
+          RenderBlock {P} at (0,0) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 266x19
+              text run at (0,0) width 266: "Green background text styled in region71."
+          RenderBlock {P} at (0,34) size 280x18 [bgcolor=#FF0000]
+            RenderText {#text} at (0,0) size 260x19
+              text run at (0,0) width 260: "Lime background text styled in region72."
+  Regions for flow 'flow7'
+    RenderRegion {DIV} #region71 region style: 1
+    RenderRegion {DIV} #region72 region style: 1
diff --git a/LayoutTests/platform/efl/fast/regions/remove-flow-thread-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/remove-flow-thread-crash-expected.txt
new file mode 100644 (file)
index 0000000..09d09da
--- /dev/null
@@ -0,0 +1,2 @@
+Tests that removing a region that is sibling to the flow doesn't crash.
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/removed-element-style-in-region-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/removed-element-style-in-region-crash-expected.txt
new file mode 100644 (file)
index 0000000..033c5c4
--- /dev/null
@@ -0,0 +1,7 @@
+Test for WebKit Bug 93276 Crash when using style in region for removed element.
+
+The test passes if it does not crash or assert.
+
+PASS
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/select-in-region-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/select-in-region-crash-expected.txt
new file mode 100644 (file)
index 0000000..5581548
--- /dev/null
@@ -0,0 +1,5 @@
+Bug 77474: Crash in RenderFlowThread::setRegionBoxesRegionStyle
+
+This test PASSES if it does not CRASH or ASSERT.
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/set-box-style-in-region-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/set-box-style-in-region-crash-expected.txt
new file mode 100644 (file)
index 0000000..384a97b
--- /dev/null
@@ -0,0 +1,5 @@
+Bug 78298: Crash in RenderFlowThread::setRegionBoxesRegionStyle
+
+This test PASSES if it does not CRASH or ASSERT.
+
+
diff --git a/LayoutTests/platform/efl/fast/regions/svg-root-element-collected-expected.txt b/LayoutTests/platform/efl/fast/regions/svg-root-element-collected-expected.txt
new file mode 100644 (file)
index 0000000..f42d445
--- /dev/null
@@ -0,0 +1,8 @@
+Bug 73735: Collect SVG nodes in render flow thread
+
+It should be possible to collect a root "svg" node into a render flow thread.
+
+On success, you should see PASS below.
+
+SVG text
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/symbol-in-named-flow-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/symbol-in-named-flow-crash-expected.txt
new file mode 100644 (file)
index 0000000..7b4e6db
--- /dev/null
@@ -0,0 +1,2 @@
+Test for WebKitBug 84493: crash when collecting svg symbol element in named flow.
+This test PASSES if it does not CRASH or ASSERT.
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-breaks-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-breaks-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-after-resize-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-after-resize-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-horizontal-bt-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-horizontal-bt-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
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
new file mode 100644 (file)
index 0000000..1c11250
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/text-region-split-small-pagination-expected.png 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
new file mode 100644 (file)
index 0000000..1236f36
--- /dev/null
@@ -0,0 +1,37 @@
+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 111x19
+              RenderText {#text} at (0,0) size 111x19
+                text run at (0,0) width 111: "Text in region 2."
+            RenderText {#text} at (111,0) size 143x37
+              text run at (111,0) width 32: " This"
+              text run at (0,18) width 99: "paragraph has \""
+            RenderInline {I} at (0,0) size 196x51
+              RenderText {#text} at (99,18) size 196x51
+                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 15x19
+              text run at (123,50) width 15: "\". "
+            RenderInline {B} at (0,0) size 179x69
+              RenderText {#text} at (138,50) size 179x69
+                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/text-region-split-vertical-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-vertical-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/text-region-split-vertical-rl-expected.txt b/LayoutTests/platform/efl/fast/regions/text-region-split-vertical-rl-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
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
new file mode 100644 (file)
index 0000000..ee9e633
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/top-overflow-out-of-second-region-expected.png 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
new file mode 100644 (file)
index 0000000..2e599fb
--- /dev/null
@@ -0,0 +1,38 @@
+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 779x73
+          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 293x170 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 291x54
+                RenderText {#text} at (0,0) size 291x55
+                  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 291x55
+                  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/regions/webkit-flow-double-pagination-float-push-expected.png b/LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.png
new file mode 100644 (file)
index 0000000..d00b449
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-double-pagination-float-push-expected.txt
new file mode 100644 (file)
index 0000000..2fb5f60
--- /dev/null
@@ -0,0 +1,45 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x584
+  RenderBlock {HTML} at (0,0) size 800x584
+    RenderBody {BODY} at (8,16) size 784x560
+      RenderBlock {P} at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 759x19
+          text run at (0,0) width 759: "In the example below, the first float pushes content into region #2, and the second float pushes both floats into region #3."
+      RenderBlock {DIV} at (0,34) size 784x526
+        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x122 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,224) size 402x302 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x520
+      RenderNamedFlowThread at (0,0) size 400x520
+        RenderBlock {DIV} at (0,0) size 400x537
+          RenderBlock {DIV} at (5,5) size 390x527 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 368x505 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 366x349
+                RenderImage {IMG} at (0,187) size 130x110 [bgcolor=#008000]
+                RenderImage {IMG} at (236,187) size 130x130 [bgcolor=#FFFF00]
+                RenderText {#text} at (130,187) size 352x163
+                  text run at (130,187) width 106: "This line of text"
+                  text run at (130,205) width 106: "should not get"
+                  text run at (130,223) width 106: "out of the"
+                  text run at (130,241) width 106: "region. This line"
+                  text run at (130,259) width 106: "of text should"
+                  text run at (130,277) width 106: "not get out of"
+                  text run at (130,295) width 106: "the region. This"
+                  text run at (0,313) width 236: "line of text should not get out of the"
+                  text run at (0,331) width 352: "region. This line of text should not get out of the region."
+              RenderBlock {P} at (1,382) size 366x72
+                RenderText {#text} at (0,0) size 366x73
+                  text run at (0,0) width 366: "This line of text should not get out of the region. This line"
+                  text run at (0,18) width 366: "of text should not get out of the region. This line of text"
+                  text run at (0,36) width 366: "should not get out of the region. This line of text should"
+                  text run at (0,54) width 155: "not get out of the region."
+              RenderBlock {P} at (1,470) size 366x18
+                RenderText {#text} at (0,0) size 304x19
+                  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
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png
new file mode 100644 (file)
index 0000000..58284d8
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-pushed-to-last-region-expected.txt
new file mode 100644 (file)
index 0000000..8ad9bd7
--- /dev/null
@@ -0,0 +1,39 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x512
+  RenderBlock {HTML} at (0,0) size 800x512
+    RenderBody {BODY} at (8,8) size 784x496
+      RenderBlock {DIV} at (0,0) size 784x496
+        RenderRegion {DIV} at (0,0) size 402x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x92 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,194) size 402x302 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x490
+      RenderNamedFlowThread at (0,0) size 400x490
+        RenderBlock {DIV} at (0,0) size 400x453
+          RenderBlock {DIV} at (5,5) size 390x443 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 368x421 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 366x265
+                RenderImage {IMG} at (236,157) size 130x100 [bgcolor=#008000]
+                RenderText {#text} at (0,157) size 236x109
+                  text run at (0,157) width 236: "This line of text should not get out of"
+                  text run at (0,175) width 26: "the "
+                  text run at (26,175) width 210: "region. This line of text should"
+                  text run at (0,193) width 236: "not get out of the region. This line of"
+                  text run at (0,211) width 236: "text should not get out of the region."
+                  text run at (0,229) width 236: "This line of text should not get out of"
+                  text run at (0,247) width 67: "the region."
+              RenderBlock {P} at (1,298) size 366x72
+                RenderText {#text} at (0,0) size 366x73
+                  text run at (0,0) width 366: "This line of text should not get out of the region. This line"
+                  text run at (0,18) width 366: "of text should not get out of the region. This line of text"
+                  text run at (0,36) width 366: "should not get out of the region. This line of text should"
+                  text run at (0,54) width 155: "not get out of the region."
+              RenderBlock {P} at (1,386) size 366x18
+                RenderText {#text} at (0,0) size 304x19
+                  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
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png
new file mode 100644 (file)
index 0000000..b130bab
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-float-unable-to-push-expected.txt
new file mode 100644 (file)
index 0000000..d845a0f
--- /dev/null
@@ -0,0 +1,41 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x292
+  RenderBlock {HTML} at (0,0) size 800x292
+    RenderBody {BODY} at (8,8) size 784x276
+      RenderBlock {DIV} at (0,0) size 784x276
+        RenderRegion {DIV} at (0,0) size 402x92 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,92) size 302x92 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,184) size 402x92 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 400x270
+      RenderNamedFlowThread at (0,0) size 400x270
+        RenderBlock {DIV} at (0,0) size 400x301
+          RenderBlock {DIV} at (5,5) size 390x291 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 368x269 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 366x111
+                RenderText {#text} at (0,0) size 104x19
+                  text run at (0,0) width 104: "This line of text "
+                RenderImage {IMG} at (236,0) size 130x100 [bgcolor=#008000]
+                RenderText {#text} at (104,0) size 236x112
+                  text run at (104,0) width 132: "should not get out of"
+                  text run at (0,18) width 26: "the "
+                  text run at (26,18) width 210: "region. This line of text should"
+                  text run at (0,36) width 236: "not get out of the region. This line of"
+                  text run at (0,57) width 236: "text should not get out of the region."
+                  text run at (0,75) width 236: "This line of text should not get out of"
+                  text run at (0,93) width 67: "the region."
+              RenderBlock {P} at (1,144) size 366x74
+                RenderText {#text} at (0,0) size 366x75
+                  text run at (0,0) width 266: "This line of text should not get out of the"
+                  text run at (0,20) width 366: "region. This line of text should not get out of the region."
+                  text run at (0,38) width 366: "This line of text should not get out of the region. This line"
+                  text run at (0,56) width 245: "of text should not get out of the region."
+              RenderBlock {P} at (1,234) size 366x18
+                RenderText {#text} at (0,0) size 304x19
+                  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
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png
new file mode 100644 (file)
index 0000000..f362399
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-expected.txt
new file mode 100644 (file)
index 0000000..b5174c1
--- /dev/null
@@ -0,0 +1,41 @@
+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 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,102) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (0,284) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x400
+      RenderNamedFlowThread at (0,0) size 300x400
+        RenderBlock {DIV} at (0,0) size 300x385
+          RenderBlock {DIV} at (5,5) size 290x375 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 268x353 [border: (1px solid #008000)]
+              RenderBlock {P} at (1,17) size 266x121
+                RenderText {#text} at (0,0) size 266x122
+                  text run at (0,0) width 166: "This line of text should"
+                  text run at (0,18) width 166: "not get out of the region."
+                  text run at (0,36) width 166: "This line of text should"
+                  text run at (0,67) width 266: "not get out of the region. This line of text"
+                  text run at (0,85) width 266: "should not get out of the region. This line"
+                  text run at (0,103) width 245: "of text should not get out of the region."
+              RenderBlock {P} at (1,154) size 266x90
+                RenderText {#text} at (0,0) size 266x91
+                  text run at (0,0) width 266: "This line of text should not get out of the"
+                  text run at (0,18) width 266: "region. This line of text should not get out"
+                  text run at (0,36) width 266: "of the region. This line of text should not"
+                  text run at (0,54) width 266: "get out of the region. This line of text"
+                  text run at (0,72) width 201: "should not get out of the region."
+              RenderBlock {P} at (1,264) size 266x72
+                RenderText {#text} at (0,0) size 86x73
+                  text run at (0,0) width 86: "This line of"
+                  text run at (0,18) width 86: "text should"
+                  text run at (0,36) width 86: "not get out of"
+                  text run at (0,54) width 67: "the region."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png
new file mode 100644 (file)
index 0000000..436af4f
Binary files /dev/null and b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.png differ
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-inlines-inside-regions-bounds-vertical-expected.txt
new file mode 100644 (file)
index 0000000..6b58b0b
--- /dev/null
@@ -0,0 +1,54 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 642x600
+  RenderBlock {HTML} at (0,0) size 642x600
+    RenderBody {BODY} at (8,8) size 626x584
+      RenderBlock {DIV} at (0,0) size 626x584
+        RenderRegion {DIV} at (0,0) size 202x102 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (202,0) size 302x182 [border: (1px solid #000000)]
+        RenderRegion {DIV} at (504,0) size 122x122 [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 620x180
+      RenderNamedFlowThread at (0,0) size 620x180
+        RenderBlock {DIV} at (0,0) size 605x180
+          RenderBlock {DIV} at (5,5) size 595x170 [border: (1px solid #0000FF)]
+            RenderBlock {DIV} at (11,11) size 573x148 [border: (1px solid #008000)]
+              RenderBlock {P} at (17,1) size 275x146
+                RenderText {#text} at (0,0) size 276x146
+                  text run at (0,0) width 66: "This line"
+                  text run at (18,0) width 66: "of text"
+                  text run at (36,0) width 66: "should not"
+                  text run at (54,0) width 66: "get out of"
+                  text run at (72,0) width 19: "the"
+                  text run at (90,0) width 44: "region."
+                  text run at (108,0) width 66: "This line"
+                  text run at (126,0) width 66: "of text"
+                  text run at (144,0) width 66: "should not"
+                  text run at (167,0) width 146: "get out of the region."
+                  text run at (185,0) width 146: "This line of text should"
+                  text run at (203,0) width 146: "not get out of the"
+                  text run at (221,0) width 146: "region. This line of"
+                  text run at (239,0) width 146: "text should not get out"
+                  text run at (257,0) width 84: "of the region."
+              RenderBlock {P} at (308,1) size 162x146
+                RenderText {#text} at (0,0) size 163x146
+                  text run at (0,0) width 146: "This line of text should"
+                  text run at (18,0) width 146: "not get out of the"
+                  text run at (36,0) width 146: "region. This line of"
+                  text run at (54,0) width 146: "text should not get out"
+                  text run at (72,0) width 146: "of the region. This line"
+                  text run at (90,0) width 146: "of text should not get"
+                  text run at (108,0) width 146: "out of the region. This"
+                  text run at (126,0) width 146: "line of text should not"
+                  text run at (144,0) width 131: "get out of the region."
+              RenderBlock {P} at (484,1) size 72x146
+                RenderText {#text} at (0,0) size 73x86
+                  text run at (0,0) width 86: "This line of"
+                  text run at (18,0) width 86: "text should"
+                  text run at (36,0) width 86: "not get out of"
+                  text run at (54,0) width 67: "the region."
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2
+    RenderRegion {DIV} #region3
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-flow-parsing-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-flow-parsing-expected.txt
new file mode 100644 (file)
index 0000000..4303ce5
--- /dev/null
@@ -0,0 +1,20 @@
+This test verifies that the webkit-flow-into property is correctly parsed
+
+PASS Test Parse none 
+PASS Test Parse first-flow 
+PASS Test Parse 'first-flow' 
+PASS Test Parse ; 
+PASS Test Parse 1 
+PASS Test Parse 1.2 
+PASS Test Parse -1 
+PASS Test Parse 12px 
+PASS Test Computed Style none 
+PASS Test Computed Style '' 
+PASS Test Computed Style 'first-flow' 
+PASS Test Computed Style first-flow 
+PASS Test Computed Style 12px  
+PASS Test Non-Inherited none, none 
+PASS Test Non-Inherited none, child-flow 
+PASS Test Non-Inherited parent-flow, none 
+PASS Test Non-Inherited parent-flow, child-flow 
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-crash-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-crash-expected.txt
new file mode 100644 (file)
index 0000000..b3f1a63
--- /dev/null
@@ -0,0 +1,4 @@
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-collection-expected.txt
new file mode 100644 (file)
index 0000000..9ce4560
--- /dev/null
@@ -0,0 +1,20 @@
+Tests WebKitNamedFlowCollection interface
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test WebKitNamedFlowCollection length property
+PASS document.webkitGetNamedFlows().length is 0
+PASS region1.style.webkitFlowFrom = 'flow1'; document.webkitGetNamedFlows().length is 1
+PASS region2.style.webkitFlowFrom = 'flow2'; document.webkitGetNamedFlows().length is 2
+PASS region1.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length is 1
+PASS region2.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length is 0
+Test WebKitNamedFlowCollection index getter
+PASS (document.webkitGetNamedFlows()[0].name == 'flow1' && document.webkitGetNamedFlows()[1].name == 'flow2')         || (document.webkitGetNamedFlows()[0].name == 'flow2' && document.webkitGetNamedFlows()[1].name == 'flow1') is true
+Test WebKitNamedFlowCollection name getter
+PASS document.webkitGetNamedFlows().flow1.name is "flow1"
+PASS document.webkitGetNamedFlows().flow2.name is "flow2"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt
new file mode 100644 (file)
index 0000000..c81a05e
--- /dev/null
@@ -0,0 +1,11 @@
+Tests regionLayoutEvent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+ Flow content
+PASS event.target.name is "article"
+PASS event.target.name is "article"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-expected.txt
new file mode 100644 (file)
index 0000000..f93e9c7
--- /dev/null
@@ -0,0 +1,11 @@
+Tests regionLayoutEvent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Flow content
+PASS event.target.name is "article"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-no-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-no-regions-expected.txt
new file mode 100644 (file)
index 0000000..ea2b219
--- /dev/null
@@ -0,0 +1,14 @@
+Tests regionLayoutEvent being dispatched when the region chain is removed
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Flow content
+PASS event.target.name is "article"
+Removing region 1
+Removing region 2
+PASS event.target.name is "article"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt
new file mode 100644 (file)
index 0000000..cb4ae01
--- /dev/null
@@ -0,0 +1,12 @@
+Tests regionLayoutEvent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+ Flow content
+PASS event.target.name is "article"
+Removing region_2 from DOM
+PASS event.target.name is "article"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt
new file mode 100644 (file)
index 0000000..234e462
--- /dev/null
@@ -0,0 +1,13 @@
+Tests regionLayoutEvent
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+Flow content
+PASS event.target.name is "article"
+Removing region_2 from flow
+PASS event.target.name is "article"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-target-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-target-expected.txt
new file mode 100644 (file)
index 0000000..b3ffa42
--- /dev/null
@@ -0,0 +1,19 @@
+Tests the the NamedFlow object behavior as an EventTarget
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Flow content
+PASS event.target.name is "article"
+PASS 2 is >= updatedCount
+PASS document.webkitGetFlowByName("article") is non-null.
+PASS recreated is false
+PASS document.webkitGetFlowByName("article") is null
+PASS event.target.name is "article"
+PASS 2 is >= updatedCount
+PASS recreated is true
+PASS document.webkitGetFlowByName("article") is non-null.
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-to-null-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-event-to-null-expected.txt
new file mode 100644 (file)
index 0000000..eb2ccb9
--- /dev/null
@@ -0,0 +1,15 @@
+Tests regionLayoutEvent being dispatched when the content is removed
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Flow content
+PASS event.target.name is "article"
+Removing region_2 from flow
+Removing region_1 from flow
+Removing article from flow
+PASS layoutUpdateDispatchedForNullFlow is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-existing-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-existing-flow-expected.txt
new file mode 100644 (file)
index 0000000..c7131ec
--- /dev/null
@@ -0,0 +1,7 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Getting a WebKitNamedFlow object for an existing flow should return a non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-first-empty-region-index-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-first-empty-region-index-expected.txt
new file mode 100644 (file)
index 0000000..4101f66
--- /dev/null
@@ -0,0 +1,16 @@
+Test for 90608: [CSSRegions]Implement NamedFlow::firstEmptyRegionIndex attribute.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS namedFlow.firstEmptyRegionIndex is -1
+PASS namedFlow.firstEmptyRegionIndex is -1
+PASS namedFlow.firstEmptyRegionIndex is 1
+PASS namedFlow.firstEmptyRegionIndex is 2
+PASS namedFlow.firstEmptyRegionIndex is -1
+PASS namedFlow.firstEmptyRegionIndex is 0
+PASS namedFlow.firstEmptyRegionIndex is -1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-flow-added-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-flow-added-expected.txt
new file mode 100644 (file)
index 0000000..0e0a152
--- /dev/null
@@ -0,0 +1,7 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Getting a WebKitNamedFlow object for a flow that was added should return a non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-content-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-content-expected.txt
new file mode 100644 (file)
index 0000000..fb4fe7f
--- /dev/null
@@ -0,0 +1,36 @@
+Test for 90163: [CSSRegions]Rename NamedFlow::contentNodes to NamedFlow::getContent()
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS document.webkitGetFlowByName("flow") is null
+PASS namedFlowContent3.length is 1
+PASS namedFlowContent3.item(0).id is "article"
+PASS namedFlowContent4.length is 1
+PASS namedFlowContent4.item(0).id is "article"
+PASS namedFlowContent5.length is 2
+PASS namedFlowContent5.item(0).id is "article2"
+PASS namedFlowContent5.item(1).id is "article"
+PASS namedFlowContent6.length is 2
+PASS namedFlowContent7.length is 2
+PASS namedFlowContent8.length is 3
+PASS namedFlowContent9.length is 3
+PASS namedFlowContent9.item(0).id is "article2"
+PASS namedFlowContent9.item(1).id is "span1"
+PASS namedFlowContent9.item(2).id is "article"
+PASS namedFlowContent10.length is 3
+PASS namedFlowContent10.item(0).id is "article"
+PASS namedFlowContent11.length is 5
+PASS namedFlowContent12.length is 1
+PASS namedFlowContent12.item(0).id is "article"
+PASS namedFlowContent11.length is 0
+PASS namedFlowContent12.length is 1
+PASS namedFlowContent12.item(0).id is "article"
+PASS document.webkitGetFlowByName("flow2") is null
+PASS namedFlowContent13.length is 0
+PASS namedFlowContent14.length is 0
+PASS namedFlowContent15.length is 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-regions-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-get-regions-expected.txt
new file mode 100644 (file)
index 0000000..4c980d0
--- /dev/null
@@ -0,0 +1,14 @@
+Tests WebKitNamedFlow.getRegions() and the DOM order of the list
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Flow content
+Test if the regions are in DOM order
+PASS getRegionAt(0).id is "region_1"
+PASS getRegionAt(1).id is "region_2"
+Empty content
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-invalid-name-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-invalid-name-expected.txt
new file mode 100644 (file)
index 0000000..e866f1d
--- /dev/null
@@ -0,0 +1,13 @@
+Test for 79685: [CSSRegions][CSSOM]Prevent creation of NamedFlow object for invalid flow name
+
+On success, you should see a series of PASS below.
+
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-modified-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-modified-flow-expected.txt
new file mode 100644 (file)
index 0000000..21e5fe4
--- /dev/null
@@ -0,0 +1,9 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Getting the webkit flow name for the previous flow should return a non-null object.
+
+Getting the webkit flow name for the new flow should return a non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-name-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-name-expected.txt
new file mode 100644 (file)
index 0000000..48ef656
--- /dev/null
@@ -0,0 +1,12 @@
+This tests the implementation of the 'name' attribute on the NamedFlow object attached to a flow thread. For more details see http://www.w3.org/TR/2012/WD-css3-regions-20120503/#dom-named-flow
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS namedFlow.name is 'flow-name'
+PASS namedFlow.name is 'flow-name'
+PASS namedFlow.name is 'flow-name'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-non-existing-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-non-existing-flow-expected.txt
new file mode 100644 (file)
index 0000000..ea321f7
--- /dev/null
@@ -0,0 +1,7 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Getting a WebKitNamedFlow object for a non-existant flow should return a non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-overset-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-overset-expected.txt
new file mode 100644 (file)
index 0000000..05ea570
--- /dev/null
@@ -0,0 +1,18 @@
+Test for https://bugs.webkit.org/show_bug.cgi?id=87491 [CSS Regions]Rename NamedFlow::overflow to NamedFlow::overset. For more details see http://www.w3.org/TR/2012/WD-css3-regions-20120503/
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS namedFlow.overset is true
+PASS namedFlow.overset is false
+PASS namedFlow.overset is true
+PASS namedFlow.overset is false
+PASS namedFlow.overset is true
+PASS namedFlow.overset is false
+PASS namedFlow.overset is true
+PASS namedFlow.overset is false
+PASS namedFlow.overset is true
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-removed-flow-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-removed-flow-expected.txt
new file mode 100644 (file)
index 0000000..3a4c228
--- /dev/null
@@ -0,0 +1,7 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Getting a WebKitNamedFlow object for a flow that was removed returns a non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-named-flow-same-object-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-named-flow-same-object-expected.txt
new file mode 100644 (file)
index 0000000..8df0ea6
--- /dev/null
@@ -0,0 +1,7 @@
+Test for 66642: [CSSRegions]Implement NamedFlow interface
+
+Asking for the same webkit named flow twice should return the same non-null object.
+
+On success, you should see PASS below.
+
+PASS
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-region-overflow-parsing-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-region-overflow-parsing-expected.txt
new file mode 100644 (file)
index 0000000..2e5de07
--- /dev/null
@@ -0,0 +1,25 @@
+Tests parsing of webkit-region-overflow property
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testCSSText("-webkit-region-overflow: auto") is "auto"
+PASS testCSSText("-webkit-region-overflow: initial") is "initial"
+PASS testCSSText("-webkit-region-overflow: inherit") is "inherit"
+PASS testCSSText("-webkit-region-overflow: break") is "break"
+PASS testCSSText("-webkit-region-overflow: 0") is ""
+PASS testCSSText("-webkit-region-overflow: -1") is ""
+PASS testCSSText("-webkit-region-overflow: 12.5") is ""
+PASS testCSSText("-webkit-region-overflow: 1px") is ""
+PASS testComputedStyle("auto") is "auto"
+PASS testComputedStyle("initial") is "auto"
+PASS testComputedStyle("inherit") is "auto"
+PASS testComputedStyle("break") is "break"
+PASS testComputedStyle("0") is "auto"
+PASS testComputedStyle("-1") is "auto"
+PASS testComputedStyle("12.5") is "auto"
+PASS testComputedStyle("1px") is "auto"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/efl/fast/regions/webkit-region-rule-expected.txt b/LayoutTests/platform/efl/fast/regions/webkit-region-rule-expected.txt
new file mode 100644 (file)
index 0000000..260f9fc
--- /dev/null
@@ -0,0 +1,21 @@
+This tests the WebKitCSSRegionRule interface.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS WebKitCSSRegionRule exists on Window object
+PASS WEBKIT_REGION_RULE exists on Window.CSSRule object
+PASS window.CSSRule.WEBKIT_REGION_RULE is 16
+PASS regionRule1.type is window.CSSRule.WEBKIT_REGION_RULE
+PASS regionRule1CSSRules.length is 2
+PASS regionRule1CSSRules.item(0).type is window.CSSRule.STYLE_RULE
+PASS regionRule1CSSRules.item(0).cssText is '#p1 { background-color: green; }'
+PASS regionRule1CSSRules.item(1).cssText is '#p2 { background-color: lime; }'
+PASS regionRule2.type is window.CSSRule.WEBKIT_REGION_RULE
+PASS regionRule2CSSRules.length is 1
+PASS regionRule2CSSRules.item(0).type is window.CSSRule.STYLE_RULE
+PASS regionRule2CSSRules.item(0).cssText is 'p { background-color: blue; }'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
index c0d31cae17108fe6faa793add2a12f714faee26f..137c5c11545f69e6d8b5c85a3325059ad5d73c19 100644 (file)
@@ -1,3 +1,15 @@
+2012-09-24  Dominik Röttsches  <dominik.rottsches@intel.com>
+
+        [EFL][DRT] Enable Regions support
+        https://bugs.webkit.org/show_bug.cgi?id=83897
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        Activating CSS regions by default for EWK views.
+
+        * ewk/ewk_view.cpp: Switch CSS regions on by default.
+        (_ewk_view_priv_new):
+
 2012-09-23  Byungwoo Lee  <bw80.lee@gmail.com>
 
         Fix build warnings : -Wunused-parameter, -Wparentheses, -Wuninitialized.
index f0b69673d768197f30a08ecd98834f680dd2df5e..b2d6367a5de5feb720062bc52078cc133ce22303 100644 (file)
@@ -793,6 +793,7 @@ static Ewk_View_Private_Data* _ewk_view_priv_new(Ewk_View_Smart_Data* smartData)
     priv->pageSettings->setSansSerifFontFamily("sans");
     priv->pageSettings->setStandardFontFamily("sans");
     priv->pageSettings->setHyperlinkAuditingEnabled(false);
+    priv->pageSettings->setCSSRegionsEnabled(true);
     priv->pageSettings->setScriptEnabled(true);
     priv->pageSettings->setPluginsEnabled(true);
     priv->pageSettings->setLocalStorageEnabled(true);
index 549056a3ebf4a3114bd7579979dda1470c486dfa..54386c342ff369dd8cc99da62f3d1c5c948a7469 100644 (file)
@@ -77,6 +77,7 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NAVIGATOR_CONTENT_UTILS ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETSCAPE_PLUGIN_API OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_INFO ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PAGE_VISIBILITY_API ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REGIONS ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_REQUEST_ANIMATION_FRAME ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHADOW_DOM ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SHARED_WORKERS ON)