LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Apr 2006 16:49:04 +0000 (16:49 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Apr 2006 16:49:04 +0000 (16:49 +0000)
commit021025f3f019963e82dabf500492f21aecc77a63
treeb8786bc36a45a36d963a26539b46f0bcbd4cf1cc
parent68e58d6b37d2ba47babcaa0ce62dcd96c6ce0339
LayoutTests:

        - regenerated pixel results because many may be affected by
          the fix for bug 8100

WebKit:

        Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=8100
          REGRESSION (NativeTextField): Right-aligned and RTL text jitters in new text fields

        * WebCoreSupport/WebTextRenderer.m:
        (overrideLayoutOperation): For RTL runs, apply the word-rounding on the left.
        (CG_floatWidthForRun): For RTL runs, apply the last character's rounding
        on the left by adjusting the start position.
        (initializeWidthIterator): Added finalRoundingWidth field to WidthIterator.
        (advanceWidthIterator): For RTL runs, apply rounding on the left of the character,
        by increasing the width of the next character (which is the character to the left). For
        the last character, keep the rounding width in the iterator's finalRoundingWidth, to be used by
        CG_floatWidthForRun().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
92 files changed:
LayoutTests/ChangeLog
LayoutTests/css2.1/t0804-c5510-padn-00-b-ag-expected.checksum
LayoutTests/css2.1/t0804-c5510-padn-00-b-ag-expected.png
LayoutTests/css2.1/t100801-c544-valgn-02-d-agi-expected.checksum
LayoutTests/css2.1/t100801-c544-valgn-02-d-agi-expected.png
LayoutTests/css2.1/t100801-c544-valgn-03-d-agi-expected.checksum
LayoutTests/css2.1/t100801-c544-valgn-03-d-agi-expected.png
LayoutTests/css2.1/t100801-c544-valgn-04-d-agi-expected.checksum
LayoutTests/css2.1/t100801-c544-valgn-04-d-agi-expected.png
LayoutTests/editing/selection/caret-rtl-2-expected.checksum
LayoutTests/editing/selection/caret-rtl-2-expected.png
LayoutTests/editing/selection/caret-rtl-expected.checksum
LayoutTests/editing/selection/caret-rtl-expected.png
LayoutTests/fast/css/rtl-ordering-expected.checksum
LayoutTests/fast/css/rtl-ordering-expected.png
LayoutTests/fast/forms/visual-hebrew-text-field-expected.checksum
LayoutTests/fast/forms/visual-hebrew-text-field-expected.png
LayoutTests/fast/replaced/image-sizing-expected.checksum
LayoutTests/fast/replaced/image-sizing-expected.png
LayoutTests/fast/replaced/maxheight-percent-expected.checksum
LayoutTests/fast/replaced/maxheight-percent-expected.png
LayoutTests/fast/replaced/maxheight-pxs-expected.checksum
LayoutTests/fast/replaced/maxheight-pxs-expected.png
LayoutTests/fast/replaced/maxwidth-percent-expected.checksum
LayoutTests/fast/replaced/maxwidth-percent-expected.png
LayoutTests/fast/replaced/maxwidth-pxs-expected.checksum
LayoutTests/fast/replaced/maxwidth-pxs-expected.png
LayoutTests/fast/text/atsui-spacing-features-expected.checksum
LayoutTests/fast/text/atsui-spacing-features-expected.png
LayoutTests/fast/text/in-rendered-text-rtl-expected.checksum
LayoutTests/fast/text/in-rendered-text-rtl-expected.png
LayoutTests/fast/text/international/bidi-AN-after-L-expected.checksum
LayoutTests/fast/text/international/bidi-AN-after-L-expected.png
LayoutTests/fast/text/international/bidi-L2-run-reordering-expected.checksum
LayoutTests/fast/text/international/bidi-L2-run-reordering-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-CSS-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-HTML-expected.png
LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum
LayoutTests/fast/text/international/bidi-LDB-2-formatting-characters-expected.png
LayoutTests/fast/text/international/bidi-european-terminators-expected.checksum
LayoutTests/fast/text/international/bidi-european-terminators-expected.png
LayoutTests/fast/text/international/bidi-explicit-embedding-expected.checksum
LayoutTests/fast/text/international/bidi-explicit-embedding-expected.png
LayoutTests/fast/text/international/bidi-fallback-font-weight-expected.checksum
LayoutTests/fast/text/international/bidi-fallback-font-weight-expected.png
LayoutTests/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum
LayoutTests/fast/text/international/bidi-ignored-for-first-child-inline-expected.png
LayoutTests/fast/text/international/bidi-innertext-expected.checksum
LayoutTests/fast/text/international/bidi-innertext-expected.png
LayoutTests/fast/text/international/bidi-layout-across-linebreak-expected.checksum
LayoutTests/fast/text/international/bidi-layout-across-linebreak-expected.png
LayoutTests/fast/text/international/bidi-override-expected.checksum
LayoutTests/fast/text/international/bidi-override-expected.png
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-blend-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-blend-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-color-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-color-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-composite-02-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-composite-02-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-displace-01-f-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-example-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-image-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-image-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-light-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-light-01-f-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-offset-01-b-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png
LayoutTests/svg/W3C-SVG-1.1/filters-specular-01-f-expected.checksum
LayoutTests/svg/W3C-SVG-1.1/filters-specular-01-f-expected.png
LayoutTests/svg/custom/feDisplacementMap-01-expected.checksum
LayoutTests/svg/custom/feDisplacementMap-01-expected.png
LayoutTests/svg/custom/filter-source-alpha-expected.checksum
LayoutTests/svg/custom/filter-source-alpha-expected.png
LayoutTests/svg/custom/image-with-transform-clip-filter-expected.checksum
LayoutTests/svg/custom/image-with-transform-clip-filter-expected.png
LayoutTests/svg/custom/inner-percent-expected.checksum
LayoutTests/svg/custom/text-filter-expected.checksum
LayoutTests/svg/custom/text-filter-expected.png
LayoutTests/svg/custom/text-image-opacity-expected.checksum
LayoutTests/svg/custom/text-image-opacity-expected.png
WebKit/ChangeLog
WebKit/WebCoreSupport/WebTextRenderer.m