Diff
Modified: trunk/LayoutTests/ChangeLog (262058 => 262059)
--- trunk/LayoutTests/ChangeLog 2020-05-22 15:17:10 UTC (rev 262058)
+++ trunk/LayoutTests/ChangeLog 2020-05-22 16:41:19 UTC (rev 262059)
@@ -1,3 +1,17 @@
+2020-05-22 Ryan Haddad <ryanhad...@apple.com>
+
+ Cannot style ::selection for a flex container
+ https://bugs.webkit.org/show_bug.cgi?id=209822
+
+ Unreviewed test gardening.
+
+ Add baselines for macOS and iOS.
+
+ * platform/ios/editing/selection/selection-display-block-sibling-expected.txt: Added.
+ * platform/ios/editing/selection/selection-display-flex-expected.txt: Added.
+ * platform/mac/editing/selection/selection-display-block-sibling-expected.txt: Added.
+ * platform/mac/editing/selection/selection-display-flex-expected.txt: Added.
+
2020-05-22 Chris Dumez <cdu...@apple.com>
Regression(r254859) DOM storage event gets fired at the frame that caused the storage modification
Added: trunk/LayoutTests/platform/ios/editing/selection/selection-display-block-sibling-expected.txt (0 => 262059)
--- trunk/LayoutTests/platform/ios/editing/selection/selection-display-block-sibling-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios/editing/selection/selection-display-block-sibling-expected.txt 2020-05-22 16:41:19 UTC (rev 262059)
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x56
+ RenderBlock {HTML} at (0,0) size 800x56
+ RenderBody {BODY} at (8,8) size 784x40
+ RenderBlock {DIV} at (0,0) size 784x40
+ RenderBlock (anonymous) at (0,0) size 784x20
+ RenderText {#text} at (0,0) size 684x19
+ text run at (0,0) width 684: "Test for https://bugs.webkit.org/show_bug.cgi?id=209822 -- should have green background when selected."
+ RenderBlock {DIV} at (0,20) size 784x20
+ RenderText {#text} at (0,0) size 482x19
+ text run at (0,0) width 78: "Sibling div. "
+ text run at (77,0) width 405: "Should have default selection background color when selected."
+selection start: position 5 of child 0 {#text} of child 1 {DIV} of body
+selection end: position 84 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of body
Added: trunk/LayoutTests/platform/ios/editing/selection/selection-display-flex-expected.txt (0 => 262059)
--- trunk/LayoutTests/platform/ios/editing/selection/selection-display-flex-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/ios/editing/selection/selection-display-flex-expected.txt 2020-05-22 16:41:19 UTC (rev 262059)
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x36
+ RenderBlock {HTML} at (0,0) size 800x36
+ RenderBody {BODY} at (8,8) size 784x20
+ RenderFlexibleBox {DIV} at (0,0) size 784x20
+ RenderBlock (anonymous) at (0,0) size 680x20
+ RenderText {#text} at (0,0) size 680x19
+ text run at (0,0) width 680: "Test for https://bugs.webkit.org/show_bug.cgi?id=209822 -- should have green background when selected"
+selection start: position 4 of child 0 {#text} of child 1 {DIV} of body
+selection end: position 105 of child 0 {#text} of child 1 {DIV} of body
Added: trunk/LayoutTests/platform/mac/editing/selection/selection-display-block-sibling-expected.txt (0 => 262059)
--- trunk/LayoutTests/platform/mac/editing/selection/selection-display-block-sibling-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac/editing/selection/selection-display-block-sibling-expected.txt 2020-05-22 16:41:19 UTC (rev 262059)
@@ -0,0 +1,15 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x52
+ RenderBlock {HTML} at (0,0) size 800x52
+ RenderBody {BODY} at (8,8) size 784x36
+ RenderBlock {DIV} at (0,0) size 784x36
+ RenderBlock (anonymous) at (0,0) size 784x18
+ RenderText {#text} at (0,0) size 684x18
+ text run at (0,0) width 684: "Test for https://bugs.webkit.org/show_bug.cgi?id=209822 -- should have green background when selected."
+ RenderBlock {DIV} at (0,18) size 784x18
+ RenderText {#text} at (0,0) size 482x18
+ text run at (0,0) width 78: "Sibling div. "
+ text run at (77,0) width 405: "Should have default selection background color when selected."
+selection start: position 5 of child 0 {#text} of child 1 {DIV} of body
+selection end: position 84 of child 0 {#text} of child 1 {DIV} of child 1 {DIV} of body
Added: trunk/LayoutTests/platform/mac/editing/selection/selection-display-flex-expected.txt (0 => 262059)
--- trunk/LayoutTests/platform/mac/editing/selection/selection-display-flex-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/mac/editing/selection/selection-display-flex-expected.txt 2020-05-22 16:41:19 UTC (rev 262059)
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x34
+ RenderBlock {HTML} at (0,0) size 800x34
+ RenderBody {BODY} at (8,8) size 784x18
+ RenderFlexibleBox {DIV} at (0,0) size 784x18
+ RenderBlock (anonymous) at (0,0) size 680x18
+ RenderText {#text} at (0,0) size 680x18
+ text run at (0,0) width 680: "Test for https://bugs.webkit.org/show_bug.cgi?id=209822 -- should have green background when selected"
+selection start: position 4 of child 0 {#text} of child 1 {DIV} of body
+selection end: position 105 of child 0 {#text} of child 1 {DIV} of body