Changeset 139256 in webkit
- Timestamp:
- Jan 9, 2013 4:44:57 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139255 r139256 1 2013-01-09 Takashi Sakamoto <tasak@google.com> 2 3 border-radius with box-shadow is not rendered correctly 4 https://bugs.webkit.org/show_bug.cgi?id=106404 5 6 Reviewed by Hajime Morita. 7 8 * fast/borders/border-radius-with-box-shadow-expected.txt: Added. 9 * fast/borders/border-radius-with-box-shadow.html: Added. 10 * platform/chromium-linux/fast/borders/border-radius-with-box-shadow-expected.png: Added. 11 1 12 2013-01-09 Anders Carlsson <andersca@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r139250 r139256 1 2013-01-09 Takashi Sakamoto <tasak@google.com> 2 3 border-radius with box-shadow is not rendered correctly 4 https://bugs.webkit.org/show_bug.cgi?id=106404 5 6 Reviewed by Hajime Morita. 7 8 RoundedRect::isRenderable is wrong. So RoundedRect::adjustRadii 9 is invoked for renderable RoundedRects. 10 11 Test: fast/borders/border-radius-with-box-shadow.html 12 13 * platform/graphics/RoundedRect.cpp: 14 (WebCore::RoundedRect::isRenderable): 15 Have to compare topLeft's height plus bottomLeft's height with 16 rect's height and to compare topRight's height plus bottomRight's 17 height with rect's height. 18 1 19 2013-01-09 Joanmarie Diggs <jdiggs@igalia.com> 2 20 -
trunk/Source/WebCore/platform/graphics/RoundedRect.cpp
r125304 r139256 159 159 return m_radii.topLeft().width() + m_radii.topRight().width() <= m_rect.width() 160 160 && m_radii.bottomLeft().width() + m_radii.bottomRight().width() <= m_rect.width() 161 && m_radii.topLeft().height() + m_radii. topRight().height() <= m_rect.height()162 && m_radii. bottomLeft().height() + m_radii.bottomRight().height() <= m_rect.height();161 && m_radii.topLeft().height() + m_radii.bottomLeft().height() <= m_rect.height() 162 && m_radii.topRight().height() + m_radii.bottomRight().height() <= m_rect.height(); 163 163 } 164 164
Note: See TracChangeset
for help on using the changeset viewer.