Diff
Modified: trunk/LayoutTests/ChangeLog (113618 => 113619)
--- trunk/LayoutTests/ChangeLog 2012-04-09 21:24:59 UTC (rev 113618)
+++ trunk/LayoutTests/ChangeLog 2012-04-09 21:26:55 UTC (rev 113619)
@@ -1,3 +1,23 @@
+2012-04-09 David Alcala <[email protected]>
+
+ [CSS Regions] Convert a fast/regions pixel test to a ref test
+ https://bugs.webkit.org/show_bug.cgi?id=83398
+
+ Reviewed by Dirk Schulze.
+
+ * fast/regions/position-writing-modes-in-variable-width-regions-expected.html: Added.
+ * platform/chromium-linux/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/chromium-mac-leopard/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/chromium-mac-snowleopard/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt: Removed.
+ * platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt: Removed.
+ * platform/efl/fast/regions/position-writing-modes-in-variable-width-regions-expected.png: Removed.
+ * platform/efl/fast/regions/position-writing-modes-in-variable-width-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.
+
2012-04-09 Sadrul Habib Chowdhury <[email protected]>
[chromium] Add Battery Status API support.
Added: trunk/LayoutTests/fast/regions/position-writing-modes-in-variable-width-regions-expected.html (0 => 113619)
--- trunk/LayoutTests/fast/regions/position-writing-modes-in-variable-width-regions-expected.html (rev 0)
+++ trunk/LayoutTests/fast/regions/position-writing-modes-in-variable-width-regions-expected.html 2012-04-09 21:26:55 UTC (rev 113619)
@@ -0,0 +1,49 @@
+<!doctype html>
+<html>
+<head>
+ <style>
+ #first-box {
+ margin:50px 0 0 32px;
+ position:relative;
+ }
+
+ .square {
+ width:80px;
+ height:80px;
+ position:absolute;
+ }
+
+ #topleft {
+ top:0px;
+ background-color:#00ff00;
+ }
+
+ #topright {
+ top:0px;
+ left:176px;
+ background-color:#00dd00;
+ }
+
+ #bottomleft {
+ top: 320px;
+ left:0;
+ background-color:#00bb00;
+ }
+
+ #bottomright {
+ top: 320px;
+ left:176px;
+ background-color:#009900;
+ }
+ </style>
+</head>
+
+<body>
+You should see four 80x80 green squares below and no red should be visible.
+<div id="first-box">
+ <div class="square" id="topleft"></div>
+ <div class="square" id="topright"></div>
+ <div class="square" id="bottomleft"></div>
+ <div class="square" id="bottomright"></div>
+</div>
+</body>
\ No newline at end of file
Deleted: trunk/LayoutTests/platform/chromium-linux/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt (113618 => 113619)
--- trunk/LayoutTests/platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:24:59 UTC (rev 113618)
+++ trunk/LayoutTests/platform/chromium-mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:26:55 UTC (rev 113619)
@@ -1,41 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x484 layerType: background only
-layer at (40,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,50) size 80x80 [bgcolor=#FF0000]
-layer at (40,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,370) size 80x80 [bgcolor=#FF0000]
-layer at (216,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,50) size 80x80 [bgcolor=#FF0000]
-layer at (216,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,370) size 80x80 [bgcolor=#FF0000]
-layer at (0,0) size 800x484 layerType: foreground only
- RenderBlock {HTML} at (0,0) size 800x484
- RenderBody {BODY} at (8,8) size 784x468
- RenderBlock (anonymous) at (0,0) size 784x18
- RenderText {#text} at (0,0) size 490x18
- text run at (0,0) width 490: "You should see four 80x80 green squares below and no red should be visible."
-layer at (8,26) size 550x450
- RenderBlock (relative positioned) {DIV} at (0,18) size 550x450
- RenderBlock {DIV} at (0,0) size 550x450
- RenderRegion {DIV} at (0,0) size 500x50
- RenderRegion {DIV} at (0,50) size 320x400
- RenderBlock {DIV} at (0,450) size 550x0
-Flow Threads
- Thread with flow-name 'flow1'
- layer at (0,0) size 500x450
- RenderFlowThread at (0,0) size 500x450
- RenderBlock {DIV} at (0,50) size 500x400
- layer at (50,50) size 400x400
- RenderBlock (relative positioned) {DIV} at (50,0) size 400x400
- layer at (32,50) size 80x80
- RenderBlock (positioned) {DIV} at (-18,0) size 80x80 [bgcolor=#00FF00]
- layer at (208,50) size 80x80
- RenderBlock (positioned) {DIV} at (158,0) size 80x80 [bgcolor=#00DD00]
- layer at (32,370) size 80x80
- RenderBlock (positioned) {DIV} at (-18,320) size 80x80 [bgcolor=#00BB00]
- layer at (325,370) size 125x80
- RenderBlock (positioned) {DIV} at (275,320) size 125x80 [bgcolor=#009900]
- Regions for flow 'flow1'
- RenderRegion {DIV} #region1
- RenderRegion {DIV} #region2
Deleted: trunk/LayoutTests/platform/chromium-mac-leopard/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-mac-snowleopard/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt (113618 => 113619)
--- trunk/LayoutTests/platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:24:59 UTC (rev 113618)
+++ trunk/LayoutTests/platform/chromium-win/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:26:55 UTC (rev 113619)
@@ -1,41 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x486 layerType: background only
-layer at (40,78) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,50) size 80x80 [bgcolor=#FF0000]
-layer at (40,398) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,370) size 80x80 [bgcolor=#FF0000]
-layer at (216,78) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,50) size 80x80 [bgcolor=#FF0000]
-layer at (216,398) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,370) size 80x80 [bgcolor=#FF0000]
-layer at (0,0) size 800x486 layerType: foreground only
- RenderBlock {HTML} at (0,0) size 800x486
- RenderBody {BODY} at (8,8) size 784x470
- RenderBlock (anonymous) at (0,0) size 784x20
- RenderText {#text} at (0,0) size 468x19
- text run at (0,0) width 468: "You should see four 80x80 green squares below and no red should be visible."
-layer at (8,28) size 550x450
- RenderBlock (relative positioned) {DIV} at (0,20) size 550x450
- RenderBlock {DIV} at (0,0) size 550x450
- RenderRegion {DIV} at (0,0) size 500x50
- RenderRegion {DIV} at (0,50) size 320x400
- RenderBlock {DIV} at (0,450) size 550x0
-Flow Threads
- Thread with flow-name 'flow1'
- layer at (0,0) size 500x450
- RenderNamedFlowThread at (0,0) size 500x450
- RenderBlock {DIV} at (0,50) size 500x400
- layer at (50,50) size 400x400
- RenderBlock (relative positioned) {DIV} at (50,0) size 400x400
- layer at (32,50) size 80x80
- RenderBlock (positioned) {DIV} at (-18,0) size 80x80 [bgcolor=#00FF00]
- layer at (208,50) size 80x80
- RenderBlock (positioned) {DIV} at (158,0) size 80x80 [bgcolor=#00DD00]
- layer at (32,370) size 80x80
- RenderBlock (positioned) {DIV} at (-18,320) size 80x80 [bgcolor=#00BB00]
- layer at (325,370) size 125x80
- RenderBlock (positioned) {DIV} at (275,320) size 125x80 [bgcolor=#009900]
- Regions for flow 'flow1'
- RenderRegion {DIV} #region1
- RenderRegion {DIV} #region2
Deleted: trunk/LayoutTests/platform/efl/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/efl/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt (113618 => 113619)
--- trunk/LayoutTests/platform/efl/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:24:59 UTC (rev 113618)
+++ trunk/LayoutTests/platform/efl/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:26:55 UTC (rev 113619)
@@ -1,41 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x484 layerType: background only
-layer at (40,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,50) size 80x80 [bgcolor=#FF0000]
-layer at (40,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,370) size 80x80 [bgcolor=#FF0000]
-layer at (216,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,50) size 80x80 [bgcolor=#FF0000]
-layer at (216,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,370) size 80x80 [bgcolor=#FF0000]
-layer at (0,0) size 800x484 layerType: foreground only
- RenderBlock {HTML} at (0,0) size 800x484
- RenderBody {BODY} at (8,8) size 784x468
- RenderBlock (anonymous) at (0,0) size 784x18
- RenderText {#text} at (0,0) size 490x19
- text run at (0,0) width 490: "You should see four 80x80 green squares below and no red should be visible."
-layer at (8,26) size 550x450
- RenderBlock (relative positioned) {DIV} at (0,18) size 550x450
- RenderBlock {DIV} at (0,0) size 550x450
- RenderRegion {DIV} at (0,0) size 500x50
- RenderRegion {DIV} at (0,50) size 320x400
- RenderBlock {DIV} at (0,450) size 550x0
-Flow Threads
- Thread with flow-name 'flow1'
- layer at (0,0) size 500x450
- RenderFlowThread at (0,0) size 500x450
- RenderBlock {DIV} at (0,50) size 500x400
- layer at (50,50) size 400x400
- RenderBlock (relative positioned) {DIV} at (50,0) size 400x400
- layer at (32,50) size 80x80
- RenderBlock (positioned) {DIV} at (-18,0) size 80x80 [bgcolor=#00FF00]
- layer at (208,50) size 80x80
- RenderBlock (positioned) {DIV} at (158,0) size 80x80 [bgcolor=#00DD00]
- layer at (32,370) size 80x80
- RenderBlock (positioned) {DIV} at (-18,320) size 80x80 [bgcolor=#00BB00]
- layer at (325,370) size 125x80
- RenderBlock (positioned) {DIV} at (275,320) size 125x80 [bgcolor=#009900]
- Regions for flow 'flow1'
- RenderRegion {DIV} #region1
- RenderRegion {DIV} #region2
Deleted: trunk/LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.png
(Binary files differ)
Deleted: trunk/LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt (113618 => 113619)
--- trunk/LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:24:59 UTC (rev 113618)
+++ trunk/LayoutTests/platform/mac/fast/regions/position-writing-modes-in-variable-width-regions-expected.txt 2012-04-09 21:26:55 UTC (rev 113619)
@@ -1,41 +0,0 @@
-layer at (0,0) size 800x600
- RenderView at (0,0) size 800x600
-layer at (0,0) size 800x484 layerType: background only
-layer at (40,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,50) size 80x80 [bgcolor=#FF0000]
-layer at (40,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (32,370) size 80x80 [bgcolor=#FF0000]
-layer at (216,76) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,50) size 80x80 [bgcolor=#FF0000]
-layer at (216,396) size 80x80
- RenderBlock (positioned) zI: -1 {DIV} at (208,370) size 80x80 [bgcolor=#FF0000]
-layer at (0,0) size 800x484 layerType: foreground only
- RenderBlock {HTML} at (0,0) size 800x484
- RenderBody {BODY} at (8,8) size 784x468
- RenderBlock (anonymous) at (0,0) size 784x18
- RenderText {#text} at (0,0) size 490x18
- text run at (0,0) width 490: "You should see four 80x80 green squares below and no red should be visible."
-layer at (8,26) size 550x450
- RenderBlock (relative positioned) {DIV} at (0,18) size 550x450
- RenderBlock {DIV} at (0,0) size 550x450
- RenderRegion {DIV} at (0,0) size 500x50
- RenderRegion {DIV} at (0,50) size 320x400
- RenderBlock {DIV} at (0,450) size 550x0
-Flow Threads
- Thread with flow-name 'flow1'
- layer at (0,0) size 500x450
- RenderNamedFlowThread at (0,0) size 500x450
- RenderBlock {DIV} at (0,50) size 500x400
- layer at (50,50) size 400x400
- RenderBlock (relative positioned) {DIV} at (50,0) size 400x400
- layer at (32,50) size 80x80
- RenderBlock (positioned) {DIV} at (-18,0) size 80x80 [bgcolor=#00FF00]
- layer at (208,50) size 80x80
- RenderBlock (positioned) {DIV} at (158,0) size 80x80 [bgcolor=#00DD00]
- layer at (32,370) size 80x80
- RenderBlock (positioned) {DIV} at (-18,320) size 80x80 [bgcolor=#00BB00]
- layer at (325,370) size 125x80
- RenderBlock (positioned) {DIV} at (275,320) size 125x80 [bgcolor=#009900]
- Regions for flow 'flow1'
- RenderRegion {DIV} #region1
- RenderRegion {DIV} #region2