WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
29493
[LTTF] Comprehensive testing of button rendering
https://bugs.webkit.org/show_bug.cgi?id=29493
Summary
[LTTF] Comprehensive testing of button rendering
Karen
Reported
2009-09-18 10:12:36 PDT
adding layout test for Chromium. This is a basic test that checks button rendering.
Attachments
basic button layout test patch
(80.76 KB, text/plain)
2009-09-18 10:13 PDT
,
Karen
no flags
Details
fixed the changelog - basic button layout test for chromium.
(80.80 KB, text/plain)
2009-09-18 10:27 PDT
,
Karen
no flags
Details
basic button layout test patch
(3.07 KB, patch)
2009-09-18 12:10 PDT
,
Karen
eric
: review-
Details
Formatted Diff
Diff
screen shot of the mac rendering, the buttons with text are ignoring the padding and the one with image are inconsistent.
(74.11 KB, image/png)
2009-09-18 12:11 PDT
,
Karen
no flags
Details
tests basic buttons comprehensively. added expected files, fixed changelog.
(100.18 KB, patch)
2009-09-22 10:41 PDT
,
Karen
dglazkov
: review-
Details
Formatted Diff
Diff
basic button layout test patch - fixed brace to be on new line
(100.18 KB, patch)
2009-09-23 15:43 PDT
,
Karen
dglazkov
: review-
Details
Formatted Diff
Diff
basic button layout test patch - changed to have 4 space indents
(100.23 KB, patch)
2009-09-23 16:11 PDT
,
Karen
dglazkov
: review-
Details
Formatted Diff
Diff
basic button layout test patch - changed to have 4 space indents
(100.26 KB, patch)
2009-09-23 16:22 PDT
,
Karen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(7)
View All
Add attachment
proposed patch, testcase, etc.
Karen
Comment 1
2009-09-18 10:13:16 PDT
Created
attachment 39765
[details]
basic button layout test patch
Karen
Comment 2
2009-09-18 10:27:22 PDT
Created
attachment 39766
[details]
fixed the changelog - basic button layout test for chromium.
Karen
Comment 3
2009-09-18 10:49:53 PDT
patch coming.
Karen
Comment 4
2009-09-18 12:10:17 PDT
Created
attachment 39774
[details]
basic button layout test patch there's a problem with the buttons not rendering the same on Mac vs PC. This patch just contains the HTML file. I will add the others as soon as I get information on what to do. please see bug for more details.
Karen
Comment 5
2009-09-18 12:11:00 PDT
Created
attachment 39775
[details]
screen shot of the mac rendering, the buttons with text are ignoring the padding and the one with image are inconsistent.
Karen
Comment 6
2009-09-18 12:13:12 PDT
Hi, This is a basic layout test chromium uses to check for proper button rendering. If you look at the results on a mac vs PC, you will see different results. The PC version renders both the image and text buttons with the proper padding. The Mac version doesn't add any padding to the text button and two of the paddings (10% and 2px) on the image button appear different than the rest. (see attached PNG file) I included the html file in the patch and will wait for further instructions before I submit full patch with expected.txt, png, checksum files. thank you.
Eric Seidel (no email)
Comment 7
2009-09-18 13:57:25 PDT
Comment on
attachment 39774
[details]
basic button layout test patch expected.png and expected.checksum are missing from your patch. What is this test for? Please explain in your ChangeLog. What does this test cover that other tests do not already?
Eric Seidel (no email)
Comment 8
2009-09-18 13:58:09 PDT
(In reply to
comment #7
)
> (From update of
attachment 39774
[details]
) > expected.png and expected.checksum are missing from your patch. > > What is this test for? Please explain in your ChangeLog. What does this test > cover that other tests do not already?
Looks like you explained some of this in the bug, but the ChangeLog needs more of this info.
Karen
Comment 9
2009-09-22 10:41:34 PDT
Created
attachment 39930
[details]
tests basic buttons comprehensively. added expected files, fixed changelog. cleaned up patch. added comment to html, generated expected results and cleaned changelog.
Dimitri Glazkov (Google)
Comment 10
2009-09-23 15:34:49 PDT
Comment on
attachment 39930
[details]
tests basic buttons comprehensively. added expected files, fixed changelog. looks good, except for:
> +function printSize(tagname, cell) {
brace on new line for functions.
Karen
Comment 11
2009-09-23 15:43:25 PDT
Created
attachment 40023
[details]
basic button layout test patch - fixed brace to be on new line fixed function brace to be on a new line.
Dimitri Glazkov (Google)
Comment 12
2009-09-23 15:49:35 PDT
Comment on
attachment 40023
[details]
basic button layout test patch - fixed brace to be on new line I just realized that all indents are 2-space here :)
Karen
Comment 13
2009-09-23 16:11:40 PDT
Created
attachment 40025
[details]
basic button layout test patch - changed to have 4 space indents changed the file to have 4-space indents
Dimitri Glazkov (Google)
Comment 14
2009-09-23 16:16:48 PDT
Comment on
attachment 40025
[details]
basic button layout test patch - changed to have 4 space indents
> + return '<tr><td>' + (style || '(default)') + '</td>' + > + '<td><button ' + (style ? 'style="' + style + '"' : '') + '>' + fooImage + '</button></td>' + > + '<td></td>' + > + '<td><input type="button" value="foo" style="' + style + '"></td>' + > + '<td></td></tr>';
Extra 4 spaces. Sorry :)
Karen
Comment 15
2009-09-23 16:22:25 PDT
Created
attachment 40026
[details]
basic button layout test patch - changed to have 4 space indents fixed indenting
Dimitri Glazkov (Google)
Comment 16
2009-09-23 16:23:42 PDT
Comment on
attachment 40026
[details]
basic button layout test patch - changed to have 4 space indents r=me.
WebKit Commit Bot
Comment 17
2009-09-23 17:40:43 PDT
Comment on
attachment 40026
[details]
basic button layout test patch - changed to have 4 space indents Clearing flags on attachment: 40026 Committed
r48690
: <
http://trac.webkit.org/changeset/48690
>
WebKit Commit Bot
Comment 18
2009-09-23 17:40:49 PDT
All reviewed patches have been landed. Closing bug.
Eric Seidel (no email)
Comment 19
2009-09-23 18:15:15 PDT
It looks like the commit-queue failed to land the .png file due to
bug 29622
. This is bad. :( Re-opening. I'll take care of fixing things.
WebKit Commit Bot
Comment 20
2009-09-23 19:17:59 PDT
Committed
r48696
: <
http://trac.webkit.org/changeset/48696
>
Eric Seidel (no email)
Comment 21
2009-09-23 19:19:38 PDT
Sorry, that wasn't actually the commit-queue making the commit. I just happened to borrow the commit bot's checkout to do the commit. :(
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug