Index: third_party/WebKit/LayoutTests/css3/flexbox/repaint.html |
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/repaint.html b/third_party/WebKit/LayoutTests/css3/flexbox/repaint.html |
deleted file mode 100644 |
index f79b0c21b065ad0700631b2a5d864ea297528d67..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/css3/flexbox/repaint.html |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<style> |
-#flexbox { |
- display: flex; |
-} |
- |
-#left { |
- flex: 1; |
- background-color: yellow; |
-} |
- |
-#content { |
- flex: 1; |
- background-color: grey; |
-} |
-</style> |
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
-<script> |
-// This test makes sure that we repaint the right region of a flexbox when |
-// changing the flex values. Only the middle of the test page should be |
-// repainted. If the top of the test page (above the flexbox) is repainted, |
-// this test fails. |
- |
-function setFlex(id, animationPercentage, start, end) { |
- var flexValue = start + ((end - start) * animationPercentage); |
- document.getElementById(id).style.flex = flexValue + " 0 0px"; |
-} |
- |
-function repaintTest() { |
- window.requestAnimationFrame(function() { |
- setFlex("content", 0.9, 1, 5); |
- window.requestAnimationFrame(function() { |
- setFlex("content", 1, 1, 5); |
- window.requestAnimationFrame(function() { |
- finishRepaintTest(); |
- }); |
- }); |
- }); |
-} |
- |
-window.testIsAsync = true; |
-window.onload = runRepaintAndPixelTest; |
-</script> |
-<br><br><br><br><br><br> |
-<div id="flexbox"> |
-<div id="left"></div> |
-<div id="content"> |
-<p style="margin: 0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean laoreet dolor id urna eleifend aliquet. Nulla vel dolor ipsum. Aliquam ut turpis nisl, in vulputate sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed congue magna vitae dolor feugiat vehicula. Sed volutpat, tellus vel varius vestibulum, purus quam mollis sapien, in condimentum leo neque sed nulla. Nunc quis porta elit. Pellentesque erat lectus, ultricies a lobortis id, faucibus id quam.</p> |
-</div> |