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

Side by Side Diff: LayoutTests/fast/forms/button-with-float-expected.html

Issue 349313007: Style resolver should not add margins to form control elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove wrong CSS properties Created 6 years, 6 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <style> 3 <style>
4 .container { 4 .container {
5 position: relative; 5 position: relative;
6 -webkit-appearance: none; 6 -webkit-appearance: none;
7 border: 1px solid black; 7 border: 1px solid black;
8 padding: 0; 8 padding: 0;
9 background-color: buttonface; 9 background-color: buttonface;
10 float: left; 10 float: left;
11 margin: 2px;
12 } 11 }
13 12
14 .margin { 13 .margin {
15 margin: 5px 10px 5px 5px; 14 margin: 5px 10px 5px 5px;
16 } 15 }
17 .sized { 16 .sized {
18 width: 50px; 17 width: 50px;
19 height: 50px; 18 height: 50px;
20 } 19 }
21 .pink { 20 .pink {
(...skipping 19 matching lines...) Expand all
41 There should be no pink below the blue line. 40 There should be no pink below the blue line.
42 <hr> 41 <hr>
43 <div class="container"> 42 <div class="container">
44 <div class="margin sized float"> 43 <div class="margin sized float">
45 <div class="sized"> 44 <div class="sized">
46 <div class="sized pink"> 45 <div class="sized pink">
47 <div class="line"></div> 46 <div class="line"></div>
48 </div> 47 </div>
49 </div> 48 </div>
50 </div> 49 </div>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/text/text-placeholder-in-flexbox-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698