diff -r 56cd8111b7f7 -r 41300fa6a67c tests/auto/qcssparser/tst_qcssparser.cpp --- a/tests/auto/qcssparser/tst_qcssparser.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/tests/auto/qcssparser/tst_qcssparser.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -1556,8 +1556,11 @@ QTest::newRow("shorthand") << "font: 12pt Times New Roman" << QString("Times New Roman"); QTest::newRow("shorthand multiple quote") << "font: 12pt invalid, \"Times New Roman\" " << QString("Times New Roman"); QTest::newRow("shorthand multiple") << "font: 12pt invalid, Times New Roman " << QString("Times New Roman"); + QTest::newRow("invalid spaces") << "font-family: invalid spaces, Times New Roman " << QString("Times New Roman"); + QTest::newRow("invalid spaces quotes") << "font-family: 'invalid spaces', 'Times New Roman' " << QString("Times New Roman"); } + void tst_QCssParser::extractFontFamily() { QFETCH(QString, css);