Changeset 151630 in webkit
- Timestamp:
- Jun 16, 2013 11:53:02 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r151627 r151630 1 2013-06-16 Mihai Tica <mitica@adobe.com> 2 3 [CSS Blending] Update the background-blend-mode-image-color-dynamic test to use the repaint test logic 4 5 Updating testcase verifying if background blend modes are updated dynamically from script. This now 6 properly uses the repaint test mechanism. Also, the background image resource is addded. 7 8 https://bugs.webkit.org/show_bug.cgi?id=117686 9 10 Reviewed by Dean Jackson. 11 12 * fast/repaint/background-blend-mode-image-color-dynamic-expected.html: 13 * fast/repaint/background-blend-mode-image-color-dynamic.html: 14 * fast/repaint/resources/ducky.png: Added. 15 1 16 2013-06-16 Kent Tamura <tkent@chromium.org> 2 17 -
trunk/LayoutTests/fast/repaint/background-blend-mode-image-color-dynamic-expected.html
r151565 r151630 8 8 height: 130px; 9 9 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; 10 float: left;11 10 } 12 11 </style> 13 12 <!-- This file should contain a duck with multiply blending. --> 14 <body> 15 <div style="-webkit-background-blend-mode: multiply, normal"></div> 13 <script src="resources/repaint.js" type="text/javascript"></script> 14 <script> 15 function repaintTest() { 16 document.getElementById('blender').style.webkitBackgroundBlendMode = 'multiply, normal'; 17 } 18 </script> 19 <body onload="runRepaintTest()"> 20 <div id="blender"></div> 16 21 </body> -
trunk/LayoutTests/fast/repaint/background-blend-mode-image-color-dynamic.html
r151565 r151630 2 2 <html> 3 3 <head> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></script>5 4 6 5 <style> … … 11 10 background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green; 12 11 -webkit-background-blend-mode: normal, normal; 13 float: left;14 12 } 15 13 </style> 16 14 <!-- This file should contain a duck with multiply blending set from script. --> 17 <body >15 <body onload="runRepaintTest()"> 18 16 <script> 19 20 17 function repaintTest() { 21 18 document.getElementById('blender').style.webkitBackgroundBlendMode = "multiply, normal"; 22 19 } 23 20 </script> 21 <script src="resources/repaint.js" type="text/javascript"></script> 24 22 <div id="blender"></div> 25 23 </body>
Note: See TracChangeset
for help on using the changeset viewer.