Bug 85493 - [EFL] Wrong rendering results for square-button-appearance.html
Summary: [EFL] Wrong rendering results for square-button-appearance.html
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: KyungTae Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 06:46 PDT by Thiago Marcos P. Santos
Modified: 2012-09-09 20:34 PDT (History)
5 users (show)

See Also:


Attachments
Current buggy rendering result (3.56 KB, image/png)
2012-05-03 06:46 PDT, Thiago Marcos P. Santos
no flags Details
Patch (3.60 KB, patch)
2012-09-06 21:44 PDT, KyungTae Kim
no flags Details | Formatted Diff | Diff
Patch (3.49 KB, patch)
2012-09-07 00:19 PDT, KyungTae Kim
no flags Details | Formatted Diff | Diff
Patch (3.54 KB, patch)
2012-09-09 18:43 PDT, KyungTae Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Marcos P. Santos 2012-05-03 06:46:01 PDT
Created attachment 140003 [details]
Current buggy rendering result

Button is not square enough, it has rounded corners.
Comment 1 KyungTae Kim 2012-09-06 21:44:09 PDT
Created attachment 162667 [details]
Patch
Comment 2 Gyuyoung Kim 2012-09-06 21:59:26 PDT
Comment on attachment 162667 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=162667&action=review

> Source/WebCore/ChangeLog:14
> +        called from RenderThemeEfl::adjustButtonStyle add padding values for a button.

add -> adds or added

> Source/WebCore/ChangeLog:17
> +

Unneeded line.

> Source/WebCore/platform/efl/RenderThemeEfl.cpp:880
> +    

I think it is better to add short comment to here.
Comment 3 Gyuyoung Kim 2012-09-06 22:07:33 PDT
KyungTae, could you ask Thiago if you can submit a patch ?
Comment 4 Chris Dumez 2012-09-06 22:40:05 PDT
Comment on attachment 162667 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=162667&action=review

> Source/WebCore/ChangeLog:16
> +        So, the adjustSizeConstraints must not be called for a sqaure-button(SquareButtonPart).

"sqaure" -> "square"
Comment 5 KyungTae Kim 2012-09-07 00:18:51 PDT
I modified the typos. Sorry for the typos.
Thiago said it's OK. He assigns this bug to me.
Comment 6 KyungTae Kim 2012-09-07 00:19:16 PDT
Created attachment 162688 [details]
Patch
Comment 7 Gyuyoung Kim 2012-09-07 00:25:17 PDT
Comment on attachment 162688 [details]
Patch

Looks fine.
Comment 8 Gyuyoung Kim 2012-09-07 02:07:40 PDT
Comment on attachment 162688 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=162688&action=review

> Source/WebCore/platform/efl/RenderThemeEfl.cpp:-881
> -    adjustSizeConstraints(style, Button);

I still think a comment will be help to understand why this code is added.
Comment 9 KyungTae Kim 2012-09-09 18:43:58 PDT
Created attachment 163023 [details]
Patch
Comment 10 WebKit Review Bot 2012-09-09 20:34:08 PDT
Comment on attachment 163023 [details]
Patch

Clearing flags on attachment: 163023

Committed r128013: <http://trac.webkit.org/changeset/128013>
Comment 11 WebKit Review Bot 2012-09-09 20:34:13 PDT
All reviewed patches have been landed.  Closing bug.