Changeset 62981 in webkit


Ignore:
Timestamp:
Jul 9, 2010 12:53:52 PM (14 years ago)
Author:
thakis@chromium.org
Message:

2010-07-09 Nico Weber <thakis@chromium.org>

Reviewed by Simon Fraser.
https://bugs.webkit.org/show_bug.cgi?id=41580

Fix layout test to be smaller in y direction. Also add explanatory text.

  • fast/gradients/radial-centered.html: Make divs display:inline-block.
Location:
trunk/LayoutTests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r62979 r62981  
     12010-07-09  Nico Weber  <thakis@chromium.org>
     2
     3        Reviewed by Simon Fraser.
     4        https://bugs.webkit.org/show_bug.cgi?id=41580
     5
     6        Fix layout test to be smaller in y direction. Also add explanatory text.
     7
     8        * fast/gradients/radial-centered.html: Make divs display:inline-block.
     9
    1102010-07-09  Xiaomei Ji  <xji@chromium.org>
    211
  • trunk/LayoutTests/fast/gradients/radial-centered.html

    r62753 r62981  
    11<head>
    22<style>
    3 .radial1 { width:150px; height:150px; border:2px solid black;
     3div { display:inline-block; }
     4.radial1 { width:150px; height:150px;
    45           background: -webkit-gradient(radial, 75 75, 20, 75 75, 60, from(green), to(black)); }
    5 .radial2 { width:150px; height:150px; border:2px solid black;
     6.radial2 { width:150px; height:150px;
    67           background: -webkit-gradient(radial, 75 75, 60, 75 75, 20, from(black), to(green)); }
    7 .radial3 { width:150px; height:150px; border:2px solid black;
     8.radial3 { width:150px; height:150px;
    89           background: -webkit-gradient(radial, 75 75, 0, 75 75, 60, from(green), to(black)); }
    9 .radial4 { width:150px; height:150px; border:2px solid black;
     10.radial4 { width:150px; height:150px;
    1011           background: -webkit-gradient(radial, 75 75, 60, 75 75, 0, from(black), to(green)); }
    1112</style>
    1213</head>
    1314<body>
     15The test passes if all four boxes have a radial gradient that's green in the center and black at the edge.
    1416<h1>Radial Gradients With One Center, Inner Radius > 0</h1>
    1517<div class="radial1"></div>
  • trunk/LayoutTests/platform/mac/fast/gradients/radial-centered-expected.checksum

    r62860 r62981  
    1 9fd792c2cfcd8c71d2613ffe6cb7eb45
     1020752ae888330d2ac71a78d6a886884
  • trunk/LayoutTests/platform/mac/fast/gradients/radial-centered-expected.txt

    r62860 r62981  
    1 layer at (0,0) size 785x769
    2   RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x769
    4   RenderBlock {HTML} at (0,0) size 785x769
    5     RenderBody {BODY} at (8,8) size 769x753
    6       RenderBlock {H1} at (0,0) size 769x37
     1layer at (0,0) size 800x600
     2  RenderView at (0,0) size 800x600
     3layer at (0,0) size 800x600
     4  RenderBlock {HTML} at (0,0) size 800x600
     5    RenderBody {BODY} at (8,8) size 784x584
     6      RenderBlock (anonymous) at (0,0) size 784x18
     7        RenderText {#text} at (0,0) size 633x18
     8          text run at (0,0) width 633: "The test passes if all four boxes have a radial gradient that's green in the center and black at the edge."
     9      RenderBlock {H1} at (0,39) size 784x37
    710        RenderText {#text} at (0,0) size 727x37
    811          text run at (0,0) width 727: "Radial Gradients With One Center, Inner Radius > 0"
    9       RenderBlock {DIV} at (0,58) size 154x154 [border: (2px solid #000000)]
    10       RenderBlock {DIV} at (0,212) size 154x154 [border: (2px solid #000000)]
    11       RenderBlock {H1} at (0,387) size 769x37
     12      RenderBlock (anonymous) at (0,97) size 784x154
     13        RenderBlock {DIV} at (0,0) size 150x150
     14        RenderText {#text} at (150,136) size 4x18
     15          text run at (150,136) width 4: " "
     16        RenderBlock {DIV} at (154,0) size 150x150
     17        RenderText {#text} at (0,0) size 0x0
     18      RenderBlock {H1} at (0,272) size 784x37
    1219        RenderText {#text} at (0,0) size 643x37
    1320          text run at (0,0) width 643: "Radial Gradients With One, Inner Radius == 0"
    14       RenderBlock {DIV} at (0,445) size 154x154 [border: (2px solid #000000)]
    15       RenderBlock {DIV} at (0,599) size 154x154 [border: (2px solid #000000)]
     21      RenderBlock (anonymous) at (0,330) size 784x154
     22        RenderBlock {DIV} at (0,0) size 150x150
     23        RenderText {#text} at (150,136) size 4x18
     24          text run at (150,136) width 4: " "
     25        RenderBlock {DIV} at (154,0) size 150x150
     26        RenderText {#text} at (0,0) size 0x0
Note: See TracChangeset for help on using the changeset viewer.