Add a test case for flexbox with negative overflow having an out of flow flex item
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2013 22:56:58 +0000 (22:56 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Mar 2013 22:56:58 +0000 (22:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=112294

Reviewed by Ojan Vafai.

* css3/flexbox/negative-overflow-expected.txt:
* css3/flexbox/negative-overflow.html:

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

LayoutTests/ChangeLog
LayoutTests/css3/flexbox/negative-overflow-expected.txt
LayoutTests/css3/flexbox/negative-overflow.html

index 333518a..8234be0 100644 (file)
@@ -1,3 +1,13 @@
+2013-03-13  Tony Chang  <tony@chromium.org>
+
+        Add a test case for flexbox with negative overflow having an out of flow flex item
+        https://bugs.webkit.org/show_bug.cgi?id=112294
+
+        Reviewed by Ojan Vafai.
+
+        * css3/flexbox/negative-overflow-expected.txt:
+        * css3/flexbox/negative-overflow.html:
+
 2013-03-13  Julien Chaffraix  <jchaffraix@webkit.org>
 
         [CSS Grid Layout] Handle min-width / max-width on the grid element
index 603dbb3..fc86ab5 100644 (file)
@@ -8,6 +8,7 @@
     height: 50px;
     width: 50px;
     background-color: red;
+    position: relative;
 }
 
 .vertical-padding {
@@ -40,6 +41,11 @@ window.onload = function() {
     <div></div>
 </div>
 
+<div class="flexbox align-items-flex-end" data-expected-scroll-height="150">
+    <div></div>
+    <div style="position: absolute; left: 0; top: 50px;"></div>
+</div>
+
 <div class="flexbox align-items-center" data-expected-scroll-height="75">
     <div></div>
 </div>