Changeset 49567 in webkit


Ignore:
Timestamp:
Oct 14, 2009 9:26:38 AM (15 years ago)
Author:
Nate Chapin
Message:

2009-10-14 Victor Wang <victorw@chromium.org>

Reviewed by David Hyatt.

Round non-integer line height values.

Change webkit to rounding non-integer line height values
instead of truncating them. This fixes a layout test
failure on Windows and matches the calculation in IE and Firefox.

https://bugs.webkit.org/show_bug.cgi?id=24434

Location:
trunk
Files:
2 added
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r49564 r49567  
     12009-10-14  Victor Wang  <victorw@chromium.org>
     2
     3        Reviewed by David Hyatt.
     4
     5        Round non-integer line height values and update layout tests affected.
     6
     7        -. Change webkit to rounding non-integer line height values
     8           instead of truncating them. This fixes a layout test
     9           failure on Windows and matches the calculation in IE and Firefox.
     10
     11        -. Update layout tests affected by changing line height calculation.
     12           Fix the font size in font.html. The font computed pixel size should
     13           be 10px instead of 9.6px (computedPixelSize in FontDescription.h)
     14           and line height should be 25, not 24.
     15
     16        https://bugs.webkit.org/show_bug.cgi?id=24434
     17
     18        * css1/font_properties/font.html:
     19        * fast/css/line-height-rounding-expected.txt: Added.
     20        * fast/css/line-height-rounding.html: Added.
     21        * platform/mac/css1/font_properties/font-expected.txt:
     22        * platform/mac/css2.1/t090501-c414-flt-ln-00-d-expected.txt:
     23        * platform/mac/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt:
     24        * platform/mac/css2.1/t090501-c414-flt-ln-02-d-expected.txt:
     25        * platform/mac/css2.1/t090501-c414-flt-ln-03-d-expected.txt:
     26        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum:
     27        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
     28        * platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
     29        * platform/mac/svg/custom/svg-fonts-in-html-expected.checksum:
     30        * platform/mac/svg/custom/svg-fonts-in-html-expected.png:
     31        * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
     32
    1332009-10-14  Brady Eidson  <beidson@apple.com>
    234
     
    68096841        Reviewed by Dan Bernstein.
    68106842
    6811         <rdar://problem/7047282> Safari crashes at WebCore::RenderMenuList::adjustInnerStyle() + 436
     6843        <rdar://problem/7047282> Safari crashes at WebCore::RenderMenuList::adjustInnerStyle() 436
    68126844
    68136845        Test that changes the <select> from a popup to a list inside a mouse event handler.
     
    12619126512009-08-05  Xan Lopez  <xlopez@igalia.com>
    1262012652
    12621         Skip new test using eventSender, since the GTK+ port does not have
     12653        Skip new test using eventSender, since the GTKport does not have
    1262212654        it yet.
    1262312655
  • trunk/LayoutTests/css1/font_properties/font.html

    r11995 r49567  
    6969</P>
    7070<P class="ten">
    71 This element should be in a sans-serif font, with a weight of 400.  Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px.  Extra text is included for the purposes of testing this more effectively.
     71This element should be in a sans-serif font, with a weight of 400.  Its font-size should be 80% of 12px, or 10px, and its line-height shoud be 2.5 times that, or 25px.  Extra text is included for the purposes of testing this more effectively.
    7272</P>
    7373
     
    115115</P>
    116116<P class="ten">
    117 This element should be in a sans-serif font, with a weight of 400.  Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px.  Extra text is included for the purposes of testing this more effectively.
     117This element should be in a sans-serif font, with a weight of 400.  Its font-size should be 80% of 12px, or 10px, and its line-height shoud be 2.5 times that, or 25px.  Extra text is included for the purposes of testing this more effectively.
    118118</P>
    119119
  • trunk/LayoutTests/platform/mac/css1/font_properties/font-expected.txt

    r25970 r49567  
    1 layer at (0,0) size 785x4266
     1layer at (0,0) size 785x4268
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x4266
    4   RenderBlock {HTML} at (0,0) size 785x4266
    5     RenderBody {BODY} at (8,8) size 769x4250 [bgcolor=#CCCCCC]
     3layer at (0,0) size 785x4268
     4  RenderBlock {HTML} at (0,0) size 785x4268
     5    RenderBody {BODY} at (8,8) size 769x4252 [bgcolor=#CCCCCC]
    66      RenderBlock {P} at (0,0) size 769x14
    77        RenderText {#text} at (0,0) size 264x14
     
    107107          text run at (0,115) width 93: "effectively."
    108108      RenderBlock {P} at (0,1519) size 769x50
    109         RenderText {#text} at (0,6) size 754x37
     109        RenderText {#text} at (0,6) size 751x37
    110110          text run at (0,6) width 301: "This element should be in a sans-serif font, with a weight of 400. "
    111           text run at (301,6) width 453: "Its font-size should be 80% of 12px, or 9.6px, and its line-height shoud be 2.5 times that, or 24px."
     111          text run at (301,6) width 450: "Its font-size should be 80% of 12px, or 10px, and its line-height shoud be 2.5 times that, or 25px."
    112112          text run at (0,31) width 318: "Extra text is included for the purposes of testing this more effectively."
    113113      RenderBlock {P} at (0,1587) size 769x216
     
    120120            text run at (0,178) width 679: "on an inline element and should therefore only cover the text, not the interline spacing."
    121121        RenderText {#text} at (0,0) size 0x0
    122       RenderTable {TABLE} at (0,1821) size 769x2429 [border: (1px outset #808080)]
    123         RenderTableSection {TBODY} at (1,1) size 767x2427
     122      RenderTable {TABLE} at (0,1821) size 769x2431 [border: (1px outset #808080)]
     123        RenderTableSection {TBODY} at (1,1) size 767x2429
    124124          RenderTableRow {TR} at (0,0) size 767x26
    125125            RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
     
    127127                RenderText {#text} at (4,4) size 163x18
    128128                  text run at (4,4) width 163: "TABLE Testing Section"
    129           RenderTableRow {TR} at (0,26) size 767x2401
    130             RenderTableCell {TD} at (0,1213) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
     129          RenderTableRow {TR} at (0,26) size 767x2403
     130            RenderTableCell {TD} at (0,1214) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    131131              RenderText {#text} at (4,4) size 4x18
    132132                text run at (4,4) width 4: " "
    133             RenderTableCell {TD} at (12,26) size 755x2401 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
     133            RenderTableCell {TD} at (12,26) size 755x2403 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
    134134              RenderBlock {P} at (4,4) size 747x36
    135135                RenderText {#text} at (0,0) size 732x36
     
    209209                  text run at (176,79) width 500: "Extra text is included for the purposes of testing this more"
    210210                  text run at (0,115) width 93: "effectively."
    211               RenderBlock {P} at (4,1877) size 747x64
    212                 RenderText {#text} at (0,8) size 714x47
    213                   text run at (0,8) width 378: "This element should be in a sans-serif font, with a weight of 400. "
    214                   text run at (378,8) width 336: "Its font-size should be 80% of 12px, or 9.6px, and its line-"
    215                   text run at (0,40) width 235: "height shoud be 2.5 times that, or 24px. "
    216                   text run at (235,40) width 405: "Extra text is included for the purposes of testing this more effectively."
    217               RenderBlock {P} at (4,1965) size 747x432
     211              RenderBlock {P} at (4,1877) size 747x66
     212                RenderText {#text} at (0,9) size 745x48
     213                  text run at (0,9) width 378: "This element should be in a sans-serif font, with a weight of 400. "
     214                  text run at (378,9) width 367: "Its font-size should be 80% of 12px, or 10px, and its line-height"
     215                  text run at (0,42) width 196: "shoud be 2.5 times that, or 25px. "
     216                  text run at (196,42) width 405: "Extra text is included for the purposes of testing this more effectively."
     217              RenderBlock {P} at (4,1967) size 747x432
    218218                RenderInline {SPAN} at (0,0) size 716x388 [bgcolor=#C0C0C0]
    219219                  RenderText {#text} at (0,22) size 716x388
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-ln-00-d-expected.txt

    r25970 r49567  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x484
    4   RenderBlock {HTML} at (0,0) size 800x484
    5     RenderBody {BODY} at (8,16) size 784x452
     3layer at (0,0) size 800x501
     4  RenderBlock {HTML} at (0,0) size 800x501
     5    RenderBody {BODY} at (8,16) size 784x469
    66      RenderBlock {P} at (0,0) size 784x54 [color=#000080]
    77        RenderText {#text} at (0,0) size 778x54
     
    1313          text run at (0,36) width 111: "the bottom of the "
    1414          text run at (111,36) width 137: "respective small box)."
    15       RenderBlock {DIV} at (16,70) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
     15      RenderBlock {DIV} at (16,70) size 752x399 [color=#C0C0C0] [border: (5px solid #800080)]
    1616        RenderText {#text} at (171,22) size 474x18
    1717          text run at (171,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     
    2121        RenderText {#text} at (663,22) size 4x18
    2222          text run at (663,22) width 4: " "
    23         RenderBlock (floating) {P} at (21,21) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
     23        RenderBlock (floating) {P} at (21,21) size 150x59 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    2424          RenderText {#text} at (19,20) size 48x18
    2525            text run at (19,20) width 48: "AAAA"
    26         RenderText {#text} at (667,22) size 544x38
     26        RenderText {#text} at (667,22) size 544x39
    2727          text run at (667,22) width 48: "dummy"
    28           text run at (171,42) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     28          text run at (171,43) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    2929        RenderInline {SPAN} at (0,0) size 17x24 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    30           RenderText {#text} at (596,42) size 11x18
    31             text run at (596,42) width 11: "B"
    32         RenderText {#text} at (610,42) size 4x18
    33           text run at (610,42) width 4: " "
    34         RenderBlock (floating) {P} at (581,61) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
     30          RenderText {#text} at (596,43) size 11x18
     31            text run at (596,43) width 11: "B"
     32        RenderText {#text} at (610,43) size 4x18
     33          text run at (610,43) width 4: " "
     34        RenderBlock (floating) {P} at (581,63) size 150x59 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    3535          RenderText {#text} at (19,20) size 44x18
    3636            text run at (19,20) width 44: "BBBB"
    37         RenderText {#text} at (614,42) size 707x318
    38           text run at (614,42) width 75: "dummy text"
    39           text run at (171,62) width 391: "dummy text dummy text dummy text dummy text dummy text"
    40           text run at (21,82) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    41           text run at (495,82) width 75: "dummy text"
    42           text run at (21,102) width 395: "dummy text dummy text dummy text dummy text dummy text "
    43           text run at (416,102) width 154: "dummy text dummy text"
    44           text run at (21,122) width 316: "dummy text dummy text dummy text dummy text "
    45           text run at (337,122) width 391: "dummy text dummy text dummy text dummy text dummy text"
    46           text run at (21,142) width 79: "dummy text "
    47           text run at (100,142) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    48           text run at (574,142) width 154: "dummy text dummy text"
    49           text run at (21,162) width 316: "dummy text dummy text dummy text dummy text "
    50           text run at (337,162) width 391: "dummy text dummy text dummy text dummy text dummy text"
    51           text run at (21,182) width 79: "dummy text "
    52           text run at (100,182) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    53           text run at (574,182) width 154: "dummy text dummy text"
    54           text run at (21,202) width 316: "dummy text dummy text dummy text dummy text "
    55           text run at (337,202) width 391: "dummy text dummy text dummy text dummy text dummy text"
    56           text run at (21,222) width 79: "dummy text "
    57           text run at (100,222) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    58           text run at (574,222) width 154: "dummy text dummy text"
    59           text run at (21,242) width 316: "dummy text dummy text dummy text dummy text "
    60           text run at (337,242) width 391: "dummy text dummy text dummy text dummy text dummy text"
    61           text run at (21,262) width 79: "dummy text "
    62           text run at (100,262) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    63           text run at (574,262) width 154: "dummy text dummy text"
    64           text run at (21,282) width 316: "dummy text dummy text dummy text dummy text "
    65           text run at (337,282) width 391: "dummy text dummy text dummy text dummy text dummy text"
    66           text run at (21,302) width 79: "dummy text "
    67           text run at (100,302) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    68           text run at (574,302) width 154: "dummy text dummy text"
    69           text run at (21,322) width 316: "dummy text dummy text dummy text dummy text "
    70           text run at (337,322) width 391: "dummy text dummy text dummy text dummy text dummy text"
    71           text run at (21,342) width 75: "dummy text"
     37        RenderText {#text} at (614,43) size 707x333
     38          text run at (614,43) width 75: "dummy text"
     39          text run at (171,64) width 391: "dummy text dummy text dummy text dummy text dummy text"
     40          text run at (21,85) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     41          text run at (495,85) width 75: "dummy text"
     42          text run at (21,106) width 395: "dummy text dummy text dummy text dummy text dummy text "
     43          text run at (416,106) width 154: "dummy text dummy text"
     44          text run at (21,127) width 316: "dummy text dummy text dummy text dummy text "
     45          text run at (337,127) width 391: "dummy text dummy text dummy text dummy text dummy text"
     46          text run at (21,148) width 79: "dummy text "
     47          text run at (100,148) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     48          text run at (574,148) width 154: "dummy text dummy text"
     49          text run at (21,169) width 316: "dummy text dummy text dummy text dummy text "
     50          text run at (337,169) width 391: "dummy text dummy text dummy text dummy text dummy text"
     51          text run at (21,190) width 79: "dummy text "
     52          text run at (100,190) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     53          text run at (574,190) width 154: "dummy text dummy text"
     54          text run at (21,211) width 316: "dummy text dummy text dummy text dummy text "
     55          text run at (337,211) width 391: "dummy text dummy text dummy text dummy text dummy text"
     56          text run at (21,232) width 79: "dummy text "
     57          text run at (100,232) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     58          text run at (574,232) width 154: "dummy text dummy text"
     59          text run at (21,253) width 316: "dummy text dummy text dummy text dummy text "
     60          text run at (337,253) width 391: "dummy text dummy text dummy text dummy text dummy text"
     61          text run at (21,274) width 79: "dummy text "
     62          text run at (100,274) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     63          text run at (574,274) width 154: "dummy text dummy text"
     64          text run at (21,295) width 316: "dummy text dummy text dummy text dummy text "
     65          text run at (337,295) width 391: "dummy text dummy text dummy text dummy text dummy text"
     66          text run at (21,316) width 79: "dummy text "
     67          text run at (100,316) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     68          text run at (574,316) width 154: "dummy text dummy text"
     69          text run at (21,337) width 316: "dummy text dummy text dummy text dummy text "
     70          text run at (337,337) width 391: "dummy text dummy text dummy text dummy text dummy text"
     71          text run at (21,358) width 75: "dummy text"
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt

    r25970 r49567  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x484
    4   RenderBlock {HTML} at (0,0) size 800x484
    5     RenderBody {BODY} at (8,16) size 784x452
     3layer at (0,0) size 800x503
     4  RenderBlock {HTML} at (0,0) size 800x503
     5    RenderBody {BODY} at (8,16) size 784x471
    66      RenderBlock {P} at (0,0) size 784x54 [color=#000080]
    77        RenderText {#text} at (0,0) size 769x54
     
    1313          text run at (0,36) width 104: "respective small "
    1414          text run at (104,36) width 33: "box)."
    15       RenderBlock {DIV} at (16,70) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
    16         RenderText {#text} at (133,22) size 474x18
    17           text run at (133,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     15      RenderBlock {DIV} at (16,70) size 752x401 [color=#C0C0C0] [border: (5px solid #800080)]
     16        RenderText {#text} at (133,23) size 474x18
     17          text run at (133,23) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    1818        RenderInline {SPAN} at (0,0) size 22x24 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    19           RenderText {#text} at (610,22) size 16x18
    20             text run at (610,22) width 16: "\x{21E6}"
    21         RenderText {#text} at (629,22) size 4x18
    22           text run at (629,22) width 4: " "
     19          RenderText {#text} at (610,23) size 16x18
     20            text run at (610,23) width 16: "\x{21E6}"
     21        RenderText {#text} at (629,23) size 4x18
     22          text run at (629,23) width 4: " "
    2323        RenderImage {IMG} at (21,21) size 112x112 [color=#FF0000]
    24         RenderText {#text} at (633,22) size 575x38
    25           text run at (633,22) width 75: "dummy text"
    26           text run at (133,42) width 395: "dummy text dummy text dummy text dummy text dummy text "
     24        RenderText {#text} at (633,23) size 575x40
     25          text run at (633,23) width 75: "dummy text"
     26          text run at (133,45) width 395: "dummy text dummy text dummy text dummy text dummy text "
    2727        RenderInline {SPAN} at (0,0) size 22x24 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    28           RenderText {#text} at (531,42) size 16x18
    29             text run at (531,42) width 16: "\x{21E8}"
    30         RenderText {#text} at (550,42) size 4x18
    31           text run at (550,42) width 4: " "
    32         RenderImage {IMG} at (619,41) size 112x112 [color=#FF0000]
    33         RenderText {#text} at (554,42) size 707x318
    34           text run at (554,42) width 48: "dummy"
    35           text run at (133,62) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    36           text run at (555,62) width 48: "dummy"
    37           text run at (133,82) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    38           text run at (555,82) width 48: "dummy"
    39           text run at (133,102) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    40           text run at (555,102) width 48: "dummy"
    41           text run at (133,122) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    42           text run at (555,122) width 48: "dummy"
    43           text run at (21,142) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    44           text run at (443,142) width 154: "dummy text dummy text"
    45           text run at (21,162) width 316: "dummy text dummy text dummy text dummy text "
    46           text run at (337,162) width 391: "dummy text dummy text dummy text dummy text dummy text"
    47           text run at (21,182) width 79: "dummy text "
    48           text run at (100,182) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    49           text run at (574,182) width 154: "dummy text dummy text"
    50           text run at (21,202) width 316: "dummy text dummy text dummy text dummy text "
    51           text run at (337,202) width 391: "dummy text dummy text dummy text dummy text dummy text"
    52           text run at (21,222) width 79: "dummy text "
    53           text run at (100,222) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    54           text run at (574,222) width 154: "dummy text dummy text"
    55           text run at (21,242) width 316: "dummy text dummy text dummy text dummy text "
    56           text run at (337,242) width 391: "dummy text dummy text dummy text dummy text dummy text"
    57           text run at (21,262) width 79: "dummy text "
    58           text run at (100,262) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    59           text run at (574,262) width 154: "dummy text dummy text"
    60           text run at (21,282) width 316: "dummy text dummy text dummy text dummy text "
    61           text run at (337,282) width 391: "dummy text dummy text dummy text dummy text dummy text"
    62           text run at (21,302) width 79: "dummy text "
    63           text run at (100,302) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    64           text run at (574,302) width 154: "dummy text dummy text"
    65           text run at (21,322) width 316: "dummy text dummy text dummy text dummy text "
    66           text run at (337,322) width 391: "dummy text dummy text dummy text dummy text dummy text"
    67           text run at (21,342) width 75: "dummy text"
     28          RenderText {#text} at (531,45) size 16x18
     29            text run at (531,45) width 16: "\x{21E8}"
     30        RenderText {#text} at (550,45) size 4x18
     31          text run at (550,45) width 4: " "
     32        RenderImage {IMG} at (619,43) size 112x112 [color=#FF0000]
     33        RenderText {#text} at (554,45) size 707x333
     34          text run at (554,45) width 48: "dummy"
     35          text run at (133,66) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     36          text run at (555,66) width 48: "dummy"
     37          text run at (133,87) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     38          text run at (555,87) width 48: "dummy"
     39          text run at (133,108) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     40          text run at (555,108) width 48: "dummy"
     41          text run at (133,129) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     42          text run at (555,129) width 48: "dummy"
     43          text run at (21,150) width 422: "text dummy text dummy text dummy text dummy text dummy text "
     44          text run at (443,150) width 154: "dummy text dummy text"
     45          text run at (21,171) width 316: "dummy text dummy text dummy text dummy text "
     46          text run at (337,171) width 391: "dummy text dummy text dummy text dummy text dummy text"
     47          text run at (21,192) width 79: "dummy text "
     48          text run at (100,192) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     49          text run at (574,192) width 154: "dummy text dummy text"
     50          text run at (21,213) width 316: "dummy text dummy text dummy text dummy text "
     51          text run at (337,213) width 391: "dummy text dummy text dummy text dummy text dummy text"
     52          text run at (21,234) width 79: "dummy text "
     53          text run at (100,234) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     54          text run at (574,234) width 154: "dummy text dummy text"
     55          text run at (21,255) width 316: "dummy text dummy text dummy text dummy text "
     56          text run at (337,255) width 391: "dummy text dummy text dummy text dummy text dummy text"
     57          text run at (21,276) width 79: "dummy text "
     58          text run at (100,276) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     59          text run at (574,276) width 154: "dummy text dummy text"
     60          text run at (21,297) width 316: "dummy text dummy text dummy text dummy text "
     61          text run at (337,297) width 391: "dummy text dummy text dummy text dummy text dummy text"
     62          text run at (21,318) width 79: "dummy text "
     63          text run at (100,318) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     64          text run at (574,318) width 154: "dummy text dummy text"
     65          text run at (21,339) width 316: "dummy text dummy text dummy text dummy text "
     66          text run at (337,339) width 391: "dummy text dummy text dummy text dummy text dummy text"
     67          text run at (21,360) width 75: "dummy text"
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-ln-02-d-expected.txt

    r25970 r49567  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x544
    4   RenderBlock {HTML} at (0,0) size 800x544
    5     RenderBody {BODY} at (8,16) size 784x512
     3layer at (0,0) size 800x564
     4  RenderBlock {HTML} at (0,0) size 800x564
     5    RenderBody {BODY} at (8,16) size 784x532
    66      RenderBlock {P} at (0,0) size 784x54 [color=#000080]
    77        RenderText {#text} at (0,0) size 778x54
     
    1313          text run at (0,36) width 121: "possible below the "
    1414          text run at (121,36) width 70: "small box)."
    15       RenderBlock {DIV} at (16,70) size 752x442 [color=#C0C0C0] [border: (5px solid #800080)]
     15      RenderBlock {DIV} at (16,70) size 752x462 [color=#C0C0C0] [border: (5px solid #800080)]
    1616        RenderText {#text} at (21,22) size 553x18
    1717          text run at (21,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     
    2222        RenderText {#text} at (592,22) size 4x18
    2323          text run at (592,22) width 4: " "
    24         RenderBlock (floating) {P} at (21,41) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
     24        RenderBlock (floating) {P} at (21,42) size 150x59 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    2525          RenderText {#text} at (19,20) size 48x18
    2626            text run at (19,20) width 48: "AAAA"
    27         RenderText {#text} at (596,22) size 552x38
     27        RenderText {#text} at (596,22) size 552x39
    2828          text run at (596,22) width 127: "dummy text dummy"
    29           text run at (171,42) width 343: "text dummy text dummy text dummy text dummy text "
     29          text run at (171,43) width 343: "text dummy text dummy text dummy text dummy text "
    3030        RenderInline {SPAN} at (0,0) size 14x24 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    31           RenderText {#text} at (517,42) size 11x18
    32             text run at (517,42) width 11: "B"
     31          RenderText {#text} at (517,43) size 11x18
     32            text run at (517,43) width 11: "B"
    3333        RenderText {#text} at (0,0) size 0x0
    34         RenderBlock (floating) {P} at (581,41) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
     34        RenderBlock (floating) {P} at (581,42) size 150x59 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    3535          RenderText {#text} at (19,20) size 44x18
    3636            text run at (19,20) width 44: "BBBB"
    37         RenderText {#text} at (321,62) size 237x18
    38           text run at (321,62) width 237: "dummy text dummy text dummy text "
     37        RenderText {#text} at (321,64) size 237x18
     38          text run at (321,64) width 237: "dummy text dummy text dummy text "
    3939        RenderInline {SPAN} at (0,0) size 14x24 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
    40           RenderText {#text} at (561,62) size 11x18
    41             text run at (561,62) width 11: "C"
     40          RenderText {#text} at (561,64) size 11x18
     41            text run at (561,64) width 11: "C"
    4242        RenderText {#text} at (0,0) size 0x0
    43         RenderBlock (floating) {P} at (171,61) size 150x58 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
     43        RenderBlock (floating) {P} at (171,63) size 150x59 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
    4444          RenderText {#text} at (19,20) size 44x18
    4545            text run at (19,20) width 44: "CCCC"
    46         RenderText {#text} at (321,82) size 387x38
    47           text run at (321,82) width 233: "dummy text dummy text dummy text"
    48           text run at (471,102) width 237: "dummy text dummy text dummy text "
     46        RenderText {#text} at (321,85) size 387x39
     47          text run at (321,85) width 233: "dummy text dummy text dummy text"
     48          text run at (471,106) width 237: "dummy text dummy text dummy text "
    4949        RenderInline {SPAN} at (0,0) size 15x24 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
    50           RenderText {#text} at (711,102) size 12x18
    51             text run at (711,102) width 12: "D"
     50          RenderText {#text} at (711,106) size 12x18
     51            text run at (711,106) width 12: "D"
    5252        RenderText {#text} at (0,0) size 0x0
    53         RenderBlock (floating) {P} at (321,101) size 150x58 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
     53        RenderBlock (floating) {P} at (321,105) size 150x59 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
    5454          RenderText {#text} at (19,20) size 48x18
    5555            text run at (19,20) width 48: "DDDD"
    56         RenderText {#text} at (471,122) size 707x298
    57           text run at (471,122) width 233: "dummy text dummy text dummy text"
    58           text run at (471,142) width 233: "dummy text dummy text dummy text"
    59           text run at (21,162) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    60           text run at (495,162) width 233: "dummy text dummy text dummy text"
    61           text run at (21,182) width 237: "dummy text dummy text dummy text "
    62           text run at (258,182) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    63           text run at (21,202) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    64           text run at (495,202) width 233: "dummy text dummy text dummy text"
    65           text run at (21,222) width 237: "dummy text dummy text dummy text "
    66           text run at (258,222) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    67           text run at (21,242) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    68           text run at (495,242) width 233: "dummy text dummy text dummy text"
    69           text run at (21,262) width 237: "dummy text dummy text dummy text "
    70           text run at (258,262) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    71           text run at (21,282) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    72           text run at (495,282) width 233: "dummy text dummy text dummy text"
    73           text run at (21,302) width 237: "dummy text dummy text dummy text "
    74           text run at (258,302) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    75           text run at (21,322) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    76           text run at (495,322) width 233: "dummy text dummy text dummy text"
    77           text run at (21,342) width 237: "dummy text dummy text dummy text "
    78           text run at (258,342) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    79           text run at (21,362) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    80           text run at (495,362) width 233: "dummy text dummy text dummy text"
    81           text run at (21,382) width 237: "dummy text dummy text dummy text "
    82           text run at (258,382) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
    83           text run at (21,402) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     56        RenderText {#text} at (471,127) size 707x312
     57          text run at (471,127) width 233: "dummy text dummy text dummy text"
     58          text run at (471,148) width 233: "dummy text dummy text dummy text"
     59          text run at (21,169) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     60          text run at (495,169) width 233: "dummy text dummy text dummy text"
     61          text run at (21,190) width 237: "dummy text dummy text dummy text "
     62          text run at (258,190) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     63          text run at (21,211) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     64          text run at (495,211) width 233: "dummy text dummy text dummy text"
     65          text run at (21,232) width 237: "dummy text dummy text dummy text "
     66          text run at (258,232) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     67          text run at (21,253) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     68          text run at (495,253) width 233: "dummy text dummy text dummy text"
     69          text run at (21,274) width 237: "dummy text dummy text dummy text "
     70          text run at (258,274) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     71          text run at (21,295) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     72          text run at (495,295) width 233: "dummy text dummy text dummy text"
     73          text run at (21,316) width 237: "dummy text dummy text dummy text "
     74          text run at (258,316) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     75          text run at (21,337) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     76          text run at (495,337) width 233: "dummy text dummy text dummy text"
     77          text run at (21,358) width 237: "dummy text dummy text dummy text "
     78          text run at (258,358) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     79          text run at (21,379) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     80          text run at (495,379) width 233: "dummy text dummy text dummy text"
     81          text run at (21,400) width 237: "dummy text dummy text dummy text "
     82          text run at (258,400) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
     83          text run at (21,421) width 470: "dummy text dummy text dummy text dummy text dummy text dummy text"
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-ln-03-d-expected.txt

    r25970 r49567  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x464
    4   RenderBlock {HTML} at (0,0) size 800x464
    5     RenderBody {BODY} at (8,16) size 784x432
     3layer at (0,0) size 800x480
     4  RenderBlock {HTML} at (0,0) size 800x480
     5    RenderBody {BODY} at (8,16) size 784x448
    66      RenderBlock {P} at (0,0) size 784x54 [color=#000080]
    77        RenderText {#text} at (0,0) size 778x54
     
    1313          text run at (0,36) width 121: "possible below the "
    1414          text run at (121,36) width 70: "small box)."
    15       RenderBlock {DIV} at (16,70) size 752x362 [color=#C0C0C0] [border: (5px solid #800080)]
     15      RenderBlock {DIV} at (16,70) size 752x378 [color=#C0C0C0] [border: (5px solid #800080)]
    1616        RenderText {#text} at (171,22) size 316x18
    1717          text run at (171,22) width 316: "dummy text dummy text dummy text dummy text "
     
    2121        RenderText {#text} at (505,22) size 4x18
    2222          text run at (505,22) width 4: " "
    23         RenderBlock (floating) {P} at (21,21) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
     23        RenderBlock (floating) {P} at (21,21) size 150x59 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    2424          RenderText {#text} at (19,20) size 48x18
    2525            text run at (19,20) width 48: "AAAA"
     
    3030        RenderText {#text} at (526,22) size 4x18
    3131          text run at (526,22) width 4: " "
    32         RenderBlock (floating) {P} at (581,21) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
     32        RenderBlock (floating) {P} at (581,21) size 150x59 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    3333          RenderText {#text} at (19,20) size 44x18
    3434            text run at (19,20) width 44: "BBBB"
    35         RenderText {#text} at (530,22) size 707x318
     35        RenderText {#text} at (530,22) size 707x333
    3636          text run at (530,22) width 48: "dummy"
    37           text run at (171,42) width 391: "text dummy text dummy text dummy text dummy text dummy"
    38           text run at (171,62) width 27: "text "
    39           text run at (198,62) width 364: "dummy text dummy text dummy text dummy text dummy"
    40           text run at (21,82) width 106: "text dummy text "
    41           text run at (127,82) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    42           text run at (601,82) width 127: "dummy text dummy"
    43           text run at (21,102) width 343: "text dummy text dummy text dummy text dummy text "
    44           text run at (364,102) width 364: "dummy text dummy text dummy text dummy text dummy"
    45           text run at (21,122) width 106: "text dummy text "
    46           text run at (127,122) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    47           text run at (601,122) width 127: "dummy text dummy"
    48           text run at (21,142) width 343: "text dummy text dummy text dummy text dummy text "
    49           text run at (364,142) width 364: "dummy text dummy text dummy text dummy text dummy"
    50           text run at (21,162) width 106: "text dummy text "
    51           text run at (127,162) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    52           text run at (601,162) width 127: "dummy text dummy"
    53           text run at (21,182) width 343: "text dummy text dummy text dummy text dummy text "
    54           text run at (364,182) width 364: "dummy text dummy text dummy text dummy text dummy"
    55           text run at (21,202) width 106: "text dummy text "
    56           text run at (127,202) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    57           text run at (601,202) width 127: "dummy text dummy"
    58           text run at (21,222) width 343: "text dummy text dummy text dummy text dummy text "
    59           text run at (364,222) width 364: "dummy text dummy text dummy text dummy text dummy"
    60           text run at (21,242) width 106: "text dummy text "
    61           text run at (127,242) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    62           text run at (601,242) width 127: "dummy text dummy"
    63           text run at (21,262) width 343: "text dummy text dummy text dummy text dummy text "
    64           text run at (364,262) width 364: "dummy text dummy text dummy text dummy text dummy"
    65           text run at (21,282) width 106: "text dummy text "
    66           text run at (127,282) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    67           text run at (601,282) width 127: "dummy text dummy"
    68           text run at (21,302) width 343: "text dummy text dummy text dummy text dummy text "
    69           text run at (364,302) width 364: "dummy text dummy text dummy text dummy text dummy"
    70           text run at (21,322) width 102: "text dummy text"
     37          text run at (171,43) width 391: "text dummy text dummy text dummy text dummy text dummy"
     38          text run at (171,64) width 27: "text "
     39          text run at (198,64) width 364: "dummy text dummy text dummy text dummy text dummy"
     40          text run at (21,85) width 106: "text dummy text "
     41          text run at (127,85) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     42          text run at (601,85) width 127: "dummy text dummy"
     43          text run at (21,106) width 343: "text dummy text dummy text dummy text dummy text "
     44          text run at (364,106) width 364: "dummy text dummy text dummy text dummy text dummy"
     45          text run at (21,127) width 106: "text dummy text "
     46          text run at (127,127) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     47          text run at (601,127) width 127: "dummy text dummy"
     48          text run at (21,148) width 343: "text dummy text dummy text dummy text dummy text "
     49          text run at (364,148) width 364: "dummy text dummy text dummy text dummy text dummy"
     50          text run at (21,169) width 106: "text dummy text "
     51          text run at (127,169) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     52          text run at (601,169) width 127: "dummy text dummy"
     53          text run at (21,190) width 343: "text dummy text dummy text dummy text dummy text "
     54          text run at (364,190) width 364: "dummy text dummy text dummy text dummy text dummy"
     55          text run at (21,211) width 106: "text dummy text "
     56          text run at (127,211) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     57          text run at (601,211) width 127: "dummy text dummy"
     58          text run at (21,232) width 343: "text dummy text dummy text dummy text dummy text "
     59          text run at (364,232) width 364: "dummy text dummy text dummy text dummy text dummy"
     60          text run at (21,253) width 106: "text dummy text "
     61          text run at (127,253) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     62          text run at (601,253) width 127: "dummy text dummy"
     63          text run at (21,274) width 343: "text dummy text dummy text dummy text dummy text "
     64          text run at (364,274) width 364: "dummy text dummy text dummy text dummy text dummy"
     65          text run at (21,295) width 106: "text dummy text "
     66          text run at (127,295) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
     67          text run at (601,295) width 127: "dummy text dummy"
     68          text run at (21,316) width 343: "text dummy text dummy text dummy text dummy text "
     69          text run at (364,316) width 364: "dummy text dummy text dummy text dummy text dummy"
     70          text run at (21,337) width 102: "text dummy text"
  • trunk/LayoutTests/platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.checksum

    r38008 r49567  
    1 02d6337b033863d06052de3b78597d86
     153f3eb75f9a6563791fa4d8613d7f46c
  • trunk/LayoutTests/platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt

    r42840 r49567  
    1 layer at (0,0) size 1026x1014
     1layer at (0,0) size 1026x1035
    22  RenderView at (0,0) size 785x585
    3 layer at (0,0) size 1026x1014
    4   RenderBlock {HTML} at (0,0) size 785x1014
    5     RenderBody {BODY} at (8,16) size 769x994
    6       RenderBlock {DIV} at (16,0) size 737x60
    7         RenderBlock {P} at (0,0) size 737x20
     3layer at (0,0) size 1026x1035
     4  RenderBlock {HTML} at (0,0) size 785x1035
     5    RenderBody {BODY} at (8,16) size 769x1015
     6      RenderBlock {DIV} at (16,0) size 737x63
     7        RenderBlock {P} at (0,0) size 737x21
    88          RenderInline {A} at (0,0) size 90x18 [color=#0000EE]
    99            RenderText {#text} at (267,1) size 90x18
     
    1414            RenderText {#text} at (368,1) size 102x18
    1515              text run at (368,1) width 102: "Basic version"
    16         RenderBlock {P} at (0,20) size 737x20
     16        RenderBlock {P} at (0,21) size 737x21
    1717          RenderText {#text} at (182,1) size 143x18
    1818            text run at (182,1) width 143: "Specification link: "
     
    2020            RenderText {#text} at (325,1) size 230x18
    2121              text run at (325,1) width 230: "3.4 How groups are rendered"
    22         RenderBlock {P} at (0,40) size 737x20
     22        RenderBlock {P} at (0,42) size 737x21
    2323          RenderInline {A} at (0,0) size 206x18 [color=#0000EE]
    2424            RenderText {#text} at (148,1) size 206x18
     
    3535              text run at (408,1) width 180: "\x{2192} script-handle-01-b"
    3636          RenderText {#text} at (0,0) size 0x0
    37       RenderTable {TABLE} at (0,64) size 1018x550
    38         RenderTableSection {TBODY} at (0,0) size 1018x550
    39           RenderTableRow {TR} at (0,0) size 1018x550
    40             RenderTableCell {TD} at (0,0) size 1018x550 [r=0 c=0 rs=1 cs=3]
    41               RenderTable {TABLE} at (10,10) size 998x530
    42                 RenderTableSection {TBODY} at (0,0) size 998x530
     37      RenderTable {TABLE} at (0,67) size 1018x552
     38        RenderTableSection {TBODY} at (0,0) size 1018x552
     39          RenderTableRow {TR} at (0,0) size 1018x552
     40            RenderTableCell {TD} at (0,0) size 1018x552 [r=0 c=0 rs=1 cs=3]
     41              RenderTable {TABLE} at (10,10) size 998x532
     42                RenderTableSection {TBODY} at (0,0) size 998x532
    4343                  RenderTableRow {TR} at (0,2) size 998x106
    4444                    RenderTableCell {TD} at (2,2) size 994x106 [r=0 c=0 rs=1 cs=2]
     
    4646                        RenderText {#text} at (312,5) size 354x38
    4747                          text run at (312,5) width 354: "render-groups-01-b"
    48                   RenderTableRow {TR} at (0,110) size 998x36 [color=#FFFFFF] [bgcolor=#000000]
    49                     RenderTableCell {TD} at (2,110) size 496x36 [r=1 c=0 rs=1 cs=1]
     48                  RenderTableRow {TR} at (0,110) size 998x37 [color=#FFFFFF] [bgcolor=#000000]
     49                    RenderTableCell {TD} at (2,110) size 496x37 [r=1 c=0 rs=1 cs=1]
    5050                      RenderText {#text} at (203,9) size 89x18
    5151                        text run at (203,9) width 89: "SVG Image"
    52                     RenderTableCell {TD} at (500,110) size 496x36 [r=1 c=1 rs=1 cs=1]
     52                    RenderTableCell {TD} at (500,110) size 496x37 [r=1 c=1 rs=1 cs=1]
    5353                      RenderText {#text} at (202,9) size 91x18
    5454                        text run at (202,9) width 91: "PNG Image"
    55                   RenderTableRow {TR} at (0,148) size 998x380
    56                     RenderTableCell {TD} at (2,148) size 496x380 [r=2 c=0 rs=1 cs=1]
     55                  RenderTableRow {TR} at (0,149) size 998x381
     56                    RenderTableCell {TD} at (2,149) size 496x381 [r=2 c=0 rs=1 cs=1]
    5757                      RenderPartObject {EMBED} at (8,8) size 480x360
    5858                        layer at (0,0) size 480x360
     
    8484                            RenderPath {rect} at (0.50,0.50) size 479x359 [stroke={[type=SOLID] [color=#000000]}] [data="M1.00,1.00 L479.00,1.00 L479.00,359.00 L1.00,359.00 Z"]
    8585                      RenderText {#text} at (0,0) size 0x0
    86                     RenderTableCell {TD} at (500,148) size 496x380 [r=2 c=1 rs=1 cs=1]
     86                    RenderTableCell {TD} at (500,149) size 496x381 [r=2 c=1 rs=1 cs=1]
    8787                      RenderImage {IMG} at (8,8) size 480x360
    8888                      RenderText {#text} at (0,0) size 0x0
    89       RenderBlock {DIV} at (23,625) size 723x333
    90         RenderBlock {P} at (0,0) size 723x40
    91           RenderText {#text} at (0,1) size 720x38
     89      RenderBlock {DIV} at (23,630) size 723x348
     90        RenderBlock {P} at (0,0) size 723x42
     91          RenderText {#text} at (0,1) size 720x39
    9292            text run at (0,1) width 720: "Verifies implicit rendering order (paragraph 3.3) and grouping mechanism (paragraphs 3.4)."
    93             text run at (0,21) width 433: "It also validates basic Shape, Image and text rendering."
    94         RenderBlock {P} at (0,51) size 723x160
    95           RenderText {#text} at (0,1) size 711x158
     93            text run at (0,22) width 433: "It also validates basic Shape, Image and text rendering."
     94        RenderBlock {P} at (0,53) size 723x168
     95          RenderText {#text} at (0,1) size 711x165
    9696            text run at (0,1) width 154: "This test renders 3 "
    9797            text run at (154,1) width 275: "elements: a text string \"SVG\", then "
    9898            text run at (429,1) width 276: "a shape, then an image. Because of"
    99             text run at (0,21) width 386: "their definition order and coordinates, the image "
    100             text run at (386,21) width 325: "should be on top of the rectangle and the"
    101             text run at (0,41) width 259: "rectangle on top of the text. The "
    102             text run at (259,41) width 408: "test validates that groups are conceptually rendered"
    103             text run at (0,61) width 183: "offscreen before being "
    104             text run at (183,61) width 464: "rendered on the canvas. This is done by grouping the same"
    105             text run at (0,81) width 193: "overlapping objects and "
    106             text run at (193,81) width 473: "rendering the group at half opacity. The background pattern"
    107             text run at (0,101) width 188: "(vertical stripes) should "
    108             text run at (188,101) width 498: "show throw all the group elements. However, none of the \"SVG\""
    109             text run at (0,121) width 202: "should show through the "
    110             text run at (202,121) width 480: "rectangle and none of the rectangle should show through the"
    111             text run at (0,141) width 53: "image."
    112         RenderBlock {P} at (0,222) size 723x80
    113           RenderText {#text} at (0,1) size 718x78
     99            text run at (0,22) width 386: "their definition order and coordinates, the image "
     100            text run at (386,22) width 325: "should be on top of the rectangle and the"
     101            text run at (0,43) width 259: "rectangle on top of the text. The "
     102            text run at (259,43) width 408: "test validates that groups are conceptually rendered"
     103            text run at (0,64) width 183: "offscreen before being "
     104            text run at (183,64) width 464: "rendered on the canvas. This is done by grouping the same"
     105            text run at (0,85) width 193: "overlapping objects and "
     106            text run at (193,85) width 473: "rendering the group at half opacity. The background pattern"
     107            text run at (0,106) width 188: "(vertical stripes) should "
     108            text run at (188,106) width 498: "show throw all the group elements. However, none of the \"SVG\""
     109            text run at (0,127) width 202: "should show through the "
     110            text run at (202,127) width 480: "rectangle and none of the rectangle should show through the"
     111            text run at (0,148) width 53: "image."
     112        RenderBlock {P} at (0,232) size 723x84
     113          RenderText {#text} at (0,1) size 718x81
    114114            text run at (0,1) width 626: "Prerequisites: the test assumes proper handling of the fill stroke, stroke-width, "
    115115            text run at (626,1) width 61: "opacity,"
    116             text run at (0,21) width 641: "font-size rendering properties. It uses the rect, line, text and image elements, as "
    117             text run at (641,21) width 77: "well as all"
    118             text run at (0,41) width 603: "the elements required for the test template. To ensure that the text string is "
    119             text run at (603,41) width 111: "overlapped by"
    120             text run at (0,61) width 661: "the other elements and to avoid a dependency on system fonts, an SVG font is used."
    121         RenderBlock {P} at (0,313) size 723x20
     116            text run at (0,22) width 641: "font-size rendering properties. It uses the rect, line, text and image elements, as "
     117            text run at (641,22) width 77: "well as all"
     118            text run at (0,43) width 603: "the elements required for the test template. To ensure that the text string is "
     119            text run at (603,43) width 111: "overlapped by"
     120            text run at (0,64) width 661: "the other elements and to avoid a dependency on system fonts, an SVG font is used."
     121        RenderBlock {P} at (0,327) size 723x21
    122122          RenderText {#text} at (0,1) size 494x18
    123123            text run at (0,1) width 494: "The rendered image should match the reference image exactly."
    124       RenderBlock {DIV} at (16,974) size 737x20
    125         RenderBlock {P} at (0,0) size 737x20
     124      RenderBlock {DIV} at (16,994) size 737x21
     125        RenderBlock {P} at (0,0) size 737x21
    126126          RenderInline {A} at (0,0) size 206x18 [color=#0000EE]
    127127            RenderText {#text} at (148,1) size 206x18
     
    138138              text run at (408,1) width 180: "\x{2192} script-handle-01-b"
    139139          RenderText {#text} at (0,0) size 0x0
    140 scrolled to 0,429
     140scrolled to 0,450
  • trunk/LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.checksum

    r38008 r49567  
    1 81565beca8cbbefe41ef1bd6a16ee351
     14cf3848efefdd7b4d77a0d1f1b49e079
  • trunk/LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.txt

    r37328 r49567  
    2020    RenderBlock {DIV} at (0,0) size 453x0
    2121      RenderInline {SPAN} at (0,0) size 0x0
    22 layer at (173,47) size 453x189
    23   RenderBlock (positioned) {H1} at (0,15) size 453x188 [color=#DD9955]
    24     RenderInline {SPAN} at (0,0) size 340x190
    25       RenderText {#text} at (63,-1) size 340x190
    26         text run at (63,-1) width 327: "CSS ZEN"
    27         text run at (56,93) width 340: "GARDEN"
     22layer at (173,47) size 453x191
     23  RenderBlock (positioned) {H1} at (0,15) size 453x190 [color=#DD9955]
     24    RenderInline {SPAN} at (0,0) size 340x191
     25      RenderText {#text} at (63,0) size 340x191
     26        text run at (63,0) width 327: "CSS ZEN"
     27        text run at (56,95) width 340: "GARDEN"
    2828layer at (173,118) size 453x20
    2929  RenderBlock (positioned) {H2} at (0,86) size 453x20 [color=#EEFF00]
  • trunk/WebCore/ChangeLog

    r49565 r49567  
     12009-10-14  Victor Wang  <victorw@chromium.org>
     2
     3        Reviewed by David Hyatt.
     4
     5        Round non-integer line height values.
     6
     7        Change webkit to rounding non-integer line height values
     8        instead of truncating them. This fixes a layout test
     9        failure on Windows and matches the calculation in IE and Firefox.
     10
     11        https://bugs.webkit.org/show_bug.cgi?id=24434
     12
     13        Test: fast/css/line-height-rounding.html
     14              fast/forms/textarea-scrollbar-height.htm
     15
     16        * css/CSSComputedStyleDeclaration.cpp:
     17        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
     18        * rendering/InlineFlowBox.cpp:
     19        (WebCore::InlineFlowBox::computeLogicalBoxHeights):
     20        * rendering/RenderBR.cpp:
     21        (WebCore::RenderBR::lineHeight):
     22        * rendering/style/RenderStyle.h:
     23        (WebCore::InheritedFlags::computedLineHeight):
     24
    1252009-10-13  Kelly Norton  <knorton@google.com>
    226
     
    10701094        is 512K on ia32 or 1M on x64, but the worker process runs workers
    10711095        on a thread with the OS X default stack size--512K. Because there
    1072         are already some C++ frames on the stack when V8 establishes its
     1096        are already some C+frames on the stack when V8 establishes its
    10731097        512K default stack limit, and V8 doesn't precisely enforce the
    10741098        stack limit, runaway recursion in V8 workers overflows the OS
     
    10781102        This patch sets the V8 stack limit for worker JavaScript in
    10791103        Chromium to a more conservative 500K on all platforms. This allows
    1080         some "headroom" for the C++ stack in use when the limit is set up,
     1104        some "headroom" for the C+stack in use when the limit is set up,
    10811105        and some "legroom" for the V8 helper functions which in practice
    10821106        briefly flout the V8 stack limit.
     
    11121136
    11131137        * bindings/scripts/CodeGenerator.pm: Add a function to determine the
    1114         appropriate C++ namespace for attribute name constants.
     1138        appropriate C+namespace for attribute name constants.
    11151139        * bindings/scripts/CodeGeneratorObjC.pm: Generate ExceptionCode handling
    11161140        code for [Reflect] on an attribute with a setter exception.
     
    225022742009-10-07  Xan Lopez  <xlopez@igalia.com>
    22512275
    2252         Fix more breakage in the GTK+ build.
     2276        Fix more breakage in the GTKbuild.
    22532277
    22542278        * GNUmakefile.am:
     
    26962720        Reviewed by Adam Barth.
    26972721
    2698         Fetch pointers to C++ DOM window immediately from holder
     2722        Fetch pointers to C+DOM window immediately from holder
    26992723        object (do not search prototype chain for proper JS wrapper).
    27002724        https://bugs.webkit.org/show_bug.cgi?id=29031
     
    288629102009-10-06  Xan Lopez  <xlopez@igalia.com>
    28872911
    2888         Try to fix the GTK+ build.
     2912        Try to fix the GTKbuild.
    28892913
    28902914        * GNUmakefile.am:
     
    57795803
    57805804        auto = optimizeSpeed = what we normally when the value's not set
    5781         optimizeLegibility = geometricPrecision = ligatures + kerning
     5805        optimizeLegibility = geometricPrecision = ligatures kerning
    57825806
    57835807        Add new file TextRenderingMode.h to the project files.
     
    59395963           prevent listeners from being collected.
    59405964         o All variats of getEventListener function grouped in V8DOMWrapper.
    5941          o Pointers to C++ EventListener wrappers are stored in JS objects
     5965         o Pointers to C+EventListener wrappers are stored in JS objects
    59425966           instead of event listener lists.
    59435967        https://bugs.webkit.org/show_bug.cgi?id=29825
     
    81968220        alive due to the change above.
    81978221        (WebCore::NamedNodeMap::addAttribute): Fix function name in comment.
    8198         (WebCore::NamedNodeMap::removeAttribute): Removed unneeded "+ 1" and added
     8222        (WebCore::NamedNodeMap::removeAttribute): Removed unneeded "1" and added
    81998223        missing braces.
    82008224
     
    83198343        a solid background color the new paragraph did not have the element with the solid color in the tree.
    83208344        2. in some circumstances it generated more markup than the original paragraph had (a span with bold, italic,
    8321         background color and some font attribute was being reproduced as span + bold + italic + font as separate tags.
     8345        background color and some font attribute was being reproduced as span bold italic font as separate tags.
    83228346        The new approach is to recreate in the new paragraph the same hierarchy of nodes found in the
    83238347        paragraph where the insertion point is.
     
    86558679        Reviewed by Oliver Hunt.
    86568680
    8657         Implement correct horizontal scrollbar behavior for GTK+ also on
     8681        Implement correct horizontal scrollbar behavior for GTKalso on
    86588682        styled scrollbars.
    86598683
     
    10529105532009-09-19  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    1053010554
    10531         Unreviewed build fix for GTK+ and a blind one for Qt after r48566.
     10555        Unreviewed build fix for GTKand a blind one for Qt after r48566.
    1053210556
    1053310557        * GNUmakefile.am:
     
    1128311307
    1128411308        <rdar://problem/7007541>
    11285         CrashTracer: 4800+ crashes in Safari at com.apple.WebKit • WTF::HashTableIterator...
     11309        CrashTracer: 4800crashes in Safari at com.apple.WebKit • WTF::HashTableIterator...
    1128611310       
    1128711311        Make RuntimeObjectImp more robust against m_instance being a null (which can happen if an OOP plug-in
     
    1256512589        Reviewed by Dan Bernstein.
    1256612590
    12567         <rdar://problem/7047282> Safari crashes at WebCore::RenderMenuList::adjustInnerStyle() + 436
     12591        <rdar://problem/7047282> Safari crashes at WebCore::RenderMenuList::adjustInnerStyle() 436
    1256812592       
    1256912593        Avoid a crash when a mouse event handler on a <select> changes the select from a popup
     
    1358113605        Reviewed by Gustavo Noronha.
    1358213606
    13583         Build fix for GTK+ after r48267.
     13607        Build fix for GTKafter r48267.
    1358413608
    1358513609        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
     
    14622146462009-09-08  Xan Lopez  <xlopez@igalia.com>
    1462314647
    14624         Unreviewed attempt to fix the GTK+ build.
     14648        Unreviewed attempt to fix the GTKbuild.
    1462514649
    1462614650        * GNUmakefile.am:
     
    2028820312        * platform/graphics/gtk/MediaPlayerPrivateGStreamer.h:
    2028920313        * platform/graphics/gtk/VideoSinkGStreamer.cpp:
    20290         (webkit_video_sink_idle_func): Use C++ casts, decrease reference count of async
     20314        (webkit_video_sink_idle_func): Use C+casts, decrease reference count of async
    2029120315        queue at the end of the idle function.
    2029220316        (webkit_video_sink_render): Increase reference count of async queue.
     
    2204922073        Reviewed by Eric Seidel.
    2205022074
    22051         Add 'icu::' qualifier when refering to ICU C++ names to the other
     22075        Add 'icu::' qualifier when refering to ICU C+names to the other
    2205222076        file with this issue missed in the previous check-in.
    2205322077
     
    2233222356        Reviewed by Eric Seidel
    2233322357
    22334         Add 'icu::' qualifier when refering to ICU C++ names.
     22358        Add 'icu::' qualifier when refering to ICU C+names.
    2233522359
    2233622360        https://bugs.webkit.org/show_bug.cgi?id=28410
     
    2651026534
    2651126535        <rdar://problem/6952336>
    26512         CrashTracer: [USER] 3 crashes in Safari at com.apple.WebCore • WebCore::SecurityOrigin::canAccess const + 27
     26536        CrashTracer: [USER] 3 crashes in Safari at com.apple.WebCore • WebCore::SecurityOrigin::canAccess const 27
    2651326537
    2651426538        Make sure to set the security origin before calling dispatchWindowObjectAvailable.
     
    2683426858
    2683526859        https://bugs.webkit.org/show_bug.cgi?id=28204
    26836         Allow C++ exceptions to be disabled in WebCore's V8 Mac build.
     26860        Allow C+exceptions to be disabled in WebCore's V8 Mac build.
    2683726861
    2683826862        * WebCorePrefix.h:
    2683926863        Only undefine |try| and |catch| when building Objective-C[++],
    26840         leaving the C++ library definitions intact for C++.
     26864        leaving the C+library definitions intact for C++.
    2684126865
    26842268662009-08-12  Nate Chapin  <japhet@chromium.org>
     
    2788827912        Reviewed by Darin Fisher.
    2788927913
    27890         Cleanup DOM Storage namespace shutdown code + usage of security origin.
     27914        Cleanup DOM Storage namespace shutdown code usage of security origin.
    2789127915        https://bugs.webkit.org/show_bug.cgi?id=28094
    2789227916
     
    27995280192009-08-10  Xan Lopez  <xlopez@igalia.com>
    2799628020
    27997         Fix GTK+ build.
     28021        Fix GTKbuild.
    2799828022
    2799928023        * platform/network/soup/ResourceHandleSoup.cpp:
     
    2800928033        * platform/graphics/wince/GraphicsContextWince.cpp:
    2801028034        (WebCore::GraphicsContext::drawText): Changed to use advances(from)
    28011             instead of advanceData() + from.
     28035            instead of advanceData() from.
    2801228036
    28013280372009-08-10  Xan Lopez  <xlopez@igalia.com>
     
    2832228346        Modify FrameLoadType enum to match the order of WebFrameLoadType in WebFramePrivate.h / IWebFramePrivate.idl.
    2832328347        The mac/win public API exposes the old 'FrameLoadTypeReloadAllowingStaleData' value, which resides between
    28324         'FrameLoadTypeReload' and 'FrameLoadTypeSame'. Work around this problem, by assigning 'FrameLoadTypeSame = FrameLoadTypeReload + 2'.
     28348        'FrameLoadTypeReload' and 'FrameLoadTypeSame'. Work around this problem, by assigning 'FrameLoadTypeSame = FrameLoadTypeReload 2'.
    2832528349
    2832628350        Add a note to the FrameLoadType enum to keep it in sync with WebFramePrivate.h & IWebFramePrivate.idl.
     
    3563235656        I decided to change these to Base:: instead of DOMObjectWithGlobal::
    3563335657        for future-proofing.  All autogenerated classes use a typedef Base
    35634         to avoid bugs like these.  Sadly C++ does not have a built-in super:: we could use.
     35658        to avoid bugs like these.  Sadly C+does not have a built-in super:: we could use.
    3563535659
    3563635660        * WebCore.xcodeproj/project.pbxproj:
     
    36500365242009-07-22  Xan Lopez  <xlopez@igalia.com>
    3650136525
    36502         Attempt to fix the GTK+ build.
     36526        Attempt to fix the GTKbuild.
    3650336527
    3650436528        * GNUmakefile.am:
     
    4256142585        Crash in RenderMedia::styleDidChange.
    4256242586        <rdar://problem/7044313> CrashTracer: quicklook crashed generating thumbnail for page with
    42563         media element (RenderMedia::styleDidChange + 115)
     42587        media element (RenderMedia::styleDidChange 115)
    4256442588
    4256542589        Speculative fix for crash in styleDidChange. Null check controller elements before tell
     
    4367943703        Not reviewed, Chromium build fix.
    4368043704
    43681         Add in missing header + fix syntax issue that crept into last patch.
     43705        Add in missing header fix syntax issue that crept into last patch.
    4368243706        https://bugs.webkit.org/show_bug.cgi?id=27027
    4368343707
     
    4451044534        Report the caret offset from the end of the selection, otherwise
    4451144535        we'll report the same offset when moving the caret while
    44512         modififying the selection (eg, with Shift + Right).
     44536        modififying the selection (eg, with Shift Right).
    4451344537
    4451444538        * editing/gtk/SelectionControllerGtk.cpp:
     
    4577945803        Reviewed by Geoff Garen.
    4578045804
    45781         <rdar://problem/6960286> CrashTracer: [REGRESSION] 1120 crashes in Safari at com.apple.WebCore WebCore::JSLazyEventListener::parseCode const + 62
     45805        <rdar://problem/6960286> CrashTracer: [REGRESSION] 1120 crashes in Safari at com.apple.WebCore WebCore::JSLazyEventListener::parseCode const 62
    4578245806
    4578345807        <select> elements and other elements the produce popups can keep their popups
     
    4643546459        Reviewed by Jan Alonzo.
    4643646460
    46437         [GTK] Don't use deprecated GTK+ symbols.
     46461        [GTK] Don't use deprecated GTKsymbols.
    4643846462        https://bugs.webkit.org/show_bug.cgi?id=26583
    4643946463
     
    5192851952        Reviewed by Brady Eidson.
    5192951953
    51930         <rdar://problem/6660037> CrashTracer: [USER] 46 crashes in Safari at com.apple.WebCore • WebCore::CachedCSSStyleSheet::addClient + 53
     51954        <rdar://problem/6660037> CrashTracer: [USER] 46 crashes in Safari at com.apple.WebCore • WebCore::CachedCSSStyleSheet::addClient 53
    5193151955       
    5193251956        When revalidating a resource, calling addClient() on one client might cause another to get removed.
     
    5199052014        Provide an assignment operator to avoid improper reference
    5199152015        counts on the Cairo font objects.  This brings the Windows
    51992         Cairo port in line with the GTK+ port.
     52016        Cairo port in line with the GTKport.
    5199352017
    5199452018        * platform/graphics/win/FontPlatformData.h:
  • trunk/WebCore/css/CSSComputedStyleDeclaration.cpp

    r49126 r49567  
    907907                // On the other hand, since font-size doesn't include the zoom factor, we really can't do
    908908                // that here either.
    909                 return CSSPrimitiveValue::create(static_cast<int>(length.percent() * style->fontDescription().specifiedSize()) / 100, CSSPrimitiveValue::CSS_PX);
     909                // The line height returned is rounded to the nearest integer.
     910                return CSSPrimitiveValue::create(length.calcMinValue(style->fontDescription().specifiedSize(), true), CSSPrimitiveValue::CSS_PX);
    910911            return CSSPrimitiveValue::create(length.value(), CSSPrimitiveValue::CSS_PX);
    911912        }
  • trunk/WebCore/rendering/InlineFlowBox.cpp

    r48947 r49567  
    430430                lineHeight = baseline + baselineToBottom;
    431431            } else if (parentLineHeight.isPercent()) {
    432                 lineHeight = parentLineHeight.calcMinValue(curr->renderer()->style()->fontSize());
     432                lineHeight = parentLineHeight.calcMinValue(curr->renderer()->style()->fontSize(), true);
    433433                baseline = 0;
    434434                for (size_t i = 0; i < usedFonts.size(); ++i) {
  • trunk/WebCore/rendering/RenderBR.cpp

    r41928 r49567  
    6565        }
    6666        if (lh.isPercent())
    67             return lh.calcMinValue(s->fontSize());
     67            return lh.calcMinValue(s->fontSize(), true);
    6868        return lh.value();
    6969    }
  • trunk/WebCore/rendering/style/RenderStyle.h

    r48474 r49567  
    459459
    460460        if (lh.isPercent())
    461             return lh.calcMinValue(fontSize());
     461            return lh.calcMinValue(fontSize(), true);
    462462
    463463        return lh.value();
Note: See TracChangeset for help on using the changeset viewer.