aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml')
-rw-r--r--tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml b/tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml
new file mode 100644
index 0000000000..4c00362d15
--- /dev/null
+++ b/tests/auto/quick/qquicktext/data/verticallyAlignedImageInTable.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+Item {
+ width: 320
+ height: 480
+
+ Text {
+ anchors.centerIn: parent
+ font.family: "Arial"
+ font.pixelSize: 16
+ textFormat: Text.RichText
+ text: "<table><tr><td/><td valign=\"top\"><img src=\"images/face-sad.png\"></td></tr></table>"
+ }
+}