gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11225: Expect the hitTest in blue f


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11225: Expect the hitTest in blue fill of shape 6 (page 3) to succeed, matching rendering. This is *sometimes* compatible with pp9.
Date: Wed, 08 Jul 2009 12:29:57 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11225
committer: Sandro Santilli <address@hidden>
branch nick: gnash-head-backup
timestamp: Wed 2009-07-08 12:29:57 +0200
message:
  Expect the hitTest in blue fill of shape 6 (page 3) to succeed, matching 
rendering. This is *sometimes* compatible with pp9.
modified:
  testsuite/misc-ming.all/DrawingApiTest.as
=== modified file 'testsuite/misc-ming.all/DrawingApiTest.as'
--- a/testsuite/misc-ming.all/DrawingApiTest.as 2009-07-08 09:54:54 +0000
+++ b/testsuite/misc-ming.all/DrawingApiTest.as 2009-07-08 10:29:57 +0000
@@ -721,11 +721,14 @@
 
     // Top right
     // COMPATIBLITY NOTE:
-    // This test fails with 9,0,115,0, even though it is 
-    // clearly within a fill. It's a bug, so we should
-    // probably not worry about behaviour in this case.
-    // It succeeds with 10,0,12,10.
-    check(!g.hitTest(x + 80, y + 20, true));
+    // 9,0,115,0 for linux sometimes finds the point to hit
+    // the shape and sometimes it doesn't.
+    // 10,0,12,10 never succeeds the hit test.
+    //
+    // The point is clearly within a fill so we'll take an hit test
+    // success as expected.
+    //
+    xcheck(g.hitTest(x + 80, y + 20, true));
 
     _visible = false;
 }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]