diff options
Diffstat (limited to 'tests/baseline/scenegraph/data/text/text_colored_background.qml')
-rw-r--r-- | tests/baseline/scenegraph/data/text/text_colored_background.qml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/baseline/scenegraph/data/text/text_colored_background.qml b/tests/baseline/scenegraph/data/text/text_colored_background.qml new file mode 100644 index 0000000000..99917355f1 --- /dev/null +++ b/tests/baseline/scenegraph/data/text/text_colored_background.qml @@ -0,0 +1,14 @@ +import QtQuick 2.0 + +Item { + width: 320 + height: 480 + + Text { + anchors.centerIn: parent + font.pixelSize: 16 + color: "blue" + textFormat: Text.RichText + text: "<p style=\"background-color:red\">Lorem ipsum</p><p style=\"background-color:green\">dolor sit amet,</p> consectetur." + } +} |