WebKit+SVG and FireFox disagree on invalid "transform" handling
After my fixes as part of 6061, there is now one case in which WebKit+SVG and FireFox still disagree on
WebKit+SVG will respect any valid transforms up-to, but not including the first invalid transform
instruction in a transform="..." attribute.
FireFox will ignore the entire transform attribute if any of the transform instructions are invalid.
Created attachment 5075 [details]
Safari+SVG "passes" this test and FireFox "fails". Eventually we should
resolve this discrepancy. The w3c does not specify which should be correct,
however I may ask them to as part of Tiny 1.2 last call.
Per SVG Tiny 1.2, the entire attribute should be ignored.
Created attachment 11729 [details]
This patch makes us match FF behaviour here.
Created attachment 11753 [details]
I had one big logic error in SVGTextElement.cpp, fixed now. Also added updated results for transform-ignore-after-invalid.svg. Finally some code cleanups.
Comment on attachment 11753 [details]
Looks good. r=me
Landed in r18074.