replaced-element-049.html (467B)
1 <!DOCTYPE html> 2 <title>CSS aspect-ratio: video with controls</title> 3 <link rel="author" title="Oriol Brufau" href="obrufau@igalia.com"> 4 <link rel="help" href="https://drafts.csswg.org/css-sizing-4/#aspect-ratio"> 5 <link rel="help" href="https://github.com/servo/servo/issues/40770"> 6 <link rel="match" href="replaced-element-049-ref.html"> 7 8 <style> 9 video { 10 display: block; 11 border: solid green; 12 width: 300px; 13 aspect-ratio: 1; 14 } 15 </style> 16 <video controls></video>