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

Side by Side Diff: LayoutTests/media/webkit-media-controls-display-expected.html

Issue 716733002: Merge 184652 "Disallow non-flexbox child renderers for RenderMedia" (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/2171/
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <p>Overloading ::-webkit-media-controls display property. PASS if it doesn't cra sh.</p> 2 <p>Overloading ::-webkit-media-controls display property. PASS if it doesn't cra sh.</p>
3 <style> 3 <style>
4 video { width: 200px; height: 30px; } 4 video { width: 200px; height: 30px; }
5 </style> 5 </style>
6 <script> 6 <script>
7 var displayValues = ["-webkit-box", "-webkit-flex", "-webkit-inline-box", 7 var displayValues = ["-webkit-box", "-webkit-flex", "-webkit-inline-box",
8 "-webkit-inline-flex", "block", "flex", "grid", "inline", "inline-block", 8 "-webkit-inline-flex", "block", "flex", "grid", "inline", "inline-block",
9 "inline-flex", "inline-grid", "inline-table", "list-item", "none", "table", 9 "inline-flex", "inline-grid", "inline-table", "list-item", "none", "table",
10 "table-caption", "table-cell", "table-column", "table-column-group", 10 "table-caption", "table-cell", "table-column", "table-column-group",
11 "table-footer-group", "table-header-group", "table-row", "table-row-group"]; 11 "table-footer-group", "table-header-group", "table-row", "table-row-group"];
12 12
13 displayValues.forEach(function(value) { 13 displayValues.forEach(function(value) {
14 var video = document.createElement("video"); 14 var video = document.createElement("video");
15 switch (value) { 15 switch (value) {
16 case "-webkit-flex": 16 case "-webkit-flex":
17 case "-webkit-inline-flex": 17 case "-webkit-inline-flex":
18 case "flex": 18 case "flex":
19 case "inline-flex": 19 case "inline-flex":
20 video.controls = true; 20 video.controls = true;
21 } 21 }
22 document.body.appendChild(video); 22 document.body.appendChild(video);
23 }); 23 });
24 </script> 24 </script>
OLDNEW
« no previous file with comments | « LayoutTests/media/webkit-media-controls-display.html ('k') | LayoutTests/media/webkit-media-controls-webkit-appearance.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698