Title: [128993] trunk
Revision
128993
Author
[email protected]
Date
2012-09-19 06:32:12 -0700 (Wed, 19 Sep 2012)

Log Message

[EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
https://bugs.webkit.org/show_bug.cgi?id=97100

Patch by Christophe Dumez <[email protected]> on 2012-09-19
Reviewed by Gyuyoung Kim.

Source/WebKit/efl:

Add DumpRenderTree support method to set the
'WebKitCSSRegionsEnabled' preference.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
(DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
* WebCoreSupport/DumpRenderTreeSupportEfl.h:

Tools:

EFL's DRT now supports overriding the 'WebKitCSSRegionsEnabled'
preference, in order to match WebKitTestRunner functionality.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
* DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::overridePreference):

LayoutTests:

Rebaseline and unskip several test cases now that EFL's DRT
supports overriding 'WebKitCSSRegionsEnabled' preference.

* platform/efl/Skipped:
* platform/efl/TestExpectations:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
* platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
* platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
* platform/efl/fast/repaint/region-painting-invalidation-expected.png: Added.
* platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Added.
* platform/efl/fast/repaint/region-painting-via-layout-expected.txt:

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (128992 => 128993)


--- trunk/LayoutTests/ChangeLog	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/ChangeLog	2012-09-19 13:32:12 UTC (rev 128993)
@@ -1,3 +1,24 @@
+2012-09-19  Christophe Dumez  <[email protected]>
+
+        [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
+        https://bugs.webkit.org/show_bug.cgi?id=97100
+
+        Reviewed by Gyuyoung Kim.
+
+        Rebaseline and unskip several test cases now that EFL's DRT
+        supports overriding 'WebKitCSSRegionsEnabled' preference.
+
+        * platform/efl/Skipped:
+        * platform/efl/TestExpectations:
+        * platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
+        * platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt:
+        * platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png:
+        * platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt:
+        * platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt:
+        * platform/efl/fast/repaint/region-painting-invalidation-expected.png: Added.
+        * platform/efl/fast/repaint/region-painting-invalidation-expected.txt: Added.
+        * platform/efl/fast/repaint/region-painting-via-layout-expected.txt:
+
 2012-09-19  Andrey Adaikin  <[email protected]>
 
         Web Inspector: [WebGL] -> [Canvas] Rename WebGLAgent to CanvasAgent

Modified: trunk/LayoutTests/platform/efl/Skipped (128992 => 128993)


--- trunk/LayoutTests/platform/efl/Skipped	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/Skipped	2012-09-19 13:32:12 UTC (rev 128993)
@@ -433,9 +433,6 @@
 fast/inline/continuation-outlines-with-layers.html
 fast/invalid/residual-style.html
 fast/js/constructor-length.html
-fast/repaint/japanese-rl-selection-repaint-in-regions.html
-fast/repaint/overflow-flipped-writing-mode-block-in-regions.html
-fast/repaint/region-painting-via-layout.html
 fast/table/prepend-in-anonymous-table.html
 fast/text/basic/011.html
 fast/text/basic/013.html

Modified: trunk/LayoutTests/platform/efl/TestExpectations (128992 => 128993)


--- trunk/LayoutTests/platform/efl/TestExpectations	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/TestExpectations	2012-09-19 13:32:12 UTC (rev 128993)
@@ -255,8 +255,6 @@
 BUGWK87619 : fast/forms/number/number-appearance-spinbutton-layer.html = TEXT
 BUGWK87619 : fast/forms/number/number-size.html = TEXT
 
-BUGWK83007 : fast/repaint/region-painting-invalidation.html = TEXT IMAGE IMAGE+TEXT MISSING
-
 // Needs to have PNG generated, which currently fails for this case.
 BUGWK83274 : fast/repaint/transform-rotate-and-remove.html = PASS
 

Modified: trunk/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt (128992 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.txt	2012-09-19 13:32:12 UTC (rev 128993)
@@ -8,19 +8,24 @@
 Flow Threads
   Thread with flow-name 'thread'
     layer at (400,0) size 400x400
-      RenderFlowThread at (0,0) size 400x400
-        RenderBlock {DIV} at (0,0) size 216x400
-          RenderText {#text} at (0,0) size 216x396
-            text run at (0,0) width 390: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}"
-            text run at (24,0) width 377: "\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}"
-            text run at (48,0) width 396: "\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}"
-            text run at (72,0) width 390: "\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}"
-            text run at (96,0) width 382: "\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}"
-            text run at (120,0) width 396: "\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}"
-            text run at (144,0) width 396: "\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}"
-            text run at (168,0) width 390: "\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}"
-            text run at (192,0) width 291: "\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
+      RenderNamedFlowThread at (0,0) size 400x400
+        RenderBlock {DIV} at (0,0) size 336x400
+          RenderText {#text} at (0,0) size 336x399
+            text run at (0,0) width 399: "\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}"
+            text run at (24,0) width 399: "\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B}"
+            text run at (48,0) width 399: "\x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
+            text run at (72,0) width 397: "\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}"
+            text run at (96,0) width 399: "\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}"
+            text run at (120,0) width 378: "\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}\x{5FD8}\x{308C}\x{3066}\x{3057}"
+            text run at (144,0) width 383: "\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}\x{30A4}\x{30C8}\x{30EB}\x{3068}"
+            text run at (168,0) width 399: "\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}"
+            text run at (192,0) width 397: "\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}"
+            text run at (216,0) width 397: "\x{307E}\x{3059}\x{3002}\x{8A2A}\x{554F}\x{3057}\x{305F}\x{30A6}\x{30A7}\x{30D6}\x{30DA}\x{30FC}\x{30B8}\x{306E}\x{30B3}\x{30F3}\x{30C6}\x{30F3}\x{30C4}"
+            text run at (240,0) width 399: "\x{304B}\x{3089}\x{3082}\x{691C}\x{7D22}\x{3059}\x{308B}\x{3053}\x{3068}\x{304C}\x{3067}\x{304D}\x{307E}\x{3059}\x{3002}\x{305B}\x{3063}\x{304B}\x{304F}"
+            text run at (264,0) width 399: "\x{898B}\x{3064}\x{3051}\x{305F}\x{3059}\x{3070}\x{3089}\x{3057}\x{3044}\x{8A18}\x{4E8B}\x{304C}\x{3069}\x{3053}\x{306B}\x{3042}\x{3063}\x{305F}\x{304B}"
+            text run at (288,0) width 383: "\x{5FD8}\x{308C}\x{3066}\x{3057}\x{307E}\x{3063}\x{305F}\x{7D4C}\x{9A13}\x{306F}\x{3042}\x{308A}\x{307E}\x{3059}\x{304B} \x{306A}\x{3089}\x{30BF}"
+            text run at (312,0) width 336: "\x{30A4}\x{30C8}\x{30EB}\x{3068}\x{30A2}\x{30C9}\x{30EC}\x{30B9}\x{3060}\x{3051}\x{3067}\x{306A}\x{304F}\x{3001}\x{8A2A}\x{554F}"
   Regions for flow 'thread'
     RenderRegion {DIV}
 selection start: position 1 of child 0 {#text} of child 1 {DIV} of body
-selection end:   position 46 of child 0 {#text} of child 1 {DIV} of body
+selection end:   position 29 of child 0 {#text} of child 1 {DIV} of body

Modified: trunk/LayoutTests/platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png


(Binary files differ)

Modified: trunk/LayoutTests/platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt (128992 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.txt	2012-09-19 13:32:12 UTC (rev 128993)
@@ -3,82 +3,86 @@
 layer at (0,0) size 800x600
   RenderBlock {HTML} at (0,0) size 800x600
     RenderBody {BODY} at (0,0) size 800x600
-      RenderPartObject {IFRAME} at (0,0) size 500x600
-        layer at (0,0) size 500x600
-          RenderView at (0,0) size 500x600
-        layer at (0,0) size 500x600
-          RenderBlock {HTML} at (0,0) size 500x600
-            RenderBody {BODY} at (8,8) size 484x576
-              RenderBlock {DIV} at (0,0) size 450x50
-                RenderBlock (floating) {DIV} at (370,10) size 70x120 [bgcolor=#FFC0CB]
-              RenderBlock {P} at (0,66) size 418x498 [border: (3px solid #800000)]
-                RenderText {#text} at (6,6) size 406x109
-                  text run at (6,6) width 354: "The chief difficulty Alice found at first was in managing"
-                  text run at (6,24) width 25: "her "
-                  text run at (31,24) width 329: "flamingo: she succeeded in getting its body tucked"
-                  text run at (6,42) width 42: "away, "
-                  text run at (48,42) width 312: "comfortably enough, under her arm, with its legs"
-                  text run at (6,60) width 106: "hanging down, "
-                  text run at (112,60) width 248: "but generally, just as she had got its"
-                  text run at (6,78) width 176: "neck nicely straightened "
-                  text run at (182,78) width 230: "out, and was going to give the"
-                  text run at (6,96) width 224: "hedgehog a blow with its head, it "
-                RenderInline {I} at (0,0) size 39x19
-                  RenderText {#text} at (230,96) size 39x19
-                    text run at (230,96) width 39: "would"
-                RenderText {#text} at (269,96) size 406x73
-                  text run at (269,96) width 143: " twist itself round and"
-                  text run at (6,114) width 175: "look up in her face, with "
-                  text run at (181,114) width 231: "such a puzzled _expression_ that she"
-                  text run at (6,132) width 179: "could not help bursting out "
-                  text run at (185,132) width 227: "laughing: and when she had got its"
-                  text run at (6,150) width 229: "head down, and was going to "
-                RenderText {#text} at (235,150) size 406x127
-                  text run at (235,150) width 177: "begin again, it was very"
-                  text run at (6,168) width 259: "provoking to find that the hedgehog had "
-                  text run at (265,168) width 147: "unrolled itself, and was"
-                  text run at (6,186) width 252: "in the act of crawling away: besides all "
-                  text run at (258,186) width 154: "this, there was generally"
-                  text run at (6,204) width 256: "a ridge or furrow in the way wherever "
-                  text run at (262,204) width 150: "she wanted to send the"
-                  text run at (6,222) width 264: "hedgehog to, and, as the doubled-up "
-                  text run at (270,222) width 142: "soldiers were always"
-                  text run at (6,240) width 292: "getting up and walking off to other parts of "
-                  text run at (298,240) width 114: "the ground, Alice"
-                  text run at (57,258) width 306: "soon came to the conclusion that it was a very "
-                RenderBlock (floating) {SPAN} at (6,261) size 48x64 [bgcolor=#ADD8E6]
-                RenderText {#text} at (363,258) size 355x37
-                  text run at (363,258) width 49: "difficult"
-                  text run at (57,276) width 88: "game indeed. "
-                RenderBR {BR} at (0,0) size 0x0
-                RenderText {#text} at (57,294) size 304x19
-                  text run at (57,294) width 304: "The players all played at once without waiting"
-                RenderBlock (floating) {SPAN} at (364,297) size 48x80 [bgcolor=#90EE90]
-                RenderText {#text} at (57,312) size 355x37
-                  text run at (57,312) width 63: "for turns, "
-                  text run at (120,312) width 241: "quarrelling all the while, and fighting"
-                  text run at (6,330) width 172: "for the hedgehogs; and in "
-                  text run at (178,330) width 116: "a very short time "
-                RenderInline {SPAN} at (0,0) size 67x19
-                  RenderText {#text} at (294,330) size 67x19
-                    text run at (294,330) width 67: "the Queen"
-                RenderText {#text} at (6,348) size 355x55
-                  text run at (6,348) width 226: "was in a furious passion, and went "
-                  text run at (232,348) width 129: "stamping about, and"
-                  text run at (6,366) width 288: "shouting \x{2018}Off with his head!\x{2019} or \x{2018}Off with "
-                  text run at (294,366) width 67: "her head!\x{2019}"
-                  text run at (6,384) width 151: "about once in a minute. "
-                RenderBR {BR} at (0,0) size 0x0
-                RenderText {#text} at (6,402) size 406x91
-                  text run at (6,402) width 387: "Alice began to feel very uneasy: to be sure, she had not as "
-                  text run at (393,402) width 19: "yet"
-                  text run at (6,420) width 406: "had any dispute with the Queen, but she knew that it might"
-                  text run at (6,438) width 406: "happen any minute, \x{2018}and then,\x{2019} thought she, \x{2018}what would"
-                  text run at (6,456) width 75: "become of "
-                  text run at (81,456) width 331: "me? They\x{2019}re dreadfully fond of beheading people"
-                  text run at (6,474) width 93: "here; the great "
-                  text run at (99,474) width 261: "wonder is, that there\x{2018}s any one left alive!\x{2019}"
-      RenderText {#text} at (0,0) size 0x0
-      RenderText {#text} at (0,0) size 0x0
 layer at (100,0) size 500x600
-  RenderBlock (positioned) {DIV} at (100,0) size 500x600
+  RenderRegion {DIV} at (100,0) size 500x600
+Flow Threads
+  Thread with flow-name 'thread'
+    layer at (0,0) size 500x600
+      RenderNamedFlowThread at (0,0) size 500x600
+        RenderPartObject {IFRAME} at (0,0) size 500x600
+          layer at (0,0) size 500x600
+            RenderView at (0,0) size 500x600
+          layer at (0,0) size 500x600
+            RenderBlock {HTML} at (0,0) size 500x600
+              RenderBody {BODY} at (8,8) size 484x576
+                RenderBlock {DIV} at (0,0) size 450x50
+                  RenderBlock (floating) {DIV} at (370,10) size 70x120 [bgcolor=#FFC0CB]
+                RenderBlock {P} at (0,66) size 418x498 [border: (3px solid #800000)]
+                  RenderText {#text} at (6,6) size 406x109
+                    text run at (6,6) width 354: "The chief difficulty Alice found at first was in managing"
+                    text run at (6,24) width 25: "her "
+                    text run at (31,24) width 329: "flamingo: she succeeded in getting its body tucked"
+                    text run at (6,42) width 42: "away, "
+                    text run at (48,42) width 312: "comfortably enough, under her arm, with its legs"
+                    text run at (6,60) width 106: "hanging down, "
+                    text run at (112,60) width 248: "but generally, just as she had got its"
+                    text run at (6,78) width 176: "neck nicely straightened "
+                    text run at (182,78) width 230: "out, and was going to give the"
+                    text run at (6,96) width 224: "hedgehog a blow with its head, it "
+                  RenderInline {I} at (0,0) size 39x19
+                    RenderText {#text} at (230,96) size 39x19
+                      text run at (230,96) width 39: "would"
+                  RenderText {#text} at (269,96) size 406x73
+                    text run at (269,96) width 143: " twist itself round and"
+                    text run at (6,114) width 175: "look up in her face, with "
+                    text run at (181,114) width 231: "such a puzzled _expression_ that she"
+                    text run at (6,132) width 179: "could not help bursting out "
+                    text run at (185,132) width 227: "laughing: and when she had got its"
+                    text run at (6,150) width 229: "head down, and was going to "
+                  RenderText {#text} at (235,150) size 406x127
+                    text run at (235,150) width 177: "begin again, it was very"
+                    text run at (6,168) width 259: "provoking to find that the hedgehog had "
+                    text run at (265,168) width 147: "unrolled itself, and was"
+                    text run at (6,186) width 252: "in the act of crawling away: besides all "
+                    text run at (258,186) width 154: "this, there was generally"
+                    text run at (6,204) width 256: "a ridge or furrow in the way wherever "
+                    text run at (262,204) width 150: "she wanted to send the"
+                    text run at (6,222) width 264: "hedgehog to, and, as the doubled-up "
+                    text run at (270,222) width 142: "soldiers were always"
+                    text run at (6,240) width 292: "getting up and walking off to other parts of "
+                    text run at (298,240) width 114: "the ground, Alice"
+                    text run at (57,258) width 306: "soon came to the conclusion that it was a very "
+                  RenderBlock (floating) {SPAN} at (6,261) size 48x64 [bgcolor=#ADD8E6]
+                  RenderText {#text} at (363,258) size 355x37
+                    text run at (363,258) width 49: "difficult"
+                    text run at (57,276) width 88: "game indeed. "
+                  RenderBR {BR} at (0,0) size 0x0
+                  RenderText {#text} at (57,294) size 304x19
+                    text run at (57,294) width 304: "The players all played at once without waiting"
+                  RenderBlock (floating) {SPAN} at (364,297) size 48x80 [bgcolor=#90EE90]
+                  RenderText {#text} at (57,312) size 355x37
+                    text run at (57,312) width 63: "for turns, "
+                    text run at (120,312) width 241: "quarrelling all the while, and fighting"
+                    text run at (6,330) width 172: "for the hedgehogs; and in "
+                    text run at (178,330) width 116: "a very short time "
+                  RenderInline {SPAN} at (0,0) size 67x19
+                    RenderText {#text} at (294,330) size 67x19
+                      text run at (294,330) width 67: "the Queen"
+                  RenderText {#text} at (6,348) size 355x55
+                    text run at (6,348) width 226: "was in a furious passion, and went "
+                    text run at (232,348) width 129: "stamping about, and"
+                    text run at (6,366) width 288: "shouting \x{2018}Off with his head!\x{2019} or \x{2018}Off with "
+                    text run at (294,366) width 67: "her head!\x{2019}"
+                    text run at (6,384) width 151: "about once in a minute. "
+                  RenderBR {BR} at (0,0) size 0x0
+                  RenderText {#text} at (6,402) size 406x91
+                    text run at (6,402) width 387: "Alice began to feel very uneasy: to be sure, she had not as "
+                    text run at (393,402) width 19: "yet"
+                    text run at (6,420) width 406: "had any dispute with the Queen, but she knew that it might"
+                    text run at (6,438) width 406: "happen any minute, \x{2018}and then,\x{2019} thought she, \x{2018}what would"
+                    text run at (6,456) width 75: "become of "
+                    text run at (81,456) width 331: "me? They\x{2019}re dreadfully fond of beheading people"
+                    text run at (6,474) width 93: "here; the great "
+                    text run at (99,474) width 261: "wonder is, that there\x{2018}s any one left alive!\x{2019}"
+  Regions for flow 'thread'
+    RenderRegion {DIV}

Modified: trunk/LayoutTests/platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt (128992 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/fast/repaint/overflow-flipped-writing-mode-block-in-regions-expected.txt	2012-09-19 13:32:12 UTC (rev 128993)
@@ -8,7 +8,7 @@
 Flow Threads
   Thread with flow-name 'thread'
     layer at (0,0) size 100x400
-      RenderFlowThread at (0,0) size 100x400
+      RenderNamedFlowThread at (0,0) size 100x400
         RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#FF0000]
           RenderBlock {DIV} at (0,0) size 100x25
             RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]

Added: trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png (0 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png	                        (rev 0)
+++ trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.png	2012-09-19 13:32:12 UTC (rev 128993)
@@ -0,0 +1,8 @@
+\x89PNG
+
+
+IHDR X')tEXtchecksum266cdbd2770b7482edf23c116969da9fDe\xFA\x85bKGD\xFF\xFF\xFF\xA0\xBD\xA7\x93
+\xFBIDATx\x9C\xED\xDCA\x8A\xC30Ai\xC8\xC1}s\xCDb-\xC64v2Tm\xFF\xE6m
+ϵ\xD6\xA0\xF3\xF3\xF4\x80\xFFF`\xC4@L`\xC4@L`\xC4@\xEC\xB5;\xCC9\xEF\xDC\x9C\xF2\xA7:\x80o\xB4
+\xAC1\xC68n\x9C;\x9E\xC0%\x9Eb &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0bs\xADu~\x98\xF3\xE6)\xC0\xBB\xDD
+\xC0'\xDB\xD7x"\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88\xBDv\x879\xE7\x9D;\x80Sk\xAD\xA7'\xF0g\xDB\xC0c\x8C\xE3\xA6\xC0\xB9\xE3\xE9\\xE2\x89 &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b &\xB0b 6\xD7Z\xE7\x879o\x9E\xBC\xDB}\xA1|\xB2m`p\x8D'B\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\x98\xC0\x88	,\x80\xD8/*2!\xA5\x{DA37}IEND\xAEB`\x82
\ No newline at end of file

Added: trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt (0 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/efl/fast/repaint/region-painting-invalidation-expected.txt	2012-09-19 13:32:12 UTC (rev 128993)
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderRegion {DIV} at (0,0) size 302x152 [bgcolor=#FF0000] [border: (1px solid #000000)]
+      RenderBlock (anonymous) at (0,152) size 784x18
+        RenderBR {BR} at (0,0) size 0x19
+      RenderRegion {DIV} at (0,170) size 302x202 [bgcolor=#FF0000] [border: (1px solid #000000)]
+Flow Threads
+  Thread with flow-name 'flow1'
+    layer at (0,0) size 300x350
+      RenderNamedFlowThread at (0,0) size 300x350
+        RenderBlock {DIV} at (0,0) size 300x350
+          RenderBlock {DIV} at (0,0) size 300x350 [bgcolor=#008000]
+  Regions for flow 'flow1'
+    RenderRegion {DIV} #region1
+    RenderRegion {DIV} #region2

Modified: trunk/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt (128992 => 128993)


--- trunk/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/LayoutTests/platform/efl/fast/repaint/region-painting-via-layout-expected.txt	2012-09-19 13:32:12 UTC (rev 128993)
@@ -7,7 +7,7 @@
 Flow Threads
   Thread with flow-name 'flow1'
     layer at (0,0) size 784x1180 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
-      RenderFlowThread at (0,0) size 784x1180
+      RenderNamedFlowThread at (0,0) size 784x1180
     layer at (0,0) size 784x1200 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600 outlineClip at (0,0) size 800x600
       RenderBlock (relative positioned) {DIV} at (0,0) size 784x1200
         RenderBlock {DIV} at (0,1000) size 784x200

Modified: trunk/Source/WebKit/efl/ChangeLog (128992 => 128993)


--- trunk/Source/WebKit/efl/ChangeLog	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Source/WebKit/efl/ChangeLog	2012-09-19 13:32:12 UTC (rev 128993)
@@ -1,3 +1,17 @@
+2012-09-19  Christophe Dumez  <[email protected]>
+
+        [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
+        https://bugs.webkit.org/show_bug.cgi?id=97100
+
+        Reviewed by Gyuyoung Kim.
+
+        Add DumpRenderTree support method to set the
+        'WebKitCSSRegionsEnabled' preference.
+
+        * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
+        (DumpRenderTreeSupportEfl::setCSSRegionsEnabled):
+        * WebCoreSupport/DumpRenderTreeSupportEfl.h:
+
 2012-09-13  Kenneth Rohde Christiansen  <[email protected]>
 
         Evas_Object* is a ref'ed structure, so tread it as such

Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp (128992 => 128993)


--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp	2012-09-19 13:32:12 UTC (rev 128993)
@@ -342,6 +342,13 @@
     page->settings()->setCSSGridLayoutEnabled(enabled);
 }
 
+void DumpRenderTreeSupportEfl::setCSSRegionsEnabled(const Evas_Object* ewkView, bool enabled)
+{
+    DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page);
+
+    page->settings()->setCSSRegionsEnabled(enabled);
+}
+
 bool DumpRenderTreeSupportEfl::isCommandEnabled(const Evas_Object* ewkView, const char* name)
 {
     DRT_SUPPRT_PAGE_GET_OR_RETURN(ewkView, page, false);

Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h (128992 => 128993)


--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h	2012-09-19 13:32:12 UTC (rev 128993)
@@ -79,6 +79,7 @@
     static bool findString(const Evas_Object* ewkView, const String& text, WebCore::FindOptions);
     static bool isCommandEnabled(const Evas_Object* ewkView, const char* name);
     static void setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled);
+    static void setCSSRegionsEnabled(const Evas_Object* ewkView, bool enabled);
     static void setSmartInsertDeleteEnabled(Evas_Object* ewkView, bool enabled);
     static void setSelectTrailingWhitespaceEnabled(Evas_Object* ewkView, bool enabled);
 

Modified: trunk/Tools/ChangeLog (128992 => 128993)


--- trunk/Tools/ChangeLog	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Tools/ChangeLog	2012-09-19 13:32:12 UTC (rev 128993)
@@ -1,3 +1,18 @@
+2012-09-19  Christophe Dumez  <[email protected]>
+
+        [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference
+        https://bugs.webkit.org/show_bug.cgi?id=97100
+
+        Reviewed by Gyuyoung Kim.
+
+        EFL's DRT now supports overriding the 'WebKitCSSRegionsEnabled'
+        preference, in order to match WebKitTestRunner functionality.
+
+        * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
+        (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
+        * DumpRenderTree/efl/TestRunnerEfl.cpp:
+        (TestRunner::overridePreference):
+
 2012-09-18  Kangil Han  <[email protected]>
 
         [WK2][WTR] CodeGeneratorTestRunner could keep original copyright.

Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp (128992 => 128993)


--- trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp	2012-09-19 13:32:12 UTC (rev 128993)
@@ -311,6 +311,7 @@
     DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(mainView(), false);
     DumpRenderTreeSupportEfl::setSerializeHTTPLoads(false);
     DumpRenderTreeSupportEfl::setMinimumLogicalFontSize(mainView(), 9);
+    DumpRenderTreeSupportEfl::setCSSRegionsEnabled(mainView(), true);
 
     // Reset capacities for the memory cache for dead objects.
     static const unsigned cacheTotalCapacity =  8192 * 1024;

Modified: trunk/Tools/DumpRenderTree/efl/TestRunnerEfl.cpp (128992 => 128993)


--- trunk/Tools/DumpRenderTree/efl/TestRunnerEfl.cpp	2012-09-19 13:07:15 UTC (rev 128992)
+++ trunk/Tools/DumpRenderTree/efl/TestRunnerEfl.cpp	2012-09-19 13:32:12 UTC (rev 128993)
@@ -707,6 +707,8 @@
         DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(browser->mainView(), toBool(value));
     else if (equals(key, "WebKitCSSGridLayoutEnabled"))
         DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(browser->mainView(), toBool(value));
+    else if (equals(key, "WebKitCSSRegionsEnabled"))
+        DumpRenderTreeSupportEfl::setCSSRegionsEnabled(browser->mainView(), toBool(value));
     else if (equals(key, "WebKitWebAudioEnabled"))
         ewk_view_setting_web_audio_set(browser->mainView(), toBool(value));
     else
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to