Title: [139256] trunk
Revision
139256
Author
ta...@google.com
Date
2013-01-09 16:44:57 -0800 (Wed, 09 Jan 2013)

Log Message

border-radius with box-shadow is not rendered correctly
https://bugs.webkit.org/show_bug.cgi?id=106404

Reviewed by Hajime Morita.

Source/WebCore:

RoundedRect::isRenderable is wrong. So RoundedRect::adjustRadii
is invoked for renderable RoundedRects.

Test: fast/borders/border-radius-with-box-shadow.html

* platform/graphics/RoundedRect.cpp:
(WebCore::RoundedRect::isRenderable):
Have to compare topLeft's height plus bottomLeft's height with
rect's height and to compare topRight's height plus bottomRight's
height with rect's height.

LayoutTests:

* fast/borders/border-radius-with-box-shadow-expected.txt: Added.
* fast/borders/border-radius-with-box-shadow.html: Added.
* platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (139255 => 139256)


--- trunk/LayoutTests/ChangeLog	2013-01-10 00:39:55 UTC (rev 139255)
+++ trunk/LayoutTests/ChangeLog	2013-01-10 00:44:57 UTC (rev 139256)
@@ -1,3 +1,14 @@
+2013-01-09  Takashi Sakamoto  <ta...@google.com>
+
+        border-radius with box-shadow is not rendered correctly
+        https://bugs.webkit.org/show_bug.cgi?id=106404
+
+        Reviewed by Hajime Morita.
+
+        * fast/borders/border-radius-with-box-shadow-expected.txt: Added.
+        * fast/borders/border-radius-with-box-shadow.html: Added.
+        * platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added.
+
 2013-01-09  Anders Carlsson  <ander...@apple.com>
 
         Update a test result.

Added: trunk/LayoutTests/fast/borders/border-radius-with-box-shadow-expected.txt (0 => 139256)


--- trunk/LayoutTests/fast/borders/border-radius-with-box-shadow-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/borders/border-radius-with-box-shadow-expected.txt	2013-01-10 00:44:57 UTC (rev 139256)
@@ -0,0 +1 @@
+

Added: trunk/LayoutTests/fast/borders/border-radius-with-box-shadow.html (0 => 139256)


--- trunk/LayoutTests/fast/borders/border-radius-with-box-shadow.html	                        (rev 0)
+++ trunk/LayoutTests/fast/borders/border-radius-with-box-shadow.html	2013-01-10 00:44:57 UTC (rev 139256)
@@ -0,0 +1,26 @@
+<!doctype html>
+<head>
+<style>
+.fo_menu{
+    width: 549px;
+    height: 45px;
+    background-color: #000000;
+    border-top-left-radius: 130px 70px;
+    border-top-right-radius: 130px 70px;
+    margin:50ppx;
+    box-shadow: 0px 0px 1px 1px #000000;
+}
+</style>
+<script>
+if (window.testRunner)
+   testRunner.dumpAsText(true);
+</script>
+</head>
+<body>
+<!-- [bug 106404] https://bugs.webkit.org/show_bug.cgi?id=106404 -->
+<!-- border-radius with box-shadow is not rendered correctly. -->
+<!-- This test is for checking whether the above bug is correctly -->
+<!-- fixed or not. -->
+<div class="fo_menu">
+</div>
+</body>

Added: trunk/LayoutTests/platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png (0 => 139256)


--- trunk/LayoutTests/platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png	2013-01-10 00:44:57 UTC (rev 139256)
@@ -0,0 +1,12 @@
+\x89PNG
+
+
+IHDR X')tEXtchecksuma22288c0f6dc62ecd5b163b292ddcfbd\xDC\xCE\xD4IDATx\x9C\xED\xDDKo\x9Cg\xFD\xC7\xE1xb{\\xDA\xE0\x98\x92\xD4\xB4$*\xE2 RE\xADXTH *\xED\x82\xBC^\xB2 \xEDP$\x8DZ\x81\x84I\x92AU\x8AR5\xD4DIH;1Nl'\x8F\xEB9=\xF3_XͿ\x97\x9E\xBE\x93I\xC6׵\xF4i~#Y\xF6g\xEE\xE7\x9E\xFB\xE9k\xB7\xDB;\xC8)u{\x80^#\xB0\xC2@\x98\xC0Xa\xFD\xDD\xA0\x83\xDA\xEDv\xADV+\x8A\xA2(\x8AZ\xAD\xD6n\xB7\x8B\xA2h4\xCDf\xF3\xCE\xD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L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa L`\x84	,\x800\x81&\xB0\xC2@\x98\xC0Xa \xEC\xFF\xC6/\xE0$/IEND\xAEB`\x82
\ No newline at end of file

Modified: trunk/Source/WebCore/ChangeLog (139255 => 139256)


--- trunk/Source/WebCore/ChangeLog	2013-01-10 00:39:55 UTC (rev 139255)
+++ trunk/Source/WebCore/ChangeLog	2013-01-10 00:44:57 UTC (rev 139256)
@@ -1,3 +1,21 @@
+2013-01-09  Takashi Sakamoto  <ta...@google.com>
+
+        border-radius with box-shadow is not rendered correctly
+        https://bugs.webkit.org/show_bug.cgi?id=106404
+
+        Reviewed by Hajime Morita.
+
+        RoundedRect::isRenderable is wrong. So RoundedRect::adjustRadii
+        is invoked for renderable RoundedRects.
+
+        Test: fast/borders/border-radius-with-box-shadow.html
+
+        * platform/graphics/RoundedRect.cpp:
+        (WebCore::RoundedRect::isRenderable):
+        Have to compare topLeft's height plus bottomLeft's height with
+        rect's height and to compare topRight's height plus bottomRight's
+        height with rect's height.
+
 2013-01-09  Joanmarie Diggs  <jdi...@igalia.com>
 
         [GTK] accessibility/aria-labelledby-overrides-label.html requires a proper baseline

Modified: trunk/Source/WebCore/platform/graphics/RoundedRect.cpp (139255 => 139256)


--- trunk/Source/WebCore/platform/graphics/RoundedRect.cpp	2013-01-10 00:39:55 UTC (rev 139255)
+++ trunk/Source/WebCore/platform/graphics/RoundedRect.cpp	2013-01-10 00:44:57 UTC (rev 139256)
@@ -158,8 +158,8 @@
 {
     return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width()
         && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width()
-        && m_radii.topLeft().height() + m_radii.topRight().height() <= m_rect.height()
-        && m_radii.bottomLeft().height() + m_radii.bottomRight().height() <= m_rect.height();
+        && m_radii.topLeft().height() + m_radii.bottomLeft().height() <= m_rect.height()
+        && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height();
 }
 
 void RoundedRect::adjustRadii()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to