Convert some fast/regions pixel tests to reftests
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Mar 2012 14:51:12 +0000 (14:51 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 21 Mar 2012 14:51:12 +0000 (14:51 +0000)
commite5dcd273feef050bb6784e8229df03085530240c
treef3e6ea99388839805bea03440eda4c35769b40da
parenteeb6179d762fcf7f5e35dda0cdbaa63eaef11e40
Convert some fast/regions pixel tests to reftests
https://bugs.webkit.org/show_bug.cgi?id=80602

Patch by hermwong <herm.wong@gmail.com> on 2012-03-21
Reviewed by Dirk Schulze.

- convert CSS regions tests from pixel tests to reftests.
- removed unnecessary image files that were used for pixel tests.
- added *.expected.html as the control for the reftests - these will render the position of objects without using CSS regions
- removed the "no red should be visible..." text from the positioned-objects-inline-static-in-rtl-regions because there was no red in the test file and the statement was irrelevant to the test.
- removed text from the positioned-objects-inline-static-spanning-regions.html test because it had nothing to do with the test. We based this on the visuals of the test and the fact that the test description made no mention of the text at all

* fast/regions/positioned-objects-clipped-spanning-regions-expected.html: Added.
* fast/regions/positioned-objects-clipped-spanning-regions.html:
* fast/regions/positioned-objects-in-regions-expected.html: Added.
* fast/regions/positioned-objects-in-rtl-regions-expected.html: Copied from LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions.html.
* fast/regions/positioned-objects-inline-static-in-regions-expected.html: Copied from LayoutTests/fast/regions/positioned-objects-inline-static-in-regions.html.
* fast/regions/positioned-objects-inline-static-in-regions.html:
* fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.html: Copied from LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions.html.
* fast/regions/positioned-objects-inline-static-in-rtl-regions.html:    no red should be visible because there was no red in the test file and the statement was irrelevant to the test.
* fast/regions/positioned-objects-inline-static-spanning-regions-expected.html: Added.
* fast/regions/positioned-objects-inline-static-spanning-regions.html:
* fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.html: Copied from LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions.html.
* fast/regions/positioned-objects-spanning-regions-expected.html: Added.
* platform/chromium/test_expectations.txt:
* platform/efl/fast/regions/positioned-objects-clipped-spanning-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-in-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-in-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-in-rtl-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-in-rtl-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-in-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-in-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-spanning-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-inline-static-spanning-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.txt: Removed.
* platform/efl/fast/regions/positioned-objects-spanning-regions-expected.png: Removed.
* platform/efl/fast/regions/positioned-objects-spanning-regions-expected.txt: Removed.
* platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
* platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-clipped-spanning-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-clipped-spanning-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-in-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-in-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-in-rtl-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-in-rtl-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-in-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-in-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-rtl-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-rtl-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.txt: Removed.
* platform/mac/fast/regions/positioned-objects-spanning-regions-expected.png: Removed.
* platform/mac/fast/regions/positioned-objects-spanning-regions-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/regions/positioned-objects-clipped-spanning-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-clipped-spanning-regions.html [changed mode: 0644->0755]
LayoutTests/fast/regions/positioned-objects-in-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-in-rtl-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-inline-static-in-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-inline-static-in-regions.html [changed mode: 0644->0755]
LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-inline-static-in-rtl-regions.html [changed mode: 0644->0755]
LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions.html [changed mode: 0644->0755]
LayoutTests/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.html [new file with mode: 0755]
LayoutTests/fast/regions/positioned-objects-spanning-regions-expected.html [new file with mode: 0755]
LayoutTests/platform/chromium/test_expectations.txt
LayoutTests/platform/efl/fast/regions/positioned-objects-clipped-spanning-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-in-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-in-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-in-rtl-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-in-rtl-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-in-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-in-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-spanning-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-inline-static-spanning-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.txt [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-spanning-regions-expected.png [deleted file]
LayoutTests/platform/efl/fast/regions/positioned-objects-spanning-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-clipped-spanning-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-clipped-spanning-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-in-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-in-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-in-rtl-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-in-rtl-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-in-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-in-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-in-rtl-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-rtl-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-inline-static-spanning-regions-rtl-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-perpendicular-flows-in-regions-expected.txt [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-spanning-regions-expected.png [deleted file]
LayoutTests/platform/mac/fast/regions/positioned-objects-spanning-regions-expected.txt [deleted file]