W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2008

Problem with test udom-dom-203-t.svg

From: Cyril Concolato <cyril.concolato@enst.fr>
Date: Tue, 04 Nov 2008 18:21:34 +0100
Message-ID: <4910849E.2080007@enst.fr>
To: SVG Working Group WG <public-svg-wg@w3.org>

Hi all,

The test udom-dom-203-t.svg uses access to textContent and performs some string comparison to decide if the test is a pass or fail. But this assumes that text normalization is done. This is optional in the spec so the test should be modified. I propose to change:

assertTrue(e.textContent == t);

to:

assertTrue(e.textContent.search(t));

Cyril
-- 
Cyril Concolato
Maître de Conférences/Associate Professor
Groupe Mutimedia/Multimedia Group
Département Traitement du Signal et Images
/Dept. Signal and Image Processing
Ecole Nationale Supérieure des Télécommunications
46 rue Barrault
75 013 Paris, France
http://tsi.enst.fr/~concolat 
Received on Tuesday, 4 November 2008 17:22:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 4 November 2008 17:22:43 GMT