<!DOCTYPE html> <script> function boom() { var r = document.documentElement; r.style.display = "table-cell"; r.style.transitionProperty = "x"; window.getComputedStyle(r).transitionProperty; } </script> <body onload="boom();"></body>