fast/dom/clone-node-z-index.html fails on Windows - due to differences in how Mac and WIndows print Scientific Notation.
zIndex = "2.0002e+07"
zIndex = "2.0002e+007"
There is one extra 0 in the scientific notation.
There are several places in existing code that uses "%.6lg" to format numbers in css string.
There was a general fix to this problem, the patch does manual number formatting.
1. It avoids cross-platform discrepancies
2. Avoid large integers being formatted as scientific notation.
But it got rolled out because it broke a website
It shows the number formatting could be different on the same platform with different locale. Now, I'm not certain if that could possibly affect scientific notation as well, but from this point of view, we shouldn't be printing the formatted value in the particular test case because the purpose of the test case is to simply validate that the z-index won't be lost.
Created attachment 55195 [details]
Alternative patch to the offending layout test
(so that we don't risk breaking layout tests on every other platform)
Comment on attachment 55195 [details]
Clearing flags on attachment: 55195
Committed r58861: <http://trac.webkit.org/changeset/58861>
All reviewed patches have been landed. Closing bug.