qt6-bb10/tests/auto/gui/text/qtextdocument
Ralf Habacker 2e2f1e2af7 Add css media rule support for QTextDocument::setHtml()
CSS styles can contain '@media <rule> {...}' blocks, which were
previously ignored for all values except "screen".

To use a media rule other than the default "screen" rule,
specify it before calling setHtml() with setMetaInformation()
and the new info value 'CssMedia'.

[ChangeLog][Gui][QTextDocument] Add css media rule support
for QTextDocument::setHtml()

Pick-to: 6.3
Fixes: QTBUG-98408
Change-Id: Ie05f815a6dedbd970210f467e26b116f6ee3b9ca
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2021-12-15 11:36:37 +00:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
common.h Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
test.css Ensure that CSS rules are inherited from the parent tags 2015-03-25 11:55:47 +00:00
tst_qtextdocument.cpp Add css media rule support for QTextDocument::setHtml() 2021-12-15 11:36:37 +00:00