Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!doctype html> |
michael@0 | 2 | <!-- |
michael@0 | 3 | https://bugzilla.mozilla.org/show_bug.cgi?id=732153 |
michael@0 | 4 | --> |
michael@0 | 5 | <title>Test for Bug 732153</title> |
michael@0 | 6 | <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 7 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
michael@0 | 8 | <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=732153">Mozilla Bug 732153</a> |
michael@0 | 9 | <div></div> |
michael@0 | 10 | <script> |
michael@0 | 11 | var div = document.querySelector("div"); |
michael@0 | 12 | [ |
michael@0 | 13 | "", |
michael@0 | 14 | "backface-visibility: hidden", |
michael@0 | 15 | "transform-style: preserve-3d", |
michael@0 | 16 | "backface-visibility: hidden; transform-style: preserve-3d", |
michael@0 | 17 | ].forEach(function(style) { |
michael@0 | 18 | div.setAttribute("style", style); |
michael@0 | 19 | is(getComputedStyle(div).transform, "none", |
michael@0 | 20 | "Computed 'transform' with style=\"" + style + '"'); |
michael@0 | 21 | }); |
michael@0 | 22 | </script> |