LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2006 01:03:50 +0000 (01:03 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Apr 2006 01:03:50 +0000 (01:03 +0000)
commit4c0c800667c56ca0d859aaa3cc6cacfcae052f3c
treeb0ea88004f546f4b3be90caafbf8b4aa91fe2b48
parent132df8325cfe764983ab60c57e86da73c4efe118
LayoutTests:

        Updated results for: http://bugzilla.opendarwin.org/show_bug.cgi?id=8297
        REGRESSION: Input element extends outside of DIV element at http://www.macdock.com/

        * editing/selection/3690703-2-expected.checksum:
        * editing/selection/3690703-2-expected.png:
        * editing/selection/3690703-2-expected.txt:
        * editing/selection/3690703-expected.checksum:
        * editing/selection/3690703-expected.png:
        * editing/selection/3690703-expected.txt:
        * editing/selection/3690719-expected.checksum:
        * editing/selection/3690719-expected.png:
        * editing/selection/3690719-expected.txt:
        * fast/forms/input-appearance-minWidth-expected.checksum:
        * fast/forms/input-appearance-minWidth-expected.png:
        * fast/forms/input-appearance-minWidth-expected.txt:
        * fast/forms/input-appearance-width-expected.checksum:
        * fast/forms/input-appearance-width-expected.png:
        * fast/forms/input-appearance-width-expected.txt:
        * fast/forms/input-double-click-selection-gap-bug-expected.checksum:
        * fast/replaced/width100percent-expected.checksum:
        * fast/replaced/width100percent-expected.png:
        * fast/replaced/width100percent-expected.txt:
        * tables/mozilla/bugs/bug1188-expected.checksum:
        * tables/mozilla/bugs/bug1188-expected.png:
        * tables/mozilla/bugs/bug1188-expected.txt:
        * tables/mozilla/bugs/bug12384-expected.checksum:
        * tables/mozilla/bugs/bug12384-expected.png:
        * tables/mozilla/bugs/bug12384-expected.txt:
        * tables/mozilla/bugs/bug18359-expected.checksum:
        * tables/mozilla/bugs/bug18359-expected.png:
        * tables/mozilla/bugs/bug18359-expected.txt:
        * tables/mozilla/bugs/bug55545-expected.checksum:
        * tables/mozilla/bugs/bug55545-expected.png:
        * tables/mozilla/bugs/bug55545-expected.txt:
        * tables/mozilla/bugs/bug7342-expected.checksum:
        * tables/mozilla/bugs/bug7342-expected.png:
        * tables/mozilla/bugs/bug7342-expected.txt:
        * tables/mozilla_expected_failures/bugs/bug2479-2-expected.checksum:
        * tables/mozilla_expected_failures/bugs/bug2479-2-expected.png:
        * tables/mozilla_expected_failures/bugs/bug2479-2-expected.txt:

WebCore:

        Reviewed by Hyatt.

        Fix for: http://bugzilla.opendarwin.org/show_bug.cgi?id=8297
        REGRESSION: Input element extends outside of DIV element at http://www.macdock.com/

        * platform/Font.h: Added runRounding parameter to floatWidth.
        * platform/mac/FontMac.mm: (WebCore::Font::floatWidth): ditto.
        * platform/win/FontWin.cpp: (WebCore::Font::floatWidth): ditto.
        * rendering/RenderTextField.cpp: (WebCore::RenderTextField::calcMinMaxWidth):
          Use new floatWidth parameter to turn off run rounding.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
43 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/selection/3690703-2-expected.checksum
LayoutTests/editing/selection/3690703-2-expected.png
LayoutTests/editing/selection/3690703-2-expected.txt
LayoutTests/editing/selection/3690703-expected.checksum
LayoutTests/editing/selection/3690703-expected.png
LayoutTests/editing/selection/3690703-expected.txt
LayoutTests/editing/selection/3690719-expected.checksum
LayoutTests/editing/selection/3690719-expected.png
LayoutTests/editing/selection/3690719-expected.txt
LayoutTests/fast/forms/input-appearance-minWidth-expected.checksum
LayoutTests/fast/forms/input-appearance-minWidth-expected.png
LayoutTests/fast/forms/input-appearance-minWidth-expected.txt
LayoutTests/fast/forms/input-appearance-width-expected.checksum
LayoutTests/fast/forms/input-appearance-width-expected.png
LayoutTests/fast/forms/input-appearance-width-expected.txt
LayoutTests/fast/forms/input-double-click-selection-gap-bug-expected.checksum
LayoutTests/fast/replaced/width100percent-expected.checksum
LayoutTests/fast/replaced/width100percent-expected.png
LayoutTests/fast/replaced/width100percent-expected.txt
LayoutTests/tables/mozilla/bugs/bug1188-expected.checksum
LayoutTests/tables/mozilla/bugs/bug1188-expected.png
LayoutTests/tables/mozilla/bugs/bug1188-expected.txt
LayoutTests/tables/mozilla/bugs/bug12384-expected.checksum
LayoutTests/tables/mozilla/bugs/bug12384-expected.png
LayoutTests/tables/mozilla/bugs/bug12384-expected.txt
LayoutTests/tables/mozilla/bugs/bug18359-expected.checksum
LayoutTests/tables/mozilla/bugs/bug18359-expected.png
LayoutTests/tables/mozilla/bugs/bug18359-expected.txt
LayoutTests/tables/mozilla/bugs/bug55545-expected.checksum
LayoutTests/tables/mozilla/bugs/bug55545-expected.png
LayoutTests/tables/mozilla/bugs/bug55545-expected.txt
LayoutTests/tables/mozilla/bugs/bug7342-expected.checksum
LayoutTests/tables/mozilla/bugs/bug7342-expected.png
LayoutTests/tables/mozilla/bugs/bug7342-expected.txt
LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-2-expected.checksum
LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-2-expected.png
LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-2-expected.txt
WebCore/ChangeLog
WebCore/platform/Font.h
WebCore/platform/mac/FontMac.mm
WebCore/platform/win/FontWin.cpp
WebCore/rendering/RenderTextField.cpp