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

Side by Side Diff: LayoutTests/fast/forms/control-clip.html

Issue 1006023002: Button elements are clipping overflow by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/control-clip-overflow.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <head> 1 <head>
2 <title></title> 2 <title></title>
3 <style> 3 <style>
4 button { border-color: yellow; outline: 2px dashed; padding: 10px; width : 100px; height: 50px; -webkit-appearance: none; } 4 button { border-color: yellow; outline: 2px dashed; padding: 10px; width : 100px; height: 50px; -webkit-appearance: none; }
5 div.block { outline: 2px dotted blue; border: 2px solid purple; width: 7 0px; height: 200px; background: teal; } 5 div.block { outline: 2px dotted blue; border: 2px solid purple; width: 7 0px; height: 200px; background: teal; }
6 div.float { float: right; height: 100px; width: 20px; background: darkgr een; } 6 div.float { float: right; height: 100px; width: 20px; background: darkgr een; }
7 </style> 7 </style>
8 </head> 8 </head>
9 <body> 9 <body>
10 <p> 10 <p>
11 Tests that buttons clip their contents. 11 Tests that buttons clip their contents.
12 </p> 12 </p>
13 <p> 13 <p>
14 Each button below should have a yellow border and a black dashed outline . 14 Each button below should have a yellow border and a black dashed outline .
15 Contents should not overflow the yellow border. 15 Contents should overflow the yellow border.
16 </p> 16 </p>
17 <p> 17 <p>
18 <button> 18 <button>
19 <div class="block"> 19 <div class="block">
20 <div class="float"></div> 20 <div class="float"></div>
21 short words only please 21 short words only please
22 </div> 22 </div>
23 </button> 23 </button>
24 </p> 24 </p>
25 <button style="display: block;"> 25 <button style="display: block;">
26 <div class="block"> 26 <div class="block">
27 <div class="float"></div> 27 <div class="float"></div>
28 short words only please 28 short words only please
29 </div> 29 </div>
30 </button> 30 </button>
31 <p> 31 <p>
32 <button style="position: absolute;"> 32 <button style="position: absolute;">
33 <div class="block"> 33 <div class="block">
34 <div class="float"></div> 34 <div class="float"></div>
35 short words only please 35 short words only please
36 </div> 36 </div>
37 </button> 37 </button>
38 </p> 38 </p>
39 </body> 39 </body>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/control-clip-overflow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698