summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 20:36:15 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-18 20:36:15 +0000
commita4732abb80b7431b3f73d39df137b6bc953f61cf (patch)
tree7999b70fc1c2913375768cf676161de67189a4d5 /webkit
parent03056eabf232be35af3c2f040cd807d43b67dc17 (diff)
downloadchromium_src-a4732abb80b7431b3f73d39df137b6bc953f61cf.zip
chromium_src-a4732abb80b7431b3f73d39df137b6bc953f61cf.tar.gz
chromium_src-a4732abb80b7431b3f73d39df137b6bc953f61cf.tar.bz2
Grab the file that fixes the box shadow size. This was supposed to be in the
text shadow patch, and is why the layout tests are failing. Review URL: http://codereview.chromium.org/15045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/port/platform/graphics/skia/GraphicsContextSkia.cpp2
-rw-r--r--webkit/tools/layout_tests/test_lists/tests_fixable.txt7
2 files changed, 2 insertions, 7 deletions
diff --git a/webkit/port/platform/graphics/skia/GraphicsContextSkia.cpp b/webkit/port/platform/graphics/skia/GraphicsContextSkia.cpp
index fd7968b2..5271ccf 100644
--- a/webkit/port/platform/graphics/skia/GraphicsContextSkia.cpp
+++ b/webkit/port/platform/graphics/skia/GraphicsContextSkia.cpp
@@ -965,7 +965,7 @@ void GraphicsContext::setPlatformShadow(const IntSize& size,
// TODO(tc): Should we have a max value for the blur? CG clamps at 1000.0
// for perf reasons.
- SkDrawLooper* dl = new SkBlurDrawLooper(blur, width, height, c);
+ SkDrawLooper* dl = new SkBlurDrawLooper(blur / 2, width, height, c);
platformContext()->setDrawLooper(dl);
dl->unref();
}
diff --git a/webkit/tools/layout_tests/test_lists/tests_fixable.txt b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
index d56b699..0781029 100644
--- a/webkit/tools/layout_tests/test_lists/tests_fixable.txt
+++ b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
@@ -1797,10 +1797,5 @@ LINUX WIN : LayoutTests/fast/images/svg-as-relative-image.html = FAIL
// Not quite sure what's going on here. Getting the builder green.
LINUX : LayoutTests/fast/text/shadow-no-blur.html = FAIL
-// Shadow failures from Brett's shadow changes. These probably just need
-// rebaselining. (Note: they all fail on Linux, but the ones not marked Linux
-// failures appear elsewhere).
-LINUX WIN : LayoutTests/fast/box-shadow/basic-shadows.html = FAIL
-WIN : LayoutTests/fast/repaint/box-shadow-h.html = FAIL
-WIN : LayoutTests/fast/repaint/box-shadow-v.html = FAIL
+// Brett broke this with his font rendering effect patch and needs to fix it.
LINUX WIN : LayoutTests/svg/W3C-SVG-1.1/fonts-kern-01-t.svg = FAIL