RESOLVED FIXED 35231
[Chromium] Paddings of Mac chromium's buttons don't agree with Firefox
https://bugs.webkit.org/show_bug.cgi?id=35231
Summary [Chromium] Paddings of Mac chromium's buttons don't agree with Firefox
Attachments
Patch v1 (6.82 KB, patch)
2010-02-22 00:50 PST, Shinichiro Hamaji
no flags
Patch v2 (18.73 KB, patch)
2010-02-22 01:01 PST, Shinichiro Hamaji
eric: review-
Shinichiro Hamaji
Comment 1 2010-02-22 00:50:52 PST
Created attachment 49192 [details] Patch v1
WebKit Review Bot
Comment 2 2010-02-22 00:53:58 PST
Attachment 49192 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/rendering/RenderThemeChromiumSkia.h:35: Code inside a namespace should not be indented. [whitespace/indent] [4] Total errors found: 1 in 6 files If any of these errors are false positives, please file a bug against check-webkit-style.
Shinichiro Hamaji
Comment 3 2010-02-22 01:00:08 PST
> Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 > WebCore/rendering/RenderThemeChromiumSkia.h:35: Code inside a namespace should > not be indented. [whitespace/indent] [4] > Total errors found: 1 in 6 files This is known as Bug 33925, but now I decided to fix this style violation in this chance. Please review Patch v1 to check the logical change of this file.
Shinichiro Hamaji
Comment 4 2010-02-22 01:01:15 PST
Created attachment 49193 [details] Patch v2
Kent Tamura
Comment 5 2010-02-22 01:14:31 PST
This behavior matches to Safari/Mac. We should change the Safari/Mac behavior too if you want to change this.
Shinichiro Hamaji
Comment 6 2010-02-22 01:22:44 PST
(In reply to comment #5) > This behavior matches to Safari/Mac. We should change the Safari/Mac behavior > too if you want to change this. Thanks for your comment. Yes, Mac Safari and Win Safari disagree with Firefox, Win Chrome, and Linux Chrome behavior. I don't know the discussion about Bug 24048, but I guessed the decision of Chromium team was different from Safari team. Ojan, could you check if my guess is correct?
Ojan Vafai
Comment 7 2010-02-22 14:39:04 PST
Ideally, form controls for Safari and Chrome will have the same metrics per-platform. I've actually been meaning to file a bug that we *remove* the 3px padding on Windows/Linux. It causes more compatibility problems than it fixes. Before removing the 3px padding, I wanted to make a screenshot of what it would look like with and without to run it by Chrome's UI leads to make sure they're OK with the change. Matching Firefox is not in and of itself a goal. Chrome made that change a long time ago (when there was only a Windows Chrome) in an effort to maximize web compatibility, but to date, we've only seen cases where it has hurt compatibility.
Eric Seidel (no email)
Comment 8 2010-02-22 14:43:31 PST
Comment on attachment 49193 [details] Patch v2 r- based on Ojan's comments.
Shinichiro Hamaji
Comment 9 2010-02-23 22:16:07 PST
Thanks Ojan for the description! > I've actually been meaning to file a bug that we *remove* the 3px padding on > Windows/Linux. It causes more compatibility problems than it fixes. Before > removing the 3px padding, I wanted to make a screenshot of what it would look > like with and without to run it by Chrome's UI leads to make sure they're OK > with the change. > > Matching Firefox is not in and of itself a goal. Chrome made that change a long > time ago (when there was only a Windows Chrome) in an effort to maximize web > compatibility, but to date, we've only seen cases where it has hurt > compatibility. If it's OK to remove the extra paddings, I agree it's the better solution. So, could you have a discussion with UI guys and take over http://crbug.com/1437 ? Or, if you are busy, I'll make screenshots and send them to UI leads. In this case, could you tell me who I should contact and what kind of screenshots I should send, please? Thanks again!
Note You need to log in before you can comment on or make changes to this bug.