Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/computed-style-grid-layout.html

Issue 200263003: [CSS Grid Layout] the "grid-template-areas" is not identified as computable property. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added DOCTYPE and html tags to the test. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/computed-style-grid-layout-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <script>
4 var propertiesToTest = {
5 "grid-auto-columns": true,
6 "grid-auto-flow": true,
7 "grid-auto-rows": true,
8 "grid-area": true,
9 "grid-column": true,
10 "grid-column-end": true,
11 "grid-column-start": true,
12 "grid-template-columns": true,
13 "grid-template-rows": true,
14 "grid-row": true,
15 "grid-row-end": true,
16 "grid-row-start": true,
17 "grid-template-areas": true,
18 };
19
20 function test()
21 {
22 if (window.testRunner)
23 testRunner.dumpAsText();
24 var style = document.defaultView.getComputedStyle(document.body, "");
25 var text = "";
26 for (var i = 0; i != style.length; ++i) {
27 var name = style.item(i);
28 if (!propertiesToTest[name])
29 continue;
30 text += name + ": " + style.getPropertyValue(name) + ";\n";
31 }
32 document.getElementById("exposed").textContent = text;
33 }
34 </script>
35 <body onload="test()">
36 <p>CSS Grid Layout Attributes that are exposed in the CSS computed style object: </p>
37 <p id="exposed" style="white-space: pre"></p>
38 </body>
39 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/computed-style-grid-layout-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698