qt5base-lts/src
Martin T. H. Sandsmark 1753d69607 QCss: Fix parsing of charset
When including a CSS file in a HTML file sent to QTextDocument, and the
CSS file starts with «@charset "UTF-8";», which is the correct way of
declaring that, the parsing fails.
If you omit the space, like «@charset"UTF-8";» the parsing succeeds,
which is wrong.

Fix this by expecting and swallowing whitespace after the @charset
tokens.

Task-number: QTBUG-54829
Change-Id: I32044e8d24bda70c1eb06bf74af50d4cabe2211d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2016-11-15 17:17:08 +00:00
..
3rdparty harfbuzz: compile with GCC 7 2016-10-12 08:16:56 +00:00
android Android: Ministro updates 2016-10-12 11:19:45 +00:00
angle Fix URL to ANGLE 2016-06-30 07:06:39 +00:00
concurrent Doc: Fix a typo in QtConcurrent example snippet 2016-10-28 13:17:19 +00:00
corelib Revert "Optimize QJsonObject::operator==" 2016-11-14 16:49:39 +00:00
dbus Fix DBus compilation 2016-10-18 08:04:45 +00:00
gui QCss: Fix parsing of charset 2016-11-15 17:17:08 +00:00
network winrt: Proper guarding by readMutex 2016-11-08 06:27:59 +00:00
opengl QtOpenGl: compile with GCC 7 2016-10-12 08:16:52 +00:00
openglextensions consistently put {qt,qml}_{module,plugin} at the end of project files 2016-03-07 14:09:49 +00:00
platformheaders doc: Add missing documentation for QXcbWindowFunctions::setWmWindowRole() 2016-11-12 18:38:20 +00:00
platformsupport QFontconfigDatabase: remove 200 unneeded relocations 2016-11-08 19:37:42 +00:00
plugins Cocoa: Make dictation via speech recognition work 2016-11-14 20:59:51 +00:00
printsupport macOS: Clear event dispatcher interrupt state 2016-11-08 12:30:06 +00:00
sql QtSql: compile with GCC 7 2016-10-10 17:17:22 +00:00
testlib Specify timeout is in milliseconds 2016-10-14 10:34:01 +00:00
tools Fix signal code generation 2016-10-03 14:01:33 +00:00
widgets doc: Remove obsolete note for QWidget::paintEvent() 2016-11-12 10:40:42 +00:00
winmain QT_CONFIG simplification re debug_and_release and build_all 2016-05-17 15:31:40 +00:00
xml Doc: Remove repository name from examplesinstallpath 2016-05-12 12:15:52 +00:00
src.pro Merge remote-tracking branch 'origin/5.6.1' into 5.6 2016-05-19 06:31:06 +02:00