[Web Animations] Implement CSS Animations and CSS Transitions as Web Animations
[WebKit-https.git] / LayoutTests / fast / css-grid-layout / grid-disable.html
1 <!DOCTYPE html>
2 <script>
3 if (window.internals)
4     window.internals.settings.setCSSGridLayoutEnabled(false);
5 </script>
6
7 <div id="grid" style="display: grid"></div>
8 <div id="inlinegrid" style="display: inline-grid"></div>
9
10 <script src="../../resources/js-test-pre.js"></script>
11 <script>
12 description("Verifies that CSS Grid Layout does not work if runtime feature is disabled.");
13
14 shouldBe("document.getElementById('grid').style.display", "''");
15 shouldBe("document.getElementById('inlinegrid').style.display", "''");
16 </script>
17 <script src="../../resources/js-test-post.js"></script>