qt5base-lts/tests/auto
Alexey Chernov 2d5d6c8fbc Color transparency support in html import/export
Export of color transparency component is added for cases where color
is exported to html. New static function colorValue() is added to
prepare CSS string representation of QColor. When the color is opaque,
it falls down to QColor::name() method which was used previously,
otherwise it returns 'rgba()' CSS statement or 'transparent' keyword in
case transparency is 0.
6-digit precision is used for alpha value as it's maximum which can be
processed properly by Gecko and Webkit engines
(http://lists.w3.org/Archives/Public/www-style/2009Dec/0295.html).

Import part for rgba() statement was also added to QCssParser. It
supports rgba() color values as stated in CSS Color Module Level 3
(http://www.w3.org/TR/css3-color/#rgba-color).

Import of undocumented statement 'rgba(int,int,int,int);' was also
added to preserve regression test success and to provide compatibility
with previous code relying on this behaviour.

Test cases added to QCssParser autotest for rgba(int,int,int,float)
statement and to QTextDocument autotest for rgba(int,int,int,float)
and 'transparent' statements for certain 'color', 'background-color'
and 'bgcolor' properties.

Change-Id: Id341c4e800249820d52edef8003e50f9a74d062b
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-07-10 03:24:56 +02:00
..
cmake Move the macros for invoking ctest to a shared location. 2012-07-03 01:08:25 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Remove insignification from QtConcurrentFilter test. 2012-04-19 13:26:51 +02:00
corelib fix compilation with conforming compilers (e.g. GCC >= 4.7) 2012-07-10 03:24:15 +02:00
dbus Make test work on Mac OS X 2012-06-23 16:25:47 +02:00
gui Color transparency support in html import/export 2012-07-10 03:24:56 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network fixed unittest builds for wince 2012-07-06 21:14:09 +02:00
opengl Mark qgl autotest as significant for Windows 2012-07-03 00:51:44 +02:00
other Flag consistently failing tests as expected fail tests. 2012-06-30 04:30:15 +02:00
printsupport Replace insignificant test with QEXPECT_FAIL. 2012-07-05 05:39:12 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Make sql autotests build without widgets 2012-06-07 07:25:27 +02:00
testlib Avoid load(testcase) for installing test helper apps 2012-07-04 02:46:27 +02:00
tools Update the moc no-keywords test for the signals replacement. 2012-07-09 15:55:15 +02:00
widgets QItemDelegate - add a more comprehensive test 2012-07-09 12:07:48 +02:00
xml remove some qmake -project boilerplate from project files 2012-06-19 16:39:52 +02:00
auto.pro fixed unittest builds for wince 2012-07-06 21:14:09 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00