Changeset 151630 in webkit


Ignore:
Timestamp:
Jun 16, 2013 11:53:02 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[CSS Blending] Update the background-blend-mode-image-color-dynamic test to use the repaint test logic

Updating testcase verifying if background blend modes are updated dynamically from script. This now
properly uses the repaint test mechanism. Also, the background image resource is addded.

https://bugs.webkit.org/show_bug.cgi?id=117686

Patch by Mihai Tica <mitica@adobe.com> on 2013-06-16
Reviewed by Dean Jackson.

  • fast/repaint/background-blend-mode-image-color-dynamic-expected.html:
  • fast/repaint/background-blend-mode-image-color-dynamic.html:
  • fast/repaint/resources/ducky.png: Added.
Location:
trunk/LayoutTests
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r151627 r151630  
     12013-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
    1162013-06-16  Kent Tamura  <tkent@chromium.org>
    217
  • trunk/LayoutTests/fast/repaint/background-blend-mode-image-color-dynamic-expected.html

    r151565 r151630  
    88        height: 130px;
    99        background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green;
    10         float: left;
    1110    }
    1211</style>
    1312<!-- 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>
    1621</body>
  • trunk/LayoutTests/fast/repaint/background-blend-mode-image-color-dynamic.html

    r151565 r151630  
    22<html>
    33<head>
    4 <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    54
    65<style>
     
    1110        background: url('resources/ducky.png') no-repeat 0 0 /100% 100%, green;
    1211        -webkit-background-blend-mode: normal, normal;
    13         float: left;
    1412    }
    1513</style>
    1614<!-- This file should contain a duck with multiply blending set from script. -->
    17 <body>
     15<body onload="runRepaintTest()">
    1816    <script>
    19 
    2017        function repaintTest() {
    2118            document.getElementById('blender').style.webkitBackgroundBlendMode = "multiply, normal";
    2219        }
    2320    </script>
     21    <script src="resources/repaint.js" type="text/javascript"></script>
    2422    <div id="blender"></div>
    2523</body>
Note: See TracChangeset for help on using the changeset viewer.