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

Side by Side Diff: LayoutTests/fast/replaced/container-width-zero.html

Issue 253743008: Don't use intrinsic width if our container's width is zero. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #leftBar {
6 margin-right: 2500px;
7 }
8 #largeVideo {
9 width: 100%;
10 background-color: red;
11 }
12 </style>
13 <script src="../../resources/check-layout.js"></script>
14 </head>
15 <body>
16 <p> crbug.com/235189: If our container's width is zero, then so is ours: there should be no red.<p>
17 <div id="leftBar">
18 <video id="largeVideo" data-expected-width=0></video>
19 </div>
20 <script>
21 checkLayout('#largeVideo');
22 </script>
23 </body>
24 </html>
25
26
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/replaced/container-width-zero-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698