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

Side by Side Diff: LayoutTests/media/video-no-intrinsic-width-height.html

Issue 38313002: Remove <video> width and height attributes from intrisic size logic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/media/video-no-intrinsic-width-height-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 <script src="../resources/testharness.js"></script>
acolwell GONE FROM CHROMIUM 2013/10/23 23:40:06 nits: please add <html>,<head>, and <body> in the
philipj_slow 2013/10/24 06:07:23 Done.
3 <script src="../resources/testharnessreport.js"></script>
4 <div id="log"></div>
5 <video width=1 height=2 style="width: 100px; height: auto"></video>
6 <script>
7 test(function() {
acolwell GONE FROM CHROMIUM 2013/10/23 23:40:06 nit: { goes on the next line in Blink style.
philipj_slow 2013/10/24 06:07:23 Done.
8 var v = document.querySelector("video");
9 assert_equals(v.clientWidth, 100);
10 assert_equals(v.clientHeight, 50);
acolwell GONE FROM CHROMIUM 2013/10/23 23:40:06 nit: It might be useful to have a comment indicati
philipj_slow 2013/10/24 06:07:23 Done.
11 }, "width/height attributes should not influence intrinsic width/height");
acolwell GONE FROM CHROMIUM 2013/10/23 23:40:06 I think you should also add extra tests that captu
philipj_slow 2013/10/24 06:07:23 Done.
12 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/media/video-no-intrinsic-width-height-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698