When importing a W3C test, the import script reformats the HTML, which adds new lines and indentation. In some cases, this can break tests. The importer should not change the formatting of tests that it imports.
It looks like it may also break inline styles, so that should be tested for along with this fix,
Created attachment 209685 [details] Patch Rewrite test conversion to miminimize reformatting when rewriting tests.
Hm, I was hoping this would be a simple patch, but it isn't, and so I'm gonna need more than a couple minutes to review it. I will try to look at this as soon as I get the time ...
(In reply to comment #3) > Hm, I was hoping this would be a simple patch, but it isn't, and so I'm gonna need more than a couple minutes to review it. I will try to look at this as soon as I get the time ... Unfortunately, I couldn't come up with a simple way to do it. Happy to wait until you have time, I'm not blocked on it.
Comment on attachment 209685 [details] Patch looks plausible. Sorry for the long delay.
Comment on attachment 209685 [details] Patch Clearing flags on attachment: 209685 Committed r156074: <http://trac.webkit.org/changeset/156074>
All reviewed patches have been landed. Closing bug.