Bug 131503 - Radio buttons are using the wrong sizes and margins
Summary: Radio buttons are using the wrong sizes and margins
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2014-04-10 12:00 PDT by Beth Dakin
Modified: 2016-03-16 20:36 PDT (History)
1 user (show)

See Also:

Patch (1.81 KB, patch)
2014-04-10 15:29 PDT, Beth Dakin
jer.noble: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2014-04-10 12:00:32 PDT
This is a regression caused by http://trac.webkit.org/changeset/166514 

In making checkboxes and radio buttons share code, I accidentally used checkbox metrics in two spots for radio buttons as well. Miraculously, this does not seem to have effected the rendering is any obvious way, but we should still fix it.
Comment 1 Beth Dakin 2014-04-10 15:29:58 PDT
Created attachment 229082 [details]
Comment 2 Jer Noble 2014-04-10 15:49:50 PDT
Comment on attachment 229082 [details]

Because I can't not have a nit, I'd move the "const int* controlMargins" line down below the zoomedSize.setWidth and zoomedSize.setHeight lines.  But r=me. :)