Fixes a regression where the Image and Font preview views do not
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 May 2008 02:45:01 +0000 (02:45 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 May 2008 02:45:01 +0000 (02:45 +0000)
commit43650823a5d5a816e1d4ca5724f24cdc8a472e94
tree2a485b72274117b3d94410d08d047c71839857cd
parentb29cca5bf7a8b8522c034d6e04837e3e111c27f6
Fixes a regression where the Image and Font preview views do not
size correctly.

<rdar://problem/5966723> REGRESSION (r33991): Image and font previews
are shrunken and can't be made larger (19281)

Reviewed by Adam Roben.

* page/inspector/FontView.js: Adjust the font size based only on the
container width minus padding.
* page/inspector/inspector.css: Updated styles for the image and
font views.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@34161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/FontView.js
WebCore/page/inspector/inspector.css