CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/07/22 03:37:57
Modified files: . : ChangeLog testsuite/actionscript.all: TextField.as Log message: * testsuite/actionscript.all/TextField.as: update expected results for 'textColor' member. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3780&r2=1.3781 http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/actionscript.all/TextField.as?cvsroot=gnash&r1=1.8&r2=1.9 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3780 retrieving revision 1.3781 diff -u -b -r1.3780 -r1.3781 --- ChangeLog 22 Jul 2007 03:29:25 -0000 1.3780 +++ ChangeLog 22 Jul 2007 03:37:56 -0000 1.3781 @@ -1,5 +1,7 @@ 2007-07-21 Sandro Santilli <[EMAIL PROTECTED]> + * testsuite/actionscript.all/TextField.as: update expected + results for 'textColor' member. * server/types.h (rgba::toRGB): const-corrected. * server/edit_text_character.{cpp,h}: Add a member for text color, make 'textColor' a proper property. Index: testsuite/actionscript.all/TextField.as =================================================================== RCS file: /sources/gnash/gnash/testsuite/actionscript.all/TextField.as,v retrieving revision 1.8 retrieving revision 1.9 diff -u -b -r1.8 -r1.9 --- testsuite/actionscript.all/TextField.as 19 Jul 2007 15:57:18 -0000 1.8 +++ testsuite/actionscript.all/TextField.as 22 Jul 2007 03:37:57 -0000 1.9 @@ -20,7 +20,7 @@ // compile this test case with Ming makeswf, and then // execute it like this gnash -1 -r 0 -v out.swf -rcsid="$Id: TextField.as,v 1.8 2007/07/19 15:57:18 strk Exp $"; +rcsid="$Id: TextField.as,v 1.9 2007/07/22 03:37:57 strk Exp $"; #include "check.as" @@ -59,7 +59,7 @@ check( !TextField.prototype.hasOwnProperty('scroll') ); check( !TextField.prototype.hasOwnProperty('selectable') ); check( !TextField.prototype.hasOwnProperty('text') ); -check( !TextField.prototype.hasOwnProperty('textColor') ); +xcheck( !TextField.prototype.hasOwnProperty('textColor') ); check( !TextField.prototype.hasOwnProperty('textHeight') ); check( !TextField.prototype.hasOwnProperty('textWidth') ); check( !TextField.prototype.hasOwnProperty('type') ); @@ -128,7 +128,7 @@ xcheck( TextField.prototype.hasOwnProperty('scroll') ); xcheck( TextField.prototype.hasOwnProperty('selectable') ); xcheck( TextField.prototype.hasOwnProperty('text') ); -xcheck( TextField.prototype.hasOwnProperty('textColor') ); +check( TextField.prototype.hasOwnProperty('textColor') ); xcheck( TextField.prototype.hasOwnProperty('textHeight') ); xcheck( TextField.prototype.hasOwnProperty('textWidth') ); xcheck( TextField.prototype.hasOwnProperty('type') ); @@ -412,9 +412,9 @@ check_equals(typeof(tf.textColor), 'number'); check( ! tf.hasOwnProperty('textColor') ); -xcheck_equals(tf.textColor, 0); +check_equals(tf.textColor, 0); tf.textColor = 0xFF0000; -xcheck_equals(tf.textColor, 0xFF0000); +check_equals(tf.textColor, 0xFF0000); // TODO: check color (use misc-ming.all/DefineEditTextTest.swf and a test runner with check_pixel) // Check TextField.textHeight (height of the bounding box) _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit