From a3d1db608b1978a00862bdf4a785839fcf72dae4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 31 Jul 2014 16:10:17 +0200 Subject: label: Don't clip text shadows The previous code for computing the clip rectangle forgot to respect the text-shadow CSS property. This is usually not very visible because text shadows usually don't extend the ink rectangle by very much. See attached testcase for an example. --- testsuite/reftests/label-text-shadow-clipping.ui | 32 ++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testsuite/reftests/label-text-shadow-clipping.ui (limited to 'testsuite/reftests/label-text-shadow-clipping.ui') diff --git a/testsuite/reftests/label-text-shadow-clipping.ui b/testsuite/reftests/label-text-shadow-clipping.ui new file mode 100644 index 0000000000..018caeb3fa --- /dev/null +++ b/testsuite/reftests/label-text-shadow-clipping.ui @@ -0,0 +1,32 @@ + + + + + + 500 + 100 + False + popup + + + True + False + center + center + vertical + + + True + False + Hello World + + + False + True + 0 + + + + + + -- cgit v1.2.1