-
mitz@apple.com authored
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: http://svn.webkit.org/repository/webkit/trunk@27617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4a05631a