Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html |
| diff --git a/third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html b/third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e236e11158875e7e08aeddd4dec31a9a21b1b9ab |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html |
| @@ -0,0 +1,51 @@ |
| +<head> |
|
esprehn
2016/03/29 05:10:31
missing <!DOCTYPE html>
qinmin
2016/03/29 19:23:37
Done.
|
| +<meta name="viewport" content="width=device-width"> |
| +<style> |
| +body { |
| + background-color: black; |
| + margin: 0; |
| +} |
| +.button1 { |
| + display: inline-block; |
| + margin-top: 32px; |
| + padding: 0 16px 0 16px; |
| + height: 36px; |
| + background: #4285F4; |
| + font-family: Roboto; |
| + font-size: 14px; |
| + border-radius: 5px; |
| + color: white; |
| + font-weight: bold; |
| + text-decoration:none; |
| + line-height: 36px; |
| +} |
| + |
| +.div1 { |
| + display: flex; |
| + flex-direction: column; |
| + justify-content: center; |
| + align-items: center; |
| + min-height: min-content; |
| + height: 100%; |
| +} |
| + |
| +.div2 { |
| + text-align: center; |
| + position: absolute; |
| + left: 0; |
| + right: 0; |
| +} |
| + |
| +.video { |
| + height: 1px; |
| + width: 300px; |
| + object-fit: contain; |
| +} |
| +</style> |
| +</head> |
| +<body> |
| +<div class="div1"> |
| +<video controls autoplay class="video"><source src="../../../../../media/content/silence.wav"></video> |
| +<div class="div2"><a href="../../../../../media/content/silence.wav" download class="button1">DOWNLOAD</a></div> |
| +</div> |
| +</body> |