WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 22:59:42 +0000 (22:59 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Nov 2007 22:59:42 +0000 (22:59 +0000)
commit25770abd72cd4a8fb5da6dd7acd7240b634716da
treef05934d2cf2667a69602bc685ead2fe55c8e5cdf
parent818f7f78f9d3830d1122d4b261ea168de7fb6ead
WebCore:

        Reviewed by Beth Dakin.

        - fix <rdar://problem/5491922> REGRESSION (Safari 2-3): Flash-based "Cash Optimizer" on etrade.com does not draw completely

        Test: fast/dom/length-attribute-mapping.html

        * dom/StyledElement.cpp:
        (WebCore::StyledElement::addCSSLength): Changed the garbage-stripping
        logic to stop after the first "%" or "*" in the string. This allows for
        "100%25" to be mapped to "100%" like it is in Firefox and WinIE.

LayoutTests:

        Reviewed by Beth Dakin.

        - test for <rdar://problem/5491922> REGRESSION (Safari 2-3): Flash-based "Cash Optimizer" on etrade.com does not draw completely

        * fast/dom/length-attribute-mapping-expected.txt: Added.
        * fast/dom/length-attribute-mapping.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/length-attribute-mapping-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/length-attribute-mapping.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/dom/StyledElement.cpp