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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/android/media/mediadocument/resources/standalone-audio.html

Issue 1780043002: Add download button to MediaDocument on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and use shadow root Created 4 years, 8 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
OLDNEW
(Empty)
1 <head>
2 <meta name="viewport" content="width=device-width">
3 <style>
4 body {
5 background-color: black;
6 margin: 0;
7 }
8 .button1 {
9 display: inline-block;
10 margin-top: 32px;
11 padding: 0 16px 0 16px;
12 height: 36px;
13 background: #4285F4;
14 font-family: Roboto;
15 font-size: 14px;
16 border-radius: 5px;
17 color: white;
18 font-weight: bold;
19 text-decoration:none;
20 min-width: 300px;
21 line-height: 36px;
22 }
23
24 .div1 {
25 display: flex;
26 flex-direction: column;
27 justify-content: center;
28 align-items: center;
29 min-height: min-content;
30 height: 100%;
31 }
32
33 .div2 {
34 text-align: center;
35 position: absolute;
36 left: 0;
37 right: 0;
38 }
39
40 .video {
41 height: 1px;
42 width: 300px;
43 object-fit: contain;
44 }
45 </style>
46 </head>
47 <body>
48 <div class="div1">
49 <video controls autoplay class="video"><source src="../../../../../media/content /silence.wav"></video>
50 <div class="div2"><a href="../../../../../media/content/silence.wav" download cl ass="button1">SAVE</a></div>
51 </div>
52 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698