Changeset 86307 in webkit


Ignore:
Timestamp:
May 11, 2011 10:09:31 PM (13 years ago)
Author:
morrita@google.com
Message:

2011-05-11 MORITA Hajime <morrita@google.com>

Reviewed by Kent Tamura.

Some elements in meter-styles.html are hiding its content part with non-content-area.
https://bugs.webkit.org/show_bug.cgi?id=58149

  • Resized the border and padding values
  • Gave "-webkit-appearance: none" to test that is intended to be painted using shadows.
  • fast/dom/HTMLMeterElement/meter-styles.html:
  • platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
  • platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
  • platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
Location:
trunk/LayoutTests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86298 r86307  
     12011-05-11  MORITA Hajime  <morrita@google.com>
     2
     3        Reviewed by Kent Tamura.
     4
     5        Some elements in meter-styles.html are hiding its content part with non-content-area.
     6        https://bugs.webkit.org/show_bug.cgi?id=58149
     7       
     8        - Resized the border and padding values
     9        - Gave "-webkit-appearance: none" to test that is intended to be painted using shadows.
     10
     11        * fast/dom/HTMLMeterElement/meter-styles.html:
     12        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
     13        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
     14        * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
     15
    1162011-05-11  Kent Tamura  <tkent@chromium.org>
    217
  • trunk/LayoutTests/fast/dom/HTMLMeterElement/meter-styles.html

    r82899 r86307  
    77<style>
    88  meter.usestyle { -webkit-appearance: none; /* this forces styling; */ }
    9   meter.tall { width: 30px; height: 40px; }
     9  meter.tall { width: 30px; height: 40px; -webkit-appearance: none; /* this forces styling; */ }
    1010  ul, h2, p { margin: 0.2em; }
    1111  h1, h2 { font-size: medium; }
     
    3030  <div style="background-color: #eee">
    3131    <ul>
    32       <li><meter style="background-color: #aac; border-color: #224; border-style: solid; border-width: 10px 50px 5px 100px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has border</li>
    33       <li><meter style="background-color: #aac; border-color: #224; padding: 10px 50px 5px 100px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has padding</li>
    34       <li><meter style="background-color: #aac; border-color: #224; margin: 10px 50px 5px 100px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has margin</li>
     32      <li><meter style="background-color: #aac; border-color: #224; border-style: solid; border-width: 5px 20px 5px 10px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has border</li>
     33      <li><meter style="background-color: #aac; border-color: #224; padding: 5px 20px 5px 10px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has padding</li>
     34      <li><meter style="background-color: #aac; border-color: #224; margin:  5px 20px 5px 10px;" min="0" max="100" low="30" high="60" optimum="100" value="80" ></meter> has margin</li>
    3535    </ul>
    3636  </div>
  • trunk/LayoutTests/platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt

    r82899 r86307  
    2424        RenderListItem {LI} at (43,21) size 732x41
    2525          RenderMeter {METER} at (0,0) size 30x40
     26            RenderBlock {DIV} at (0,0) size 30x40
     27              RenderBlock {DIV} at (0,0) size 7x40
    2628          RenderText {#text} at (30,23) size 4x18
    2729            text run at (30,23) width 4: " "
    2830          RenderMeter {METER} at (34,0) size 30x40
     31            RenderBlock {DIV} at (0,0) size 30x40
     32              RenderBlock {DIV} at (0,0) size 13x40
    2933          RenderText {#text} at (64,23) size 4x18
    3034            text run at (64,23) width 4: " "
    3135          RenderMeter {METER} at (68,0) size 30x40
     36            RenderBlock {DIV} at (0,0) size 30x40
     37              RenderBlock {DIV} at (0,0) size 22x40
    3238      RenderBlock {H2} at (3,86) size 778x18
    3339        RenderText {#text} at (0,0) size 150x18
    3440          text run at (0,0) width 150: "Providing meter styles"
    35       RenderBlock {DIV} at (0,107) size 784x74 [bgcolor=#EEEEEE]
    36         RenderBlock {UL} at (3,0) size 778x74
     41      RenderBlock {DIV} at (0,107) size 784x69 [bgcolor=#EEEEEE]
     42        RenderBlock {UL} at (3,0) size 778x69
    3743          RenderListItem {LI} at (43,0) size 732x18
    38             RenderMeter {METER} at (0,1) size 150x16 [bgcolor=#AAAACC] [border: (10px solid #222244) (50px solid #222244) (5px solid #222244) (100px solid #222244)]
    39               RenderBlock {DIV} at (100,10) size 0x1
    40                 RenderBlock {DIV} at (0,0) size 0x1
    41             RenderText {#text} at (150,0) size 70x18
    42               text run at (150,0) width 70: " has border"
     44            RenderMeter {METER} at (0,1) size 80x16 [bgcolor=#AAAACC] [border: (5px solid #222244) (20px solid #222244) (5px solid #222244) (10px solid #222244)]
     45              RenderBlock {DIV} at (10,5) size 50x6
     46                RenderBlock {DIV} at (0,0) size 40x6
     47            RenderText {#text} at (80,0) size 70x18
     48              text run at (80,0) width 70: " has border"
    4349          RenderListItem {LI} at (43,21) size 732x18
    44             RenderMeter {METER} at (0,1) size 150x16 [bgcolor=#AAAACC]
    45               RenderBlock {DIV} at (100,10) size 0x1
    46                 RenderBlock {DIV} at (0,0) size 0x1
    47             RenderText {#text} at (150,0) size 80x18
    48               text run at (150,0) width 80: " has padding"
    49           RenderListItem {LI} at (43,42) size 732x32
    50             RenderMeter {METER} at (100,10) size 80x16 [bgcolor=#AAAACC]
     50            RenderMeter {METER} at (0,1) size 80x16 [bgcolor=#AAAACC]
     51              RenderBlock {DIV} at (10,5) size 50x6
     52                RenderBlock {DIV} at (0,0) size 40x6
     53            RenderText {#text} at (80,0) size 80x18
     54              text run at (80,0) width 80: " has padding"
     55          RenderListItem {LI} at (43,42) size 732x27
     56            RenderMeter {METER} at (10,5) size 80x16 [bgcolor=#AAAACC]
    5157              RenderBlock {DIV} at (0,0) size 80x16
    5258                RenderBlock {DIV} at (0,0) size 64x16
    53             RenderText {#text} at (230,14) size 73x18
    54               text run at (230,14) width 73: " has margin"
    55       RenderBlock {H2} at (3,184) size 778x18
     59            RenderText {#text} at (110,9) size 73x18
     60              text run at (110,9) width 73: " has margin"
     61      RenderBlock {H2} at (3,179) size 778x18
    5662        RenderText {#text} at (0,0) size 224x18
    5763          text run at (0,0) width 224: "Providing bar and/or value styles"
    58       RenderBlock {DIV} at (0,205) size 784x165 [bgcolor=#EEEEEE]
     64      RenderBlock {DIV} at (0,200) size 784x165 [bgcolor=#EEEEEE]
    5965        RenderBlock {UL} at (3,0) size 778x81
    6066          RenderBlock (anonymous) at (40,0) size 738x18
     
    95101            RenderText {#text} at (80,0) size 235x18
    96102              text run at (80,0) width 235: " should have solid bar and value part."
    97       RenderBlock {H2} at (3,373) size 778x18
     103      RenderBlock {H2} at (3,368) size 778x18
    98104        RenderText {#text} at (0,0) size 156x18
    99105          text run at (0,0) width 156: "Providing appearances"
    100       RenderBlock {DIV} at (0,394) size 784x39 [bgcolor=#EEEEEE]
     106      RenderBlock {DIV} at (0,389) size 784x39 [bgcolor=#EEEEEE]
    101107        RenderBlock {UL} at (3,0) size 778x39
    102108          RenderListItem {LI} at (43,0) size 732x18
     
    110116            RenderText {#text} at (80,0) size 276x18
    111117              text run at (80,0) width 276: " has \"meter\" appearance, should be themed."
    112       RenderBlock {H2} at (3,436) size 778x18
     118      RenderBlock {H2} at (3,431) size 778x18
    113119        RenderText {#text} at (0,0) size 161x18
    114120          text run at (0,0) width 161: "Providing bar paddings"
    115       RenderBlock {DIV} at (0,457) size 784x18 [bgcolor=#EEEEEE]
     121      RenderBlock {DIV} at (0,452) size 784x18 [bgcolor=#EEEEEE]
    116122        RenderMeter {METER} at (0,1) size 80x16
    117123          RenderBlock {DIV} at (0,0) size 80x16
Note: See TracChangeset for help on using the changeset viewer.