WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
96673
Text Autosizing: Add explanations to tests.
https://bugs.webkit.org/show_bug.cgi?id=96673
Summary
Text Autosizing: Add explanations to tests.
John Mellor
Reported
2012-09-13 11:01:43 PDT
Text Autosizing: Add explanations to tests.
Attachments
Patch
(28.52 KB, patch)
2012-09-13 11:04 PDT
,
John Mellor
no flags
Details
Formatted Diff
Diff
Patch
(27.15 KB, patch)
2012-09-13 12:54 PDT
,
John Mellor
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
John Mellor
Comment 1
2012-09-13 11:04:47 PDT
Created
attachment 163911
[details]
Patch
Adam Barth
Comment 2
2012-09-13 11:07:27 PDT
Comment on
attachment 163911
[details]
Patch rs=me
Julien Chaffraix
Comment 3
2012-09-13 11:13:38 PDT
Comment on
attachment 163911
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=163911&action=review
> LayoutTests/fast/text-autosizing/font-scale-factor-expected.html:6 > +<style type="text/css">
The 'type' attribute is not required.
> LayoutTests/fast/text-autosizing/font-scale-factor-expected.html:15 > + This text should be autosized to 80px computed font-size (16 * 800/320 * 2, where 2 is the fontScaleFactor). Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sapien sapien, tempus id egestas a, consectetur et felis. Ut pharetra mi eget lectus laoreet rutrum. Mauris tellus odio, egestas vitae sodales in, vehicula eget ante. Pellentesque id egestas arcu. Quisque tellus quam, rhoncus ac elementum vel, volutpat vel felis. Aliquam ut leo dolor, eget egestas tellus. Nunc ut velit gravida nisl fringilla rutrum eget at arcu. Vivamus et pretium mauris.
Putting the explanation on its own line would make the text more readable (not repeated on all the tests).
> LayoutTests/fast/text-autosizing/narrow-iframe-expected.html:7 > -body { width: 800px; margin: 0; overflow-y: hidden; } > +body { width: 800px; margin: 0; }
If you remove those, you will check that we don't overflow in those tests. Not sure if it's super useful as you set the height to be tall enough anyway.
> LayoutTests/fast/text-autosizing/narrow-iframe.html:7 > -body { width: 800px; margin: 0; overflow-y: hidden; } > +body { width: 800px; margin: 0; }
Ditto.
John Mellor
Comment 4
2012-09-13 12:54:08 PDT
Created
attachment 163942
[details]
Patch
Julien Chaffraix
Comment 5
2012-09-13 12:59:36 PDT
Comment on
attachment 163942
[details]
Patch r=me, thanks for making the tests more awesome.
WebKit Review Bot
Comment 6
2012-09-13 13:22:51 PDT
Comment on
attachment 163942
[details]
Patch Clearing flags on attachment: 163942 Committed
r128500
: <
http://trac.webkit.org/changeset/128500
>
WebKit Review Bot
Comment 7
2012-09-13 13:22:54 PDT
All reviewed patches have been landed. Closing bug.
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