Changeset 128013 in webkit
- Timestamp:
- Sep 9, 2012 8:34:30 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r128012 r128013 1 2012-09-09 KyungTae Kim <ktf.kim@samsung.com> 2 3 [EFL] Wrong rendering results for square-button-appearance.html 4 https://bugs.webkit.org/show_bug.cgi?id=85493 5 6 Reviewed by Gyuyoung Kim. 7 8 Remove fast/css/square-button-appearance.html from TestExpectations because it became PASS. 9 10 * platform/efl/TestExpectations: 11 1 12 2012-09-09 Kenichi Ishibashi <bashi@chromium.org> 2 13 -
trunk/LayoutTests/platform/efl/TestExpectations
r127989 r128013 625 625 BUGWK85484 : fast/forms/textarea-scrolled-type.html = MISSING 626 626 627 BUGWK85493 : fast/css/square-button-appearance.html = TEXT628 629 627 BUGWK73766 : css3/unicode-bidi-isolate-aharon-failing.html = IMAGE IMAGE+TEXT 630 628 -
trunk/Source/WebCore/ChangeLog
r128011 r128013 1 2012-09-09 KyungTae Kim <ktf.kim@samsung.com> 2 3 [EFL] Wrong rendering results for square-button-appearance.html 4 https://bugs.webkit.org/show_bug.cgi?id=85493 5 6 Reviewed by Gyuyoung Kim. 7 8 A square-button is an element that has '-webkit-appearance: square-button' style. 9 10 If it is a block element, 11 the RenderBlock::recomputeLogicalWidth recalculate the width from the padding values. 12 13 But the recalculated width became wrong because the RenderThemeEfl::adjustSizeConstraints 14 called from RenderThemeEfl::adjustButtonStyle adds padding values for a button. 15 16 So, the adjustSizeConstraints must not be called for a square-button(SquareButtonPart). 17 18 Test : fast/css/square-button-appearance.html 19 20 * platform/efl/RenderThemeEfl.cpp: 21 (WebCore::RenderThemeEfl::adjustButtonStyle): Call adjustSizeConstrains only for PushButtonPart and ButtonPart 22 1 23 2012-09-09 Jinwoo Song <jinwoo7.song@samsung.com> 2 24 -
trunk/Source/WebCore/platform/efl/RenderThemeEfl.cpp
r127786 r128013 879 879 } 880 880 881 adjustSizeConstraints(style, Button); 881 // adjustSizeConstrains can make SquareButtonPart's size wrong (by adjusting paddings), so call it only for PushButtonPart and ButtonPart 882 if (style->appearance() == PushButtonPart || style->appearance() == ButtonPart) 883 adjustSizeConstraints(style, Button); 882 884 } 883 885
Note: See TracChangeset
for help on using the changeset viewer.