Unreviewed. Fix a snapshotting test. Test was incorrect as it assumed the wrong windo...
authorroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Sep 2014 18:15:29 +0000 (18:15 +0000)
committerroger_fong@apple.com <roger_fong@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Sep 2014 18:15:29 +0000 (18:15 +0000)
* platform/mac-wk2/TestExpectations: Remove some duplicate test expectations.
* platform/mac-wk2/plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image-expected.txt:
* plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html:

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-wk2/TestExpectations
LayoutTests/platform/mac-wk2/plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image-expected.txt
LayoutTests/plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html

index b67fa0f..f39fb64 100644 (file)
@@ -1,5 +1,13 @@
 2014-09-10  Roger Fong  <roger_fong@apple.com>
 
+        Unreviewed. Fix a snapshotting test. Test was incorrect as it assumed the wrong window size.
+
+        * platform/mac-wk2/TestExpectations: Remove some duplicate test expectations.
+        * platform/mac-wk2/plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image-expected.txt:
+        * plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html:
+
+2014-09-10  Roger Fong  <roger_fong@apple.com>
+
         Rollout r173446, the skipped tests still fail only on the bots.
 
         * platform/mac-wk2/TestExpectations:
index 73801a5..ac76c09 100644 (file)
@@ -640,8 +640,6 @@ http/tests/security/cross-origin-worker-indexeddb.html [ Skip ]
 [ Mavericks ] http/tests/navigation/ping-cookie.html [ Skip ]
 
 # https://bugs.webkit.org/show_bug.cgi?id=133227
-plugins/snapshotting/set-plugin-size-to-tiny.html
-plugins/snapshotting/simple.html
 plugins/snapshotting/snapshot-plugin-not-quite-blocked-by-image.html
 plugins/snapshotting/set-plugin-size-to-tiny.html 
 plugins/snapshotting/simple.html
index e95a003..050965b 100644 (file)
@@ -1,4 +1,4 @@
-<p>This tests that a plugin should be snapshotted if it is partially covered by an image but not enough to be considered blocking.</p>
+<p style = "white-space: nowrap;">This tests that a plugin should be snapshotted if it is partially covered by an image but not enough to be considered blocking.</p>
 <p> It additionally tests that we take transforms into account. </p>
 <div id="result">FAIL</div>
 <script>
@@ -21,4 +21,4 @@ if (window.testRunner) {
 <img src="../resources/apple.gif" width="600" height="600" style="position:absolute; top:25px; left:0px">
 <br>
 <embed id="plugin2" src="../resources/lines.swf" width="600" height="600"></embed>
-<img src="../resources/apple.gif" width="300" height="300" style="-webkit-transform:translate(-500px,-200px)">
+<img src="../resources/apple.gif" width="300" height="300" style="-webkit-transform:translate(200px,-500px)">