Changeset 24604 in webkit


Ignore:
Timestamp:
Jul 24, 2007 3:23:02 PM (17 years ago)
Author:
adele
Message:

LayoutTests:

Reviewed by Hyatt and Adam.

Added and updated tests for <rdar://problem/5130590> REGRESSION: style="width:1px" on <select> element no longer hides the element
The metrics have changed for the anonymous block inside popup buttons.

  • fast/forms/menulist-narrow-width-expected.checksum: Added.
  • fast/forms/menulist-narrow-width-expected.png: Added.
  • fast/forms/menulist-narrow-width-expected.txt: Added.
  • fast/forms/menulist-narrow-width.html: Added.
  • editing/pasteboard/4641033-expected.txt:
  • editing/pasteboard/4944770-1-expected.txt:
  • editing/pasteboard/4944770-2-expected.txt:
  • editing/pasteboard/select-element-1-expected.txt:
  • editing/selection/caret-before-select-expected.txt:
  • editing/selection/replaced-boundaries-3-expected.txt:
  • editing/selection/select-box-expected.txt:
  • editing/selection/select-element-paragraph-boundary-expected.txt:
  • fast/block/float/float-avoidance-expected.txt:
  • fast/block/margin-collapse/103-expected.txt:
  • fast/forms/001-expected.checksum:
  • fast/forms/001-expected.png:
  • fast/forms/001-expected.txt:
  • fast/forms/003-expected.txt:
  • fast/forms/004-expected.txt:
  • fast/forms/HTMLOptionElement_label01-expected.txt:
  • fast/forms/HTMLOptionElement_label02-expected.txt:
  • fast/forms/HTMLOptionElement_label03-expected.txt:
  • fast/forms/HTMLOptionElement_label04-expected.txt:
  • fast/forms/HTMLOptionElement_label06-expected.txt:
  • fast/forms/HTMLOptionElement_label07-expected.txt:
  • fast/forms/control-restrict-line-height-expected.txt:
  • fast/forms/disabled-select-change-index-expected.txt:
  • fast/forms/form-element-geometry-expected.txt:
  • fast/forms/menulist-separator-painting-expected.txt:
  • fast/forms/menulist-width-change-expected.txt:
  • fast/forms/option-script-expected.txt:
  • fast/forms/option-strip-whitespace-expected.txt:
  • fast/forms/option-text-clip-expected.txt:
  • fast/forms/select-accesskey-expected.txt:
  • fast/forms/select-align-expected.txt:
  • fast/forms/select-baseline-expected.txt:
  • fast/forms/select-change-listbox-to-popup-expected.txt:
  • fast/forms/select-disabled-appearance-expected.txt:
  • fast/forms/select-initial-position-expected.txt:
  • fast/forms/select-selected-expected.txt:
  • fast/forms/select-size-expected.txt:
  • fast/forms/select-style-expected.txt:
  • fast/forms/select-visual-hebrew-expected.txt:
  • fast/forms/select-writing-direction-natural-expected.txt:
  • fast/forms/stuff-on-my-optgroup-expected.txt:
  • fast/html/keygen-expected.txt:
  • fast/invalid/014-expected.txt:
  • fast/invalid/residual-style-expected.txt:
  • fast/parser/document-write-option-expected.txt:
  • fast/replaced/replaced-breaking-expected.txt:
  • fast/replaced/replaced-breaking-mixture-expected.txt:
  • fast/replaced/three-selects-break-expected.txt:
  • fast/replaced/width100percent-expected.txt:
  • fast/text/international/bidi-menulist-expected.txt:
  • http/tests/navigation/anchor-basic-expected.txt:
  • http/tests/navigation/anchor-frames-expected.txt:
  • http/tests/navigation/anchor-goback-expected.txt:
  • http/tests/navigation/anchor-subframeload-expected.txt:
  • http/tests/navigation/javascriptlink-basic-expected.txt:
  • http/tests/navigation/javascriptlink-frames-expected.txt:
  • http/tests/navigation/javascriptlink-goback-expected.txt:
  • http/tests/navigation/javascriptlink-subframeload-expected.txt:
  • http/tests/navigation/metaredirect-basic-expected.txt:
  • http/tests/navigation/metaredirect-frames-expected.txt:
  • http/tests/navigation/metaredirect-goback-expected.txt:
  • http/tests/navigation/metaredirect-subframeload-expected.txt:
  • http/tests/navigation/post-goback2-expected.txt:
  • http/tests/navigation/postredirect-goback2-expected.txt:
  • http/tests/navigation/redirect302-basic-expected.txt:
  • http/tests/navigation/redirect302-frames-expected.txt:
  • http/tests/navigation/redirect302-goback-expected.txt:
  • http/tests/navigation/redirect302-subframeload-expected.txt:
  • http/tests/navigation/relativeanchor-basic-expected.txt:
  • http/tests/navigation/relativeanchor-frames-expected.txt:
  • http/tests/navigation/relativeanchor-goback-expected.txt:
  • http/tests/navigation/slowmetaredirect-basic-expected.txt:
  • http/tests/navigation/slowtimerredirect-basic-expected.txt:
  • http/tests/navigation/success200-basic-expected.txt:
  • http/tests/navigation/success200-frames-expected.txt:
  • http/tests/navigation/success200-frames-loadsame-expected.txt:
  • http/tests/navigation/success200-goback-expected.txt:
  • http/tests/navigation/success200-loadsame-expected.txt:
  • http/tests/navigation/success200-reload-expected.txt:
  • http/tests/navigation/success200-subframeload-expected.txt:
  • http/tests/navigation/timerredirect-basic-expected.txt:
  • http/tests/navigation/timerredirect-frames-expected.txt:
  • http/tests/navigation/timerredirect-goback-expected.txt:
  • http/tests/navigation/timerredirect-subframeload-expected.txt:
  • tables/mozilla/bugs/bug1188-expected.txt:
  • tables/mozilla/bugs/bug18359-expected.txt:
  • tables/mozilla/bugs/bug2479-3-expected.txt:
  • tables/mozilla/bugs/bug2479-4-expected.txt:
  • tables/mozilla/bugs/bug29326-expected.txt:
  • tables/mozilla/bugs/bug33855-expected.txt:
  • tables/mozilla/bugs/bug4382-expected.txt:
  • tables/mozilla/bugs/bug96334-expected.txt:
  • tables/mozilla/core/margins-expected.txt:
  • tables/mozilla/dom/tableDom-expected.txt:
  • tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:

WebCore:

Reviewed by Hyatt and Adam.

Fix for <rdar://problem/5130590> REGRESSION: style="width:1px" on <select> element no longer hides the element

Removed hack that forced large padding on popup buttons. Now we put that padding in the inner block, so that
the specified width will be honored.

  • rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::adjustInnerStyle): Set the padding on the inner block based on the metrics provided by the theme. (WebCore::RenderMenuList::controlClipRect): Clip to the intersection of the inner content box and the outer content box. This will leave room for the arrows which sit in the inner box padding, and if the inner box ever spills out of the outer box, that will get clipped too. (WebCore::RenderMenuList::calcPrefWidths): Add in the inner box's padding and border to the pref widths.
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMenuList): Only inflate the rect for the shadow if the rect is big enough to fit the whole control. Also, on Leopard, the NSCell will draw outside of a small rect, so add a clip for that case. (WebCore::RenderThemeMac::paintMenuListButton): Restrict font scale to make sure the arrows will actually fit in the bounds vertically. Don't draw the arrows if they won't fit horizontally. Reset padding. Since WinIE doesn't honor padding for popups, its not critical to support padding at this time. (WebCore::RenderThemeMac::adjustMenuListStyle): Don't set the padding here. Instead, we're going to set the padding on the inner block of the select. (WebCore::RenderThemeMac::adjustMenuListButtonStyle): ditto. (WebCore::RenderThemeMac::popupInternalPaddingLeft): Added. Provides internal padding values for RenderMenuList. (WebCore::RenderThemeMac::popupInternalPaddingRight): ditto. (WebCore::RenderThemeMac::popupInternalPaddingTop): ditto. (WebCore::RenderThemeMac::popupInternalPaddingBottom): ditto.
  • rendering/RenderThemeMac.h:
  • rendering/RenderThemeSafari.cpp: The same changes that were made to RenderThemeMac were made here, with variations for the arrow differences. This code should be refactored and shared, but now did not seem like the right time to do that refactoring. (WebCore::RenderThemeSafari::paintMenuList): (WebCore::RenderThemeSafari::paintMenuListButton): (WebCore::RenderThemeSafari::adjustMenuListStyle): (WebCore::RenderThemeSafari::popupInternalPaddingLeft): (WebCore::RenderThemeSafari::popupInternalPaddingRight): (WebCore::RenderThemeSafari::popupInternalPaddingTop): (WebCore::RenderThemeSafari::popupInternalPaddingBottom): (WebCore::RenderThemeSafari::adjustMenuListButtonStyle):
  • rendering/RenderThemeSafari.h:
  • rendering/RenderTheme.h: Added to provide internal padding values for RenderMenuList. (WebCore::RenderTheme::popupInternalPaddingLeft): (WebCore::RenderTheme::popupInternalPaddingRight): (WebCore::RenderTheme::popupInternalPaddingTop): (WebCore::RenderTheme::popupInternalPaddingBottom):
Location:
trunk
Files:
4 added
103 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r24599 r24604  
     12007-07-24  Adele Peterson  <adele@apple.com>
     2
     3        Reviewed by Hyatt and Adam.
     4
     5        Added and updated tests for <rdar://problem/5130590> REGRESSION: style="width:1px" on <select> element no longer hides the element
     6        The metrics have changed for the anonymous block inside popup buttons.
     7
     8        * fast/forms/menulist-narrow-width-expected.checksum: Added.
     9        * fast/forms/menulist-narrow-width-expected.png: Added.
     10        * fast/forms/menulist-narrow-width-expected.txt: Added.
     11        * fast/forms/menulist-narrow-width.html: Added.
     12
     13        * editing/pasteboard/4641033-expected.txt:
     14        * editing/pasteboard/4944770-1-expected.txt:
     15        * editing/pasteboard/4944770-2-expected.txt:
     16        * editing/pasteboard/select-element-1-expected.txt:
     17        * editing/selection/caret-before-select-expected.txt:
     18        * editing/selection/replaced-boundaries-3-expected.txt:
     19        * editing/selection/select-box-expected.txt:
     20        * editing/selection/select-element-paragraph-boundary-expected.txt:
     21        * fast/block/float/float-avoidance-expected.txt:
     22        * fast/block/margin-collapse/103-expected.txt:
     23        * fast/forms/001-expected.checksum:
     24        * fast/forms/001-expected.png:
     25        * fast/forms/001-expected.txt:
     26        * fast/forms/003-expected.txt:
     27        * fast/forms/004-expected.txt:
     28        * fast/forms/HTMLOptionElement_label01-expected.txt:
     29        * fast/forms/HTMLOptionElement_label02-expected.txt:
     30        * fast/forms/HTMLOptionElement_label03-expected.txt:
     31        * fast/forms/HTMLOptionElement_label04-expected.txt:
     32        * fast/forms/HTMLOptionElement_label06-expected.txt:
     33        * fast/forms/HTMLOptionElement_label07-expected.txt:
     34        * fast/forms/control-restrict-line-height-expected.txt:
     35        * fast/forms/disabled-select-change-index-expected.txt:
     36        * fast/forms/form-element-geometry-expected.txt:
     37        * fast/forms/menulist-separator-painting-expected.txt:
     38        * fast/forms/menulist-width-change-expected.txt:
     39        * fast/forms/option-script-expected.txt:
     40        * fast/forms/option-strip-whitespace-expected.txt:
     41        * fast/forms/option-text-clip-expected.txt:
     42        * fast/forms/select-accesskey-expected.txt:
     43        * fast/forms/select-align-expected.txt:
     44        * fast/forms/select-baseline-expected.txt:
     45        * fast/forms/select-change-listbox-to-popup-expected.txt:
     46        * fast/forms/select-disabled-appearance-expected.txt:
     47        * fast/forms/select-initial-position-expected.txt:
     48        * fast/forms/select-selected-expected.txt:
     49        * fast/forms/select-size-expected.txt:
     50        * fast/forms/select-style-expected.txt:
     51        * fast/forms/select-visual-hebrew-expected.txt:
     52        * fast/forms/select-writing-direction-natural-expected.txt:
     53        * fast/forms/stuff-on-my-optgroup-expected.txt:
     54        * fast/html/keygen-expected.txt:
     55        * fast/invalid/014-expected.txt:
     56        * fast/invalid/residual-style-expected.txt:
     57        * fast/parser/document-write-option-expected.txt:
     58        * fast/replaced/replaced-breaking-expected.txt:
     59        * fast/replaced/replaced-breaking-mixture-expected.txt:
     60        * fast/replaced/three-selects-break-expected.txt:
     61        * fast/replaced/width100percent-expected.txt:
     62        * fast/text/international/bidi-menulist-expected.txt:
     63        * http/tests/navigation/anchor-basic-expected.txt:
     64        * http/tests/navigation/anchor-frames-expected.txt:
     65        * http/tests/navigation/anchor-goback-expected.txt:
     66        * http/tests/navigation/anchor-subframeload-expected.txt:
     67        * http/tests/navigation/javascriptlink-basic-expected.txt:
     68        * http/tests/navigation/javascriptlink-frames-expected.txt:
     69        * http/tests/navigation/javascriptlink-goback-expected.txt:
     70        * http/tests/navigation/javascriptlink-subframeload-expected.txt:
     71        * http/tests/navigation/metaredirect-basic-expected.txt:
     72        * http/tests/navigation/metaredirect-frames-expected.txt:
     73        * http/tests/navigation/metaredirect-goback-expected.txt:
     74        * http/tests/navigation/metaredirect-subframeload-expected.txt:
     75        * http/tests/navigation/post-goback2-expected.txt:
     76        * http/tests/navigation/postredirect-goback2-expected.txt:
     77        * http/tests/navigation/redirect302-basic-expected.txt:
     78        * http/tests/navigation/redirect302-frames-expected.txt:
     79        * http/tests/navigation/redirect302-goback-expected.txt:
     80        * http/tests/navigation/redirect302-subframeload-expected.txt:
     81        * http/tests/navigation/relativeanchor-basic-expected.txt:
     82        * http/tests/navigation/relativeanchor-frames-expected.txt:
     83        * http/tests/navigation/relativeanchor-goback-expected.txt:
     84        * http/tests/navigation/slowmetaredirect-basic-expected.txt:
     85        * http/tests/navigation/slowtimerredirect-basic-expected.txt:
     86        * http/tests/navigation/success200-basic-expected.txt:
     87        * http/tests/navigation/success200-frames-expected.txt:
     88        * http/tests/navigation/success200-frames-loadsame-expected.txt:
     89        * http/tests/navigation/success200-goback-expected.txt:
     90        * http/tests/navigation/success200-loadsame-expected.txt:
     91        * http/tests/navigation/success200-reload-expected.txt:
     92        * http/tests/navigation/success200-subframeload-expected.txt:
     93        * http/tests/navigation/timerredirect-basic-expected.txt:
     94        * http/tests/navigation/timerredirect-frames-expected.txt:
     95        * http/tests/navigation/timerredirect-goback-expected.txt:
     96        * http/tests/navigation/timerredirect-subframeload-expected.txt:
     97        * tables/mozilla/bugs/bug1188-expected.txt:
     98        * tables/mozilla/bugs/bug18359-expected.txt:
     99        * tables/mozilla/bugs/bug2479-3-expected.txt:
     100        * tables/mozilla/bugs/bug2479-4-expected.txt:
     101        * tables/mozilla/bugs/bug29326-expected.txt:
     102        * tables/mozilla/bugs/bug33855-expected.txt:
     103        * tables/mozilla/bugs/bug4382-expected.txt:
     104        * tables/mozilla/bugs/bug96334-expected.txt:
     105        * tables/mozilla/core/margins-expected.txt:
     106        * tables/mozilla/dom/tableDom-expected.txt:
     107        * tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
     108
    11092007-07-24  Beth Dakin  <bdakin@apple.com>
    2110
  • trunk/LayoutTests/editing/pasteboard/4641033-expected.txt

    r20950 r24604  
    2222          text run at (76,89) width 4: " "
    2323        RenderMenuList {SELECT} at (82,90) size 52x18 [bgcolor=#FFFFFF]
    24           RenderBlock (anonymous) at (8,2) size 21x13
    25             RenderText at (0,0) size 7x13
    26               text run at (0,0) width 7: "1"
     24          RenderBlock (anonymous) at (0,0) size 52x18
     25            RenderText at (8,2) size 7x13
     26              text run at (8,2) width 7: "1"
    2727      RenderBlock (anonymous) at (0,162) size 784x110
    2828        RenderImage {IMG} at (0,0) size 76x103
     
    3030          text run at (76,89) width 4: " "
    3131        RenderMenuList {SELECT} at (82,90) size 52x18 [bgcolor=#FFFFFF]
    32           RenderBlock (anonymous) at (8,2) size 21x13
    33             RenderText at (0,0) size 7x13
    34               text run at (0,0) width 7: "1"
     32          RenderBlock (anonymous) at (0,0) size 52x18
     33            RenderText at (8,2) size 7x13
     34              text run at (8,2) width 7: "1"
    3535        RenderText {#text} at (0,0) size 0x0
    3636        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/editing/pasteboard/4944770-1-expected.txt

    r19036 r24604  
    1313          text run at (0,1) width 21: "foo"
    1414        RenderMenuList {SELECT} at (23,2) size 38x18 [bgcolor=#FFFFFF]
    15           RenderBlock (anonymous) at (8,2) size 7x13
    16             RenderText at (0,0) size 7x13
    17               text run at (0,0) width 7: "1"
     15          RenderBlock (anonymous) at (0,0) size 38x18
     16            RenderText at (8,2) size 7x13
     17              text run at (8,2) width 7: "1"
    1818      RenderBlock {DIV} at (0,74) size 784x22
    1919        RenderText {#text} at (0,1) size 21x18
    2020          text run at (0,1) width 21: "foo"
    2121        RenderMenuList {SELECT} at (23,2) size 38x18 [bgcolor=#FFFFFF]
    22           RenderBlock (anonymous) at (8,2) size 7x13
    23             RenderText at (0,0) size 7x13
    24               text run at (0,0) width 7: "1"
     22          RenderBlock (anonymous) at (0,0) size 38x18
     23            RenderText at (8,2) size 7x13
     24              text run at (8,2) width 7: "1"
    2525caret: position 3 of child 1 {SELECT} of child 4 {DIV} of child 0 {BODY} of child 0 {HTML} of document
  • trunk/LayoutTests/editing/pasteboard/4944770-2-expected.txt

    r19036 r24604  
    1111      RenderBlock {DIV} at (0,52) size 784x22
    1212        RenderMenuList {SELECT} at (2,2) size 38x18 [bgcolor=#FFFFFF]
    13           RenderBlock (anonymous) at (8,2) size 7x13
    14             RenderText at (0,0) size 7x13
    15               text run at (0,0) width 7: "1"
     13          RenderBlock (anonymous) at (0,0) size 38x18
     14            RenderText at (8,2) size 7x13
     15              text run at (8,2) width 7: "1"
    1616      RenderBlock {DIV} at (0,74) size 784x22
    1717        RenderText {#text} at (0,1) size 8x18
     
    2020          text run at (8,1) width 4: " "
    2121        RenderMenuList {SELECT} at (14,2) size 38x18 [bgcolor=#FFFFFF]
    22           RenderBlock (anonymous) at (8,2) size 7x13
    23             RenderText at (0,0) size 7x13
    24               text run at (0,0) width 7: "1"
     22          RenderBlock (anonymous) at (0,0) size 38x18
     23            RenderText at (8,2) size 7x13
     24              text run at (8,2) width 7: "1"
    2525        RenderText {#text} at (54,1) size 4x18
    2626          text run at (54,1) width 4: " "
  • trunk/LayoutTests/editing/pasteboard/select-element-1-expected.txt

    r19452 r24604  
    3535      RenderBlock {DIV} at (0,47) size 784x22
    3636        RenderMenuList {SELECT} at (2,2) size 62x18 [bgcolor=#FFFFFF]
    37           RenderBlock (anonymous) at (8,2) size 31x13
    38             RenderText at (0,0) size 22x13
    39               text run at (0,0) width 22: "One"
     37          RenderBlock (anonymous) at (0,0) size 62x18
     38            RenderText at (8,2) size 22x13
     39              text run at (8,2) width 22: "One"
    4040      RenderBlock {UL} at (0,85) size 784x72
    4141        RenderListItem {LI} at (40,0) size 744x18
  • trunk/LayoutTests/editing/selection/caret-before-select-expected.txt

    r19785 r24604  
    66      RenderBlock {DIV} at (0,0) size 784x96 [border: (5px solid #FF0000)]
    77        RenderMenuList {SELECT} at (39,39) size 53x18 [bgcolor=#FFFFFF]
    8           RenderBlock (anonymous) at (8,2) size 22x13
    9             RenderText at (0,0) size 22x13
    10               text run at (0,0) width 22: "One"
     8          RenderBlock (anonymous) at (0,0) size 53x18
     9            RenderText at (8,2) size 22x13
     10              text run at (8,2) width 22: "One"
    1111        RenderText {#text} at (94,38) size 26x18
    1212          text run at (94,38) width 26: "blaa"
  • trunk/LayoutTests/editing/selection/replaced-boundaries-3-expected.txt

    r20950 r24604  
    2020        RenderBR {BR} at (22,14) size 0x0
    2121        RenderMenuList {SELECT} at (2,20) size 226x18 [bgcolor=#FFFFFF]
    22           RenderBlock (anonymous) at (8,2) size 195x13
    23             RenderText at (0,0) size 195x13
    24               text run at (0,0) width 195: "this select box shouldn't be selected"
     22          RenderBlock (anonymous) at (0,0) size 226x18
     23            RenderText at (8,2) size 195x13
     24              text run at (8,2) width 195: "this select box shouldn't be selected"
    2525        RenderText {#text} at (0,0) size 0x0
    2626selection start: position 1 of child 0 {#text} of child 3 {DIV} of child 1 {BODY} of child 0 {HTML} of document
  • trunk/LayoutTests/editing/selection/select-box-expected.txt

    r20950 r24604  
    6666            text run at (0,1) width 71: "select box: "
    6767          RenderMenuList {SELECT} at (73,2) size 38x18 [bgcolor=#FFFFFF]
    68             RenderBlock (anonymous) at (8,2) size 7x13
    69               RenderText at (0,0) size 7x13
    70                 text run at (0,0) width 7: "1"
     68            RenderBlock (anonymous) at (0,0) size 38x18
     69              RenderText at (8,2) size 7x13
     70                text run at (8,2) width 7: "1"
    7171          RenderText {#text} at (113,1) size 66x18
    7272            text run at (113,1) width 66: " the end ..."
  • trunk/LayoutTests/editing/selection/select-element-paragraph-boundary-expected.txt

    r20950 r24604  
    1515      RenderBlock {DIV} at (0,52) size 784x22
    1616        RenderMenuList {SELECT} at (2,2) size 38x18 [bgcolor=#FFFFFF]
    17           RenderBlock (anonymous) at (8,2) size 7x13
    18             RenderText at (0,0) size 7x13
    19               text run at (0,0) width 7: "1"
     17          RenderBlock (anonymous) at (0,0) size 38x18
     18            RenderText at (8,2) size 7x13
     19              text run at (8,2) width 7: "1"
    2020caret: position 1 of child 0 {SELECT} of child 2 {DIV} of child 1 {BODY} of child 0 {HTML} of document
  • trunk/LayoutTests/fast/block/float/float-avoidance-expected.txt

    r19717 r24604  
    1818        RenderBR {BR} at (70,24) size 0x0
    1919        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    20           RenderBlock (anonymous) at (8,2) size 69x13
    21             RenderText at (0,0) size 22x13
    22               text run at (0,0) width 22: "One"
     20          RenderBlock (anonymous) at (0,0) size 100x18
     21            RenderText at (8,2) size 22x13
     22              text run at (8,2) width 22: "One"
    2323        RenderText {#text} at (0,0) size 0x0
    2424        RenderButton {INPUT} at (10,52) size 200x18 [bgcolor=#C0C0C0]
     
    3535        RenderBR {BR} at (70,24) size 0x0
    3636        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    37           RenderBlock (anonymous) at (8,2) size 69x13
    38             RenderText at (0,0) size 22x13
    39               text run at (0,0) width 22: "One"
     37          RenderBlock (anonymous) at (0,0) size 100x18
     38            RenderText at (8,2) size 22x13
     39              text run at (8,2) width 22: "One"
    4040        RenderText {#text} at (0,0) size 0x0
    4141        RenderButton {INPUT} at (110,30) size 100x18 [bgcolor=#C0C0C0]
     
    5454          RenderBR {BR} at (60,14) size 0x0
    5555          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    56             RenderBlock (anonymous) at (8,2) size 69x13
    57               RenderText at (0,0) size 22x13
    58                 text run at (0,0) width 22: "One"
     56            RenderBlock (anonymous) at (0,0) size 100x18
     57              RenderText at (8,2) size 22x13
     58                text run at (8,2) width 22: "One"
    5959          RenderText {#text} at (0,0) size 0x0
    6060        RenderButton {INPUT} at (110,30) size 28x18 [bgcolor=#C0C0C0]
     
    7373          RenderBR {BR} at (60,14) size 0x0
    7474          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    75             RenderBlock (anonymous) at (8,2) size 69x13
    76               RenderText at (0,0) size 22x13
    77                 text run at (0,0) width 22: "One"
     75            RenderBlock (anonymous) at (0,0) size 100x18
     76              RenderText at (8,2) size 22x13
     77                text run at (8,2) width 22: "One"
    7878          RenderText {#text} at (0,0) size 0x0
    7979        RenderButton {INPUT} at (110,30) size 100x18 [bgcolor=#C0C0C0]
     
    9191        RenderBR {BR} at (70,24) size 0x0
    9292        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    93           RenderBlock (anonymous) at (8,2) size 69x13
    94             RenderText at (0,0) size 22x13
    95               text run at (0,0) width 22: "One"
     93          RenderBlock (anonymous) at (0,0) size 100x18
     94            RenderText at (8,2) size 22x13
     95              text run at (8,2) width 22: "One"
    9696        RenderText {#text} at (0,0) size 0x0
    9797        RenderTable {TABLE} at (110,28) size 100x30 [border: (2px outset #808080)]
     
    112112        RenderBR {BR} at (70,24) size 0x0
    113113        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    114           RenderBlock (anonymous) at (8,2) size 69x13
    115             RenderText at (0,0) size 22x13
    116               text run at (0,0) width 22: "One"
     114          RenderBlock (anonymous) at (0,0) size 100x18
     115            RenderText at (8,2) size 22x13
     116              text run at (8,2) width 22: "One"
    117117        RenderText {#text} at (0,0) size 0x0
    118118        RenderTable {TABLE} at (10,50) size 200x66 [border: (2px outset #808080)]
     
    136136          RenderBR {BR} at (60,14) size 0x0
    137137          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    138             RenderBlock (anonymous) at (8,2) size 69x13
    139               RenderText at (0,0) size 22x13
    140                 text run at (0,0) width 22: "One"
     138            RenderBlock (anonymous) at (0,0) size 100x18
     139              RenderText at (8,2) size 22x13
     140                text run at (8,2) width 22: "One"
    141141          RenderText {#text} at (0,0) size 0x0
    142142        RenderTable {TABLE} at (110,28) size 200x66 [border: (2px outset #808080)]
     
    160160          RenderBR {BR} at (60,14) size 0x0
    161161          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    162             RenderBlock (anonymous) at (8,2) size 69x13
    163               RenderText at (0,0) size 22x13
    164                 text run at (0,0) width 22: "One"
     162            RenderBlock (anonymous) at (0,0) size 100x18
     163              RenderText at (8,2) size 22x13
     164                text run at (8,2) width 22: "One"
    165165          RenderText {#text} at (0,0) size 0x0
    166166        RenderTable {TABLE} at (110,28) size 100x120 [border: (2px outset #808080)]
     
    185185        RenderBR {BR} at (70,24) size 0x0
    186186        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    187           RenderBlock (anonymous) at (8,2) size 69x13
    188             RenderText at (0,0) size 22x13
    189               text run at (0,0) width 22: "One"
     187          RenderBlock (anonymous) at (0,0) size 100x18
     188            RenderText at (8,2) size 22x13
     189              text run at (8,2) width 22: "One"
    190190        RenderText {#text} at (0,0) size 0x0
    191191        RenderText {#text} at (0,0) size 0x0
     
    200200        RenderBR {BR} at (70,24) size 0x0
    201201        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    202           RenderBlock (anonymous) at (8,2) size 69x13
    203             RenderText at (0,0) size 22x13
    204               text run at (0,0) width 22: "One"
     202          RenderBlock (anonymous) at (0,0) size 100x18
     203            RenderText at (8,2) size 22x13
     204              text run at (8,2) width 22: "One"
    205205        RenderText {#text} at (0,0) size 0x0
    206206        RenderText {#text} at (0,0) size 0x0
     
    215215          RenderBR {BR} at (60,14) size 0x0
    216216          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    217             RenderBlock (anonymous) at (8,2) size 69x13
    218               RenderText at (0,0) size 22x13
    219                 text run at (0,0) width 22: "One"
     217            RenderBlock (anonymous) at (0,0) size 100x18
     218              RenderText at (8,2) size 22x13
     219                text run at (8,2) width 22: "One"
    220220          RenderText {#text} at (0,0) size 0x0
    221221        RenderBlock (anonymous) at (10,136) size 200x18
     
    232232          RenderBR {BR} at (60,14) size 0x0
    233233          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    234             RenderBlock (anonymous) at (8,2) size 69x13
    235               RenderText at (0,0) size 22x13
    236                 text run at (0,0) width 22: "One"
     234            RenderBlock (anonymous) at (0,0) size 100x18
     235              RenderText at (8,2) size 22x13
     236                text run at (8,2) width 22: "One"
    237237          RenderText {#text} at (0,0) size 0x0
    238238        RenderBlock (anonymous) at (10,136) size 200x18
     
    246246        RenderBR {BR} at (70,24) size 0x0
    247247        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    248           RenderBlock (anonymous) at (8,2) size 69x13
    249             RenderText at (0,0) size 22x13
    250               text run at (0,0) width 22: "One"
     248          RenderBlock (anonymous) at (0,0) size 100x18
     249            RenderText at (8,2) size 22x13
     250              text run at (8,2) width 22: "One"
    251251        RenderText {#text} at (0,0) size 0x0
    252252        RenderBlock (floating) {HR} at (112,30) size 82x2 [border: (1px inset #000000)]
     
    262262        RenderBR {BR} at (70,24) size 0x0
    263263        RenderMenuList {SELECT} at (10,30) size 100x18 [bgcolor=#FFFFFF]
    264           RenderBlock (anonymous) at (8,2) size 69x13
    265             RenderText at (0,0) size 22x13
    266               text run at (0,0) width 22: "One"
     264          RenderBlock (anonymous) at (0,0) size 100x18
     265            RenderText at (8,2) size 22x13
     266              text run at (8,2) width 22: "One"
    267267        RenderText {#text} at (0,0) size 0x0
    268268        RenderBlock (floating) {HR} at (112,30) size 2x2 [border: (1px inset #000000)]
     
    278278          RenderBR {BR} at (60,14) size 0x0
    279279          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    280             RenderBlock (anonymous) at (8,2) size 69x13
    281               RenderText at (0,0) size 22x13
    282                 text run at (0,0) width 22: "One"
     280            RenderBlock (anonymous) at (0,0) size 100x18
     281              RenderText at (8,2) size 22x13
     282                text run at (8,2) width 22: "One"
    283283          RenderText {#text} at (0,0) size 0x0
    284284        RenderBlock {HR} at (110,36) size 202x2 [border: (1px inset #000000)]
     
    295295          RenderBR {BR} at (60,14) size 0x0
    296296          RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    297             RenderBlock (anonymous) at (8,2) size 69x13
    298               RenderText at (0,0) size 22x13
    299                 text run at (0,0) width 22: "One"
     297            RenderBlock (anonymous) at (0,0) size 100x18
     298              RenderText at (8,2) size 22x13
     299                text run at (8,2) width 22: "One"
    300300          RenderText {#text} at (0,0) size 0x0
    301301        RenderBlock {HR} at (110,36) size 100x2 [border: (1px inset #000000)]
  • trunk/LayoutTests/fast/block/margin-collapse/103-expected.txt

    r18264 r24604  
    3939                text run at (0,2) width 128: "Your degree program*"
    4040            RenderMenuList {SELECT} at (325,68) size 180x18 [bgcolor=#FFFFFF]
    41               RenderBlock (anonymous) at (8,2) size 149x13
    42                 RenderText at (0,0) size 90x13
    43                   text run at (0,0) width 90: "Program options"
     41              RenderBlock (anonymous) at (0,0) size 180x18
     42                RenderText at (8,2) size 90x13
     43                  text run at (8,2) width 90: "Program options"
    4444            RenderBlock (floating) {SPAN} at (0,88) size 325x20 [color=#333333]
    4545              RenderText {#text} at (0,2) size 110x15
    4646                text run at (0,2) width 110: "Your year of study*"
    4747            RenderMenuList {SELECT} at (325,88) size 180x18 [bgcolor=#FFFFFF]
    48               RenderBlock (anonymous) at (8,2) size 149x13
    49                 RenderText at (0,0) size 124x13
    50                   text run at (0,0) width 124: "Years you've been here"
     48              RenderBlock (anonymous) at (0,0) size 180x18
     49                RenderText at (8,2) size 124x13
     50                  text run at (8,2) width 124: "Years you've been here"
    5151            RenderBlock (floating) {SPAN} at (0,108) size 325x20 [color=#333333]
    5252              RenderText {#text} at (0,2) size 152x15
    5353                text run at (0,2) width 152: "Shakespeare classes taken"
    5454            RenderMenuList {SELECT} at (325,108) size 180x18 [bgcolor=#FFFFFF]
    55               RenderBlock (anonymous) at (8,2) size 149x13
    56                 RenderText at (0,0) size 76x13
    57                   text run at (0,0) width 76: "Number taken"
     55              RenderBlock (anonymous) at (0,0) size 180x18
     56                RenderText at (8,2) size 76x13
     57                  text run at (8,2) width 76: "Number taken"
    5858            RenderBlock {P} at (0,139) size 560x20 [color=#333333]
    5959              RenderText {#text} at (0,2) size 156x15
     
    6666                text run at (0,2) width 321: "What percentage of your research time is spent online?"
    6767            RenderMenuList {SELECT} at (325,210) size 180x18 [bgcolor=#FFFFFF]
    68               RenderBlock (anonymous) at (8,2) size 149x13
    69                 RenderText at (0,0) size 106x13
    70                   text run at (0,0) width 106: "Percentages of time"
     68              RenderBlock (anonymous) at (0,0) size 180x18
     69                RenderText at (8,2) size 106x13
     70                  text run at (8,2) width 106: "Percentages of time"
    7171            RenderBlock (floating) {SPAN} at (0,230) size 325x20 [color=#333333]
    7272              RenderText {#text} at (0,2) size 300x35
     
    7474                text run at (0,22) width 41: "online?"
    7575            RenderMenuList {SELECT} at (325,230) size 180x18 [bgcolor=#FFFFFF]
    76               RenderBlock (anonymous) at (8,2) size 149x13
    77                 RenderText at (0,0) size 44x13
    78                   text run at (0,0) width 44: "Reasons"
     76              RenderBlock (anonymous) at (0,0) size 180x18
     77                RenderText at (8,2) size 44x13
     78                  text run at (8,2) width 44: "Reasons"
    7979            RenderBlock (floating) {SPAN} at (0,250) size 325x20 [color=#333333]
    8080              RenderText {#text} at (0,2) size 220x15
     
    114114                text run at (0,2) width 274: "Which area of the ISE did you find most useful?"
    115115            RenderMenuList {SELECT} at (325,427) size 180x18 [bgcolor=#FFFFFF]
    116               RenderBlock (anonymous) at (8,2) size 149x13
    117                 RenderText at (0,0) size 99x13
    118                   text run at (0,0) width 99: "Sections of the ISE"
     116              RenderBlock (anonymous) at (0,0) size 180x18
     117                RenderText at (8,2) size 99x13
     118                  text run at (8,2) width 99: "Sections of the ISE"
    119119            RenderBlock (floating) {SPAN} at (0,447) size 325x20 [color=#333333]
    120120              RenderText {#text} at (0,2) size 252x15
    121121                text run at (0,2) width 252: "How did you find the navigation of the ISE?"
    122122            RenderMenuList {SELECT} at (325,447) size 180x18 [bgcolor=#FFFFFF]
    123               RenderBlock (anonymous) at (8,2) size 149x13
    124                 RenderText at (0,0) size 91x13
    125                   text run at (0,0) width 91: "Level of difficulty"
     123              RenderBlock (anonymous) at (0,0) size 180x18
     124                RenderText at (8,2) size 91x13
     125                  text run at (8,2) width 91: "Level of difficulty"
    126126            RenderBlock (floating) {SPAN} at (0,467) size 325x20 [color=#333333]
    127127              RenderText {#text} at (0,2) size 206x15
  • trunk/LayoutTests/fast/forms/001-expected.checksum

    r16290 r24604  
    1 c94b592161f372ad07ee96bd070a718b
     1d741bd517df84fbc1b979e0c67b56703
  • trunk/LayoutTests/fast/forms/001-expected.txt

    r16290 r24604  
    77        RenderText {#text} at (0,0) size 234x37
    88          text run at (0,0) width 234: "Min-Width Tests"
    9       RenderTable {TABLE} at (0,58) size 784x89 [border: (2px outset #808080)]
    10         RenderTableSection {TBODY} at (2,2) size 780x85
    11           RenderTableRow {TR} at (0,0) size 780x85
    12             RenderTableCell {TD} at (0,0) size 135x85 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
    13               RenderMenuList {SELECT} at (3,1) size 129x83 [bgcolor=#FFFFFF] [border: (40px solid #FF0000)]
    14                 RenderBlock (anonymous) at (48,41) size 20x13
    15                   RenderText at (0,0) size 20x13
    16                     text run at (0,0) width 20: "Foo"
    17             RenderTableCell {TD} at (135,41) size 645x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
    18       RenderBlock {P} at (0,163) size 784x24
     9      RenderTable {TABLE} at (0,58) size 784x86 [border: (2px outset #808080)]
     10        RenderTableSection {TBODY} at (2,2) size 780x82
     11          RenderTableRow {TR} at (0,0) size 780x82
     12            RenderTableCell {TD} at (0,0) size 135x82 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
     13              RenderMenuList {SELECT} at (3,1) size 129x80 [bgcolor=#FFFFFF] [border: (40px solid #FF0000)]
     14                RenderBlock (anonymous) at (40,40) size 49x16
     15                  RenderText at (8,1) size 20x13
     16                    text run at (8,1) width 20: "Foo"
     17            RenderTableCell {TD} at (135,40) size 645x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
     18      RenderBlock {P} at (0,160) size 784x24
    1919        RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
    2020          RenderTableSection {TBODY} at (2,2) size 780x20
     
    2323                RenderBlock {INPUT} at (4,4) size 12x12
    2424              RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
    25       RenderBlock {P} at (0,203) size 784x24
     25      RenderBlock {P} at (0,200) size 784x24
    2626        RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
    2727          RenderTableSection {TBODY} at (2,2) size 780x20
     
    3030                RenderBlock {INPUT} at (4,4) size 12x12
    3131              RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
    32       RenderBlock {P} at (0,243) size 784x28
     32      RenderBlock {P} at (0,240) size 784x28
    3333        RenderTable {TABLE} at (0,0) size 784x28 [border: (2px outset #808080)]
    3434          RenderTableSection {TBODY} at (2,2) size 780x24
     
    4040                      text run at (0,0) width 20: "Foo"
    4141              RenderTableCell {TD} at (42,11) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
    42       RenderBlock {P} at (0,287) size 784x267
     42      RenderBlock {P} at (0,284) size 784x267
    4343        RenderTable {TABLE} at (0,0) size 784x91 [border: (2px outset #808080)]
    4444          RenderTableSection {TBODY} at (2,2) size 780x87
  • trunk/LayoutTests/fast/forms/003-expected.txt

    r16044 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,0) size 59x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 28x13
    8           RenderText at (0,0) size 28x13
    9             text run at (0,0) width 28: "Hello"
     7        RenderBlock (anonymous) at (0,0) size 59x18
     8          RenderText at (8,2) size 28x13
     9            text run at (8,2) width 28: "Hello"
    1010      RenderBlock (anonymous) at (0,20) size 784x18
    1111        RenderText {#text} at (0,0) size 292x18
  • trunk/LayoutTests/fast/forms/004-expected.txt

    r16044 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,2) size 59x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 28x13
    8           RenderText at (0,0) size 28x13
    9             text run at (0,0) width 28: "Hello"
     7        RenderBlock (anonymous) at (0,0) size 59x18
     8          RenderText at (8,2) size 28x13
     9            text run at (8,2) width 28: "Hello"
    1010      RenderText {#text} at (63,1) size 4x18
    1111        text run at (63,1) width 4: " "
    1212      RenderMenuList {SELECT} at (69,2) size 79x18 [bgcolor=#FFFFFF]
    13         RenderBlock (anonymous) at (8,2) size 48x13
    14           RenderText at (0,0) size 48x13
    15             text run at (0,0) width 48: "Goodbye"
     13        RenderBlock (anonymous) at (0,0) size 79x18
     14          RenderText at (8,2) size 48x13
     15            text run at (8,2) width 48: "Goodbye"
    1616      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label01-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (673,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 197x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 166x13
    11           RenderText at (0,0) size 166x13
    12             text run at (0,0) width 166: "the label for this element is \"1\""
     10        RenderBlock (anonymous) at (0,0) size 197x18
     11          RenderText at (8,2) size 166x13
     12            text run at (8,2) width 166: "the label for this element is \"1\""
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label02-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (300,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 309x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 278x13
    11           RenderText at (0,0) size 279x13
    12             text run at (0,0) width 279: "empty label should display empty string to match IE"
     10        RenderBlock (anonymous) at (0,0) size 309x18
     11          RenderText at (8,2) size 279x13
     12            text run at (8,2) width 279: "empty label should display empty string to match IE"
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label03-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (436,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 338x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 307x13
    11           RenderText at (0,0) size 308x13
    12             text run at (0,0) width 308: "white space label should display empty string to match IE"
     10        RenderBlock (anonymous) at (0,0) size 338x18
     11          RenderText at (8,2) size 308x13
     12            text run at (8,2) width 308: "white space label should display empty string to match IE"
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label04-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (595,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 464x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 433x13
    11           RenderText at (0,0) size 433x13
    12             text run at (0,0) width 433: "the label attribute is mentioned but no value is specified; this text should appear"
     10        RenderBlock (anonymous) at (0,0) size 464x18
     11          RenderText at (8,2) size 433x13
     12            text run at (8,2) width 433: "the label attribute is mentioned but no value is specified; this text should appear"
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label06-expected.txt

    r21410 r24604  
    88      RenderBR {BR} at (718,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 36x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 5x13
    11           RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     10        RenderBlock (anonymous) at (0,0) size 36x18
     11          RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    1212      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/HTMLOptionElement_label07-expected.txt

    r19517 r24604  
    99      RenderBR {BR} at (28,32) size 0x0
    1010      RenderMenuList {SELECT} at (2,38) size 36x18 [bgcolor=#FFFFFF]
    11         RenderBlock (anonymous) at (8,2) size 5x13
    12           RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     11        RenderBlock (anonymous) at (0,0) size 36x18
     12          RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/control-restrict-line-height-expected.txt

    r19034 r24604  
    88      RenderBR {BR} at (0,0) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 309x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 278x13
    11           RenderText at (0,0) size 280x13
    12             text run at (0,0) width 280: "This text should be centered vertically in the button"
     10        RenderBlock (anonymous) at (0,0) size 309x18
     11          RenderText at (8,2) size 280x13
     12            text run at (8,2) width 280: "This text should be centered vertically in the button"
    1313      RenderText {#text} at (313,19) size 4x18
    1414        text run at (313,19) width 4: " "
  • trunk/LayoutTests/fast/forms/disabled-select-change-index-expected.txt

    r19391 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,2) size 57x18 [color=#808080] [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 26x13
    8           RenderText at (0,0) size 26x13
    9             text run at (0,0) width 26: "PASS"
     7        RenderBlock (anonymous) at (0,0) size 57x18
     8          RenderText at (8,2) size 26x13
     9            text run at (8,2) width 26: "PASS"
    1010      RenderBR {BR} at (61,15) size 0x0
    1111      RenderMenuList {SELECT} at (2,24) size 57x18 [color=#808080] [bgcolor=#FFFFFF]
    12         RenderBlock (anonymous) at (8,2) size 26x13
    13           RenderText at (0,0) size 26x13
    14             text run at (0,0) width 26: "PASS"
     12        RenderBlock (anonymous) at (0,0) size 57x18
     13          RenderText at (8,2) size 26x13
     14            text run at (8,2) width 26: "PASS"
    1515      RenderBR {BR} at (61,37) size 0x0
    1616      RenderMenuList {SELECT} at (2,46) size 57x18 [bgcolor=#FFFFFF]
    17         RenderBlock (anonymous) at (8,2) size 26x13
    18           RenderText at (0,0) size 26x13
    19             text run at (0,0) width 26: "PASS"
     17        RenderBlock (anonymous) at (0,0) size 57x18
     18          RenderText at (8,2) size 26x13
     19            text run at (8,2) width 26: "PASS"
    2020      RenderBR {BR} at (61,59) size 0x0
    2121      RenderMenuList {SELECT} at (2,68) size 57x18 [bgcolor=#FFFFFF]
    22         RenderBlock (anonymous) at (8,2) size 26x13
    23           RenderText at (0,0) size 26x13
    24             text run at (0,0) width 26: "PASS"
     22        RenderBlock (anonymous) at (0,0) size 57x18
     23          RenderText at (8,2) size 26x13
     24            text run at (8,2) width 26: "PASS"
    2525      RenderBR {BR} at (61,81) size 0x0
    2626      RenderListBox {SELECT} at (2,90) size 43x57 [color=#808080] [bgcolor=#FFFFFF] [border: (1px inset #808080)]
  • trunk/LayoutTests/fast/forms/form-element-geometry-expected.txt

    r19517 r24604  
    2727                RenderInline {FONT} at (0,0) size 62x18
    2828                  RenderMenuList {SELECT} at (2,2) size 62x18 [bgcolor=#FFFFFF]
    29                     RenderBlock (anonymous) at (8,2) size 31x13
    30                       RenderText at (0,0) size 31x13
    31                         text run at (0,0) width 31: "menu"
     29                    RenderBlock (anonymous) at (0,0) size 62x18
     30                      RenderText at (8,2) size 31x13
     31                        text run at (8,2) width 31: "menu"
    3232              RenderBlock (anonymous) at (1,23) size 66x0
    3333                RenderInline {FONT} at (0,0) size 0x0
     
    5656              RenderBlock {DIV} at (1,1) size 66x22 [border: (2px solid #0000FF)]
    5757                RenderMenuList {SELECT} at (2,2) size 62x18 [bgcolor=#FFFFFF]
    58                   RenderBlock (anonymous) at (8,2) size 31x13
    59                     RenderText at (0,0) size 31x13
    60                       text run at (0,0) width 31: "menu"
     58                  RenderBlock (anonymous) at (0,0) size 62x18
     59                    RenderText at (8,2) size 31x13
     60                      text run at (8,2) width 31: "menu"
    6161            RenderTableCell {TD} at (132,4) size 18x19 [r=0 c=2 rs=1 cs=1]
    6262              RenderBlock {DIV} at (1,1) size 16x17 [border: (2px solid #0000FF)]
     
    7979                RenderInline {FONT} at (0,0) size 62x13
    8080                  RenderMenuList {SELECT} at (2,2) size 62x18 [bgcolor=#FFFFFF]
    81                     RenderBlock (anonymous) at (8,2) size 31x13
    82                       RenderText at (0,0) size 31x13
    83                         text run at (0,0) width 31: "menu"
     81                    RenderBlock (anonymous) at (0,0) size 62x18
     82                      RenderText at (8,2) size 31x13
     83                        text run at (8,2) width 31: "menu"
    8484            RenderTableCell {TD} at (132,4) size 18x19 [r=0 c=2 rs=1 cs=1]
    8585              RenderBlock {DIV} at (1,1) size 16x17 [border: (2px solid #0000FF)]
     
    123123            text run at (99,0) width 6: " "
    124124          RenderMenuList {SELECT} at (107,9) size 62x18 [bgcolor=#FFFFFF]
    125             RenderBlock (anonymous) at (8,2) size 31x13
    126               RenderText at (0,0) size 31x13
    127                 text run at (0,0) width 31: "menu"
     125            RenderBlock (anonymous) at (0,0) size 62x18
     126              RenderText at (8,2) size 31x13
     127                text run at (8,2) width 31: "menu"
    128128          RenderText {#text} at (171,0) size 6x28
    129129            text run at (171,0) width 6: " "
     
    143143          text run at (83,1) width 4: " "
    144144        RenderMenuList {SELECT} at (89,2) size 62x18 [bgcolor=#FFFFFF]
    145           RenderBlock (anonymous) at (8,2) size 31x13
    146             RenderText at (0,0) size 31x13
    147               text run at (0,0) width 31: "menu"
     145          RenderBlock (anonymous) at (0,0) size 62x18
     146            RenderText at (8,2) size 31x13
     147              text run at (8,2) width 31: "menu"
    148148        RenderText {#text} at (153,1) size 4x18
    149149          text run at (153,1) width 4: " "
     
    164164            text run at (74,5) width 3: " "
    165165          RenderMenuList {SELECT} at (79,2) size 62x18 [bgcolor=#FFFFFF]
    166             RenderBlock (anonymous) at (8,2) size 31x13
    167               RenderText at (0,0) size 31x13
    168                 text run at (0,0) width 31: "menu"
     166            RenderBlock (anonymous) at (0,0) size 62x18
     167              RenderText at (8,2) size 31x13
     168                text run at (8,2) width 31: "menu"
    169169          RenderText {#text} at (143,5) size 3x13
    170170            text run at (143,5) width 3: " "
     
    196196          RenderText {#text} at (0,0) size 0x0
    197197          RenderMenuList {SELECT} at (2,9) size 36x18 [bgcolor=#FFFFFF]
    198             RenderBlock (anonymous) at (8,2) size 5x13
    199               RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     198            RenderBlock (anonymous) at (0,0) size 36x18
     199              RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    200200          RenderText {#text} at (40,0) size 6x28
    201201            text run at (40,0) width 6: " "
    202202          RenderMenuList {SELECT} at (48,9) size 36x18 [bgcolor=#FFFFFF]
    203             RenderBlock (anonymous) at (8,2) size 5x13
    204               RenderText at (0,0) size 5x13
    205                 text run at (0,0) width 5: "|"
     203            RenderBlock (anonymous) at (0,0) size 36x18
     204              RenderText at (8,2) size 5x13
     205                text run at (8,2) width 5: "|"
    206206          RenderText {#text} at (86,0) size 6x28
    207207            text run at (86,0) width 6: " "
    208208          RenderMenuList {SELECT} at (94,9) size 85x18 [bgcolor=#FFFFFF]
    209             RenderBlock (anonymous) at (8,2) size 54x13
    210               RenderText at (0,0) size 54x13
    211                 text run at (0,0) width 54: "xxxxxxxx"
     209            RenderBlock (anonymous) at (0,0) size 85x18
     210              RenderText at (8,2) size 54x13
     211                text run at (8,2) width 54: "xxxxxxxx"
    212212          RenderText {#text} at (0,0) size 0x0
    213213      RenderBlock {DIV} at (0,566) size 769x22
    214214        RenderMenuList {SELECT} at (2,2) size 36x18 [bgcolor=#FFFFFF]
    215           RenderBlock (anonymous) at (8,2) size 5x13
    216             RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     215          RenderBlock (anonymous) at (0,0) size 36x18
     216            RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    217217        RenderText {#text} at (40,1) size 4x18
    218218          text run at (40,1) width 4: " "
    219219        RenderMenuList {SELECT} at (46,2) size 36x18 [bgcolor=#FFFFFF]
    220           RenderBlock (anonymous) at (8,2) size 5x13
    221             RenderText at (0,0) size 5x13
    222               text run at (0,0) width 5: "|"
     220          RenderBlock (anonymous) at (0,0) size 36x18
     221            RenderText at (8,2) size 5x13
     222              text run at (8,2) width 5: "|"
    223223        RenderText {#text} at (84,1) size 4x18
    224224          text run at (84,1) width 4: " "
    225225        RenderMenuList {SELECT} at (90,2) size 85x18 [bgcolor=#FFFFFF]
    226           RenderBlock (anonymous) at (8,2) size 54x13
    227             RenderText at (0,0) size 54x13
    228               text run at (0,0) width 54: "xxxxxxxx"
     226          RenderBlock (anonymous) at (0,0) size 85x18
     227            RenderText at (8,2) size 54x13
     228              text run at (8,2) width 54: "xxxxxxxx"
    229229        RenderText {#text} at (0,0) size 0x0
    230230      RenderBlock {DIV} at (0,588) size 769x22
     
    232232          RenderText {#text} at (0,0) size 0x0
    233233          RenderMenuList {SELECT} at (2,2) size 36x18 [bgcolor=#FFFFFF]
    234             RenderBlock (anonymous) at (8,2) size 5x13
    235               RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     234            RenderBlock (anonymous) at (0,0) size 36x18
     235              RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    236236          RenderText {#text} at (40,5) size 3x13
    237237            text run at (40,5) width 3: " "
    238238          RenderMenuList {SELECT} at (45,2) size 36x18 [bgcolor=#FFFFFF]
    239             RenderBlock (anonymous) at (8,2) size 5x13
    240               RenderText at (0,0) size 5x13
    241                 text run at (0,0) width 5: "|"
     239            RenderBlock (anonymous) at (0,0) size 36x18
     240              RenderText at (8,2) size 5x13
     241                text run at (8,2) width 5: "|"
    242242          RenderText {#text} at (83,5) size 3x13
    243243            text run at (83,5) width 3: " "
    244244          RenderMenuList {SELECT} at (88,2) size 85x18 [bgcolor=#FFFFFF]
    245             RenderBlock (anonymous) at (8,2) size 54x13
    246               RenderText at (0,0) size 54x13
    247                 text run at (0,0) width 54: "xxxxxxxx"
     245            RenderBlock (anonymous) at (0,0) size 85x18
     246              RenderText at (8,2) size 54x13
     247                text run at (8,2) width 54: "xxxxxxxx"
    248248          RenderText {#text} at (0,0) size 0x0
    249249layer at (16,242) size 72x13
  • trunk/LayoutTests/fast/forms/menulist-separator-painting-expected.txt

    r21719 r24604  
    77      RenderBlock (anonymous) at (0,6) size 784x22
    88        RenderMenuList {SELECT} at (2,2) size 36x18 [bgcolor=#FFFFFF] [border: (1px solid #008000)]
    9           RenderBlock (anonymous) at (9,2) size 5x13
    10             RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF] [border: (1px solid #008000)]
     9          RenderBlock (anonymous) at (1,1) size 34x16
     10            RenderBR at (8,1) size 0x13 [bgcolor=#FFFFFF] [border: (1px solid #008000)]
    1111        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/menulist-width-change-expected.txt

    r18913 r24604  
    1212        RenderBR {BR} at (364,32) size 0x0
    1313        RenderMenuList {SELECT} at (2,38) size 139x18 [bgcolor=#FFFFFF]
    14           RenderBlock (anonymous) at (8,2) size 108x13
    15             RenderText at (0,0) size 29x13
    16               text run at (0,0) width 29: "Short"
     14          RenderBlock (anonymous) at (0,0) size 139x18
     15            RenderText at (8,2) size 29x13
     16              text run at (8,2) width 29: "Short"
    1717        RenderText {#text} at (0,0) size 0x0
    1818      RenderBlock {DIV} at (0,58) size 784x0
  • trunk/LayoutTests/fast/forms/option-script-expected.txt

    r16044 r24604  
    1313      RenderBR {BR} at (425,32) size 0x0
    1414      RenderMenuList {SELECT} at (2,38) size 55x18 [bgcolor=#FFFFFF]
    15         RenderBlock (anonymous) at (8,2) size 24x13
    16           RenderText at (0,0) size 24x13
    17             text run at (0,0) width 24: "Text"
     15        RenderBlock (anonymous) at (0,0) size 55x18
     16          RenderText at (8,2) size 24x13
     17            text run at (8,2) width 24: "Text"
    1818      RenderText {#text} at (0,0) size 0x0
    1919      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/option-strip-whitespace-expected.txt

    r19001 r24604  
    2121          text run at (0,159) width 298: "Five Spaces (with leading/trailing whitespace): "
    2222        RenderMenuList {SELECT} at (300,160) size 92x18 [bgcolor=#FFFFFF]
    23           RenderBlock (anonymous) at (8,2) size 61x13
    24             RenderText at (0,0) size 61x13
    25               text run at (0,0) width 61: "Five Spaces"
     23          RenderBlock (anonymous) at (0,0) size 92x18
     24            RenderText at (8,2) size 61x13
     25              text run at (8,2) width 61: "Five Spaces"
    2626        RenderBR {BR} at (394,173) size 0x0
    2727        RenderBR {BR} at (0,180) size 0x18
     
    2929          text run at (0,199) width 285: "Five Tabs (with leading/trailing whitespace): "
    3030        RenderMenuList {SELECT} at (287,200) size 81x18 [bgcolor=#FFFFFF]
    31           RenderBlock (anonymous) at (8,2) size 50x13
    32             RenderText at (0,0) size 50x13
    33               text run at (0,0) width 50: "Five Tabs"
     31          RenderBlock (anonymous) at (0,0) size 81x18
     32            RenderText at (8,2) size 50x13
     33              text run at (8,2) width 50: "Five Tabs"
    3434        RenderBR {BR} at (370,213) size 0x0
    3535        RenderBR {BR} at (0,220) size 0x18
     
    3737          text run at (0,239) width 126: "Mixed Whitespace: "
    3838        RenderMenuList {SELECT} at (128,240) size 81x18 [bgcolor=#FFFFFF]
    39           RenderBlock (anonymous) at (8,2) size 50x13
    40             RenderText at (0,0) size 50x13
    41               text run at (0,0) width 50: "Five Tabs"
     39          RenderBlock (anonymous) at (0,0) size 81x18
     40            RenderText at (8,2) size 50x13
     41              text run at (8,2) width 50: "Five Tabs"
    4242        RenderText {#text} at (0,0) size 0x0
    4343        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/option-text-clip-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (702,14) size 0x0
    99      RenderMenuList {SELECT} at (0,20) size 150x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 119x13
    11           RenderText at (0,0) size 130x13
    12             text run at (0,0) width 130: "12345 6789 ABCD EFGH"
     10        RenderBlock (anonymous) at (0,0) size 150x18
     11          RenderText at (8,2) size 130x13
     12            text run at (8,2) width 130: "12345 6789 ABCD EFGH"
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-accesskey-expected.txt

    r19707 r24604  
    66      RenderBlock (anonymous) at (0,0) size 784x22
    77        RenderMenuList {SELECT} at (2,2) size 54x18 [bgcolor=#FFFFFF]
    8           RenderBlock (anonymous) at (8,2) size 23x13
    9             RenderText at (0,0) size 23x13
    10               text run at (0,0) width 23: "blaa"
     8          RenderBlock (anonymous) at (0,0) size 54x18
     9            RenderText at (8,2) size 23x13
     10              text run at (8,2) width 23: "blaa"
    1111        RenderText {#text} at (58,1) size 486x18
    1212          text run at (58,1) width 486: " Press ctrl-a to activate the select. Works as layout test too using eventSender."
  • trunk/LayoutTests/fast/forms/select-align-expected.txt

    r18529 r24604  
    99      RenderBlock (anonymous) at (0,34) size 784x110
    1010        RenderMenuList {SELECT} at (0,2) size 300x18 [bgcolor=#FFFFFF]
    11           RenderBlock (anonymous) at (8,2) size 269x13
    12             RenderText at (0,0) size 163x13
    13               text run at (0,0) width 163: "This is should be left justified."
     11          RenderBlock (anonymous) at (0,0) size 300x18
     12            RenderText at (8,2) size 163x13
     13              text run at (8,2) width 163: "This is should be left justified."
    1414        RenderText {#text} at (300,1) size 4x18
    1515          text run at (300,1) width 4: " "
    1616        RenderBR {BR} at (0,0) size 0x0
    1717        RenderMenuList {SELECT} at (0,24) size 300x18 [bgcolor=#FFFFFF]
    18           RenderBlock (anonymous) at (8,2) size 269x13
    19             RenderText at (0,0) size 163x13
    20               text run at (0,0) width 163: "This is should be left justified."
     18          RenderBlock (anonymous) at (0,0) size 300x18
     19            RenderText at (8,2) size 163x13
     20              text run at (8,2) width 163: "This is should be left justified."
    2121        RenderText {#text} at (300,23) size 4x18
    2222          text run at (300,23) width 4: " "
    2323        RenderBR {BR} at (0,0) size 0x0
    2424        RenderMenuList {SELECT} at (0,46) size 300x18 [bgcolor=#FFFFFF]
    25           RenderBlock (anonymous) at (8,2) size 269x13
    26             RenderText at (0,0) size 163x13
    27               text run at (0,0) width 163: "This is should be left justified."
     25          RenderBlock (anonymous) at (0,0) size 300x18
     26            RenderText at (8,2) size 163x13
     27              text run at (8,2) width 163: "This is should be left justified."
    2828        RenderText {#text} at (300,45) size 4x18
    2929          text run at (300,45) width 4: " "
    3030        RenderBR {BR} at (0,0) size 0x0
    3131        RenderMenuList {SELECT} at (0,68) size 300x18 [bgcolor=#FFFFFF]
    32           RenderBlock (anonymous) at (8,2) size 269x13
    33             RenderText at (0,0) size 163x13
    34               text run at (0,0) width 163: "This is should be left justified."
     32          RenderBlock (anonymous) at (0,0) size 300x18
     33            RenderText at (8,2) size 163x13
     34              text run at (8,2) width 163: "This is should be left justified."
    3535        RenderText {#text} at (300,67) size 4x18
    3636          text run at (300,67) width 4: " "
    3737        RenderBR {BR} at (0,0) size 0x0
    3838        RenderMenuList {SELECT} at (0,90) size 300x18 [bgcolor=#FFFFFF]
    39           RenderBlock (anonymous) at (8,2) size 269x13
    40             RenderText at (0,0) size 163x13
    41               text run at (0,0) width 163: "This is should be left justified."
     39          RenderBlock (anonymous) at (0,0) size 300x18
     40            RenderText at (8,2) size 163x13
     41              text run at (8,2) width 163: "This is should be left justified."
    4242        RenderText {#text} at (0,0) size 0x0
    4343        RenderText {#text} at (0,0) size 0x0
    4444      RenderBlock {DIV} at (0,144) size 784x22
    4545        RenderMenuList {SELECT} at (0,2) size 300x18 [bgcolor=#FFFFFF]
    46           RenderBlock (anonymous) at (8,2) size 269x13
    47             RenderText at (0,0) size 163x13
    48               text run at (0,0) width 163: "This is should be left justified."
     46          RenderBlock (anonymous) at (0,0) size 300x18
     47            RenderText at (8,2) size 163x13
     48              text run at (8,2) width 163: "This is should be left justified."
  • trunk/LayoutTests/fast/forms/select-baseline-expected.txt

    r19517 r24604  
    88      RenderBR {BR} at (462,14) size 0x0
    99      RenderMenuList {SELECT} at (2,22) size 36x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 5x13
    11           RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     10        RenderBlock (anonymous) at (0,0) size 36x18
     11          RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    1212      RenderText {#text} at (40,21) size 29x18
    1313        text run at (40,21) width 29: " test "
    1414      RenderMenuList {SELECT} at (71,22) size 51x18 [bgcolor=#FFFFFF]
    15         RenderBlock (anonymous) at (8,2) size 20x13
    16           RenderText at (0,0) size 20x13
    17             text run at (0,0) width 20: "test"
     15        RenderBlock (anonymous) at (0,0) size 51x18
     16          RenderText at (8,2) size 20x13
     17            text run at (8,2) width 20: "test"
    1818      RenderText {#text} at (124,21) size 4x18
    1919        text run at (124,21) width 4: " "
    2020      RenderMenuList {SELECT} at (130,22) size 36x18 [color=#00008B] [bgcolor=#ADD8E6] [border: (1px solid #00008B)]
    21         RenderBlock (anonymous) at (9,2) size 5x13
    22           RenderBR at (0,0) size 0x13 [bgcolor=#ADD8E6] [border: (1px solid #00008B)]
     21        RenderBlock (anonymous) at (1,1) size 34x16
     22          RenderBR at (8,1) size 0x13 [bgcolor=#ADD8E6] [border: (1px solid #00008B)]
    2323      RenderText {#text} at (168,21) size 29x18
    2424        text run at (168,21) width 29: " test "
    2525      RenderMenuList {SELECT} at (199,22) size 51x18 [color=#00008B] [bgcolor=#ADD8E6] [border: (1px solid #00008B)]
    26         RenderBlock (anonymous) at (9,2) size 20x13
    27           RenderText at (0,0) size 20x13
    28             text run at (0,0) width 20: "test"
     26        RenderBlock (anonymous) at (1,1) size 49x16
     27          RenderText at (8,1) size 20x13
     28            text run at (8,1) width 20: "test"
    2929      RenderText {#text} at (252,21) size 4x18
    3030        text run at (252,21) width 4: " "
  • trunk/LayoutTests/fast/forms/select-change-listbox-to-popup-expected.txt

    r16044 r24604  
    88      RenderBR {BR} at (441,14) size 0x0
    99      RenderMenuList {SELECT} at (2,20) size 225x18 [bgcolor=#FFFFFF]
    10         RenderBlock (anonymous) at (8,2) size 194x13
    11           RenderText at (0,0) size 195x13
    12             text run at (0,0) width 195: "This should turn into a popup menu"
     10        RenderBlock (anonymous) at (0,0) size 225x18
     11          RenderText at (8,2) size 195x13
     12            text run at (8,2) width 195: "This should turn into a popup menu"
    1313      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-disabled-appearance-expected.txt

    r19020 r24604  
    1818      RenderBlock {P} at (0,34) size 784x22
    1919        RenderMenuList {SELECT} at (2,2) size 161x18 [color=#808080] [bgcolor=#FFFFFF]
    20           RenderBlock (anonymous) at (8,2) size 130x13
    21             RenderText at (0,0) size 132x13
    22               text run at (0,0) width 132: "This text should be gray"
     20          RenderBlock (anonymous) at (0,0) size 161x18
     21            RenderText at (8,2) size 132x13
     22              text run at (8,2) width 132: "This text should be gray"
    2323        RenderText {#text} at (0,0) size 0x0
    2424      RenderBlock {P} at (0,72) size 784x22
    2525        RenderMenuList {SELECT} at (2,2) size 167x18 [bgcolor=#FFFFFF]
    26           RenderBlock (anonymous) at (8,2) size 136x13
    27             RenderText at (0,0) size 137x13
    28               text run at (0,0) width 137: "This text should be black"
     26          RenderBlock (anonymous) at (0,0) size 167x18
     27            RenderText at (8,2) size 137x13
     28              text run at (8,2) width 137: "This text should be black"
    2929        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-initial-position-expected.txt

    r19797 r24604  
    3030      RenderBR {BR} at (93,251) size 0x0
    3131      RenderMenuList {SELECT} at (2,257) size 155x18 [bgcolor=#FFFFFF]
    32         RenderBlock (anonymous) at (8,2) size 124x13
    33           RenderText at (0,0) size 124x13
    34             text run at (0,0) width 124: "this should be selected"
     32        RenderBlock (anonymous) at (0,0) size 155x18
     33          RenderText at (8,2) size 124x13
     34            text run at (8,2) width 124: "this should be selected"
    3535      RenderText {#text} at (159,256) size 4x18
    3636        text run at (159,256) width 4: " "
     
    4040      RenderBR {BR} at (161,291) size 0x0
    4141      RenderMenuList {SELECT} at (2,297) size 155x18 [bgcolor=#FFFFFF]
    42         RenderBlock (anonymous) at (8,2) size 124x13
    43           RenderText at (0,0) size 124x13
    44             text run at (0,0) width 124: "this should be selected"
     42        RenderBlock (anonymous) at (0,0) size 155x18
     43          RenderText at (8,2) size 124x13
     44            text run at (8,2) width 124: "this should be selected"
    4545      RenderText {#text} at (159,296) size 4x18
    4646        text run at (159,296) width 4: " "
     
    5151      RenderBR {BR} at (211,331) size 0x0
    5252      RenderMenuList {SELECT} at (2,337) size 155x18 [bgcolor=#FFFFFF]
    53         RenderBlock (anonymous) at (8,2) size 124x13
    54           RenderText at (0,0) size 124x13
    55             text run at (0,0) width 124: "this should be selected"
     53        RenderBlock (anonymous) at (0,0) size 155x18
     54          RenderText at (8,2) size 124x13
     55            text run at (8,2) width 124: "this should be selected"
    5656      RenderText {#text} at (0,0) size 0x0
    5757      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-selected-expected.txt

    r16044 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,2) size 262x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 231x13
    8           RenderText at (0,0) size 166x13
    9             text run at (0,0) width 166: "should see this option selected"
     7        RenderBlock (anonymous) at (0,0) size 262x18
     8          RenderText at (8,2) size 166x13
     9            text run at (8,2) width 166: "should see this option selected"
    1010      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-size-expected.txt

    r19034 r24604  
    99      RenderBR {BR} at (406,32) size 0x0
    1010      RenderMenuList {SELECT} at (2,38) size 51x18 [bgcolor=#FFFFFF]
    11         RenderBlock (anonymous) at (8,2) size 20x13
    12           RenderText at (0,0) size 20x13
    13             text run at (0,0) width 20: "test"
     11        RenderBlock (anonymous) at (0,0) size 51x18
     12          RenderText at (8,2) size 20x13
     13            text run at (8,2) width 20: "test"
    1414      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-style-expected.txt

    r16044 r24604  
    99      RenderBR {BR} at (0,0) size 0x0
    1010      RenderMenuList {SELECT} at (2,20) size 51x18 [bgcolor=#FF0000] [border: (1px solid #000000)]
    11         RenderBlock (anonymous) at (9,2) size 20x13
    12           RenderText at (0,0) size 20x13
    13             text run at (0,0) width 20: "test"
     11        RenderBlock (anonymous) at (1,1) size 49x16
     12          RenderText at (8,1) size 20x13
     13            text run at (8,1) width 20: "test"
  • trunk/LayoutTests/fast/forms/select-visual-hebrew-expected.txt

    r16044 r24604  
    1414      RenderBlock (anonymous) at (0,86) size 784x22
    1515        RenderMenuList {SELECT} at (2,2) size 61x18 [bgcolor=#FFFFFF]
    16           RenderBlock (anonymous) at (8,2) size 30x13
    17             RenderText at (0,0) size 30x13
    18               text run at (0,0) width 30 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
     16          RenderBlock (anonymous) at (0,0) size 61x18
     17            RenderText at (8,2) size 30x13
     18              text run at (8,2) width 30 RTL: "\x{5DB}\x{5E4}\x{5EA}\x{5D5}\x{5E8}"
    1919        RenderText {#text} at (0,0) size 0x0
    2020        RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/select-writing-direction-natural-expected.txt

    r21900 r24604  
    2525        RenderBlock {DIV} at (0,0) size 784x22
    2626          RenderMenuList {SELECT} at (0,2) size 70x18 [bgcolor=#FFFFFF]
    27             RenderBlock (anonymous) at (8,2) size 39x13
    28               RenderText at (0,0) size 16x13
    29                 text run at (0,0) width 8: "A"
    30                 text run at (8,0) width 8 RTL: "\x{5D0}"
     27            RenderBlock (anonymous) at (0,0) size 70x18
     28              RenderText at (8,2) size 16x13
     29                text run at (8,2) width 8: "A"
     30                text run at (16,2) width 8 RTL: "\x{5D0}"
    3131          RenderText {#text} at (70,1) size 4x18
    3232            text run at (70,1) width 4: " "
    3333          RenderMenuList {SELECT} at (74,2) size 70x18 [bgcolor=#FFFFFF]
    34             RenderBlock (anonymous) at (8,2) size 39x13
    35               RenderText at (0,0) size 16x13
    36                 text run at (0,0) width 8: "A"
    37                 text run at (8,0) width 8 RTL: "\x{5D0}"
     34            RenderBlock (anonymous) at (0,0) size 70x18
     35              RenderText at (8,2) size 16x13
     36                text run at (8,2) width 8: "A"
     37                text run at (16,2) width 8 RTL: "\x{5D0}"
    3838          RenderText {#text} at (144,1) size 4x18
    3939            text run at (144,1) width 4: " "
    4040          RenderMenuList {SELECT} at (148,2) size 70x18 [bgcolor=#FFFFFF]
    41             RenderBlock (anonymous) at (8,2) size 39x13
    42               RenderText at (0,0) size 19x13
    43                 text run at (0,0) width 8: "A"
    44                 text run at (8,0) width 11 RTL: "(\x{5D0}"
     41            RenderBlock (anonymous) at (0,0) size 70x18
     42              RenderText at (8,2) size 19x13
     43                text run at (8,2) width 8: "A"
     44                text run at (16,2) width 11 RTL: "(\x{5D0}"
    4545          RenderText {#text} at (218,1) size 4x18
    4646            text run at (218,1) width 4: " "
    4747          RenderMenuList {SELECT} at (222,2) size 70x18 [bgcolor=#FFFFFF]
    48             RenderBlock (anonymous) at (8,2) size 39x13
    49               RenderText at (0,0) size 20x13
    50                 text run at (0,0) width 12: "(A"
    51                 text run at (12,0) width 8 RTL: "\x{5D0}"
     48            RenderBlock (anonymous) at (0,0) size 70x18
     49              RenderText at (8,2) size 20x13
     50                text run at (8,2) width 12: "(A"
     51                text run at (20,2) width 8 RTL: "\x{5D0}"
    5252          RenderText {#text} at (0,0) size 0x0
    5353        RenderBlock {DIV} at (0,22) size 784x22
    5454          RenderMenuList {SELECT} at (492,2) size 70x18 [bgcolor=#FFFFFF]
    55             RenderBlock (anonymous) at (8,2) size 39x13
    56               RenderText at (0,0) size 16x13
    57                 text run at (0,0) width 8: "A"
    58                 text run at (8,0) width 8 RTL: "\x{5D0}"
     55            RenderBlock (anonymous) at (0,0) size 70x18
     56              RenderText at (8,2) size 16x13
     57                text run at (8,2) width 8: "A"
     58                text run at (16,2) width 8 RTL: "\x{5D0}"
    5959          RenderText {#text} at (562,1) size 4x18
    6060            text run at (562,1) width 4: " "
    6161          RenderMenuList {SELECT} at (566,2) size 70x18 [bgcolor=#FFFFFF]
    62             RenderBlock (anonymous) at (8,2) size 39x13
    63               RenderText at (0,0) size 16x13
    64                 text run at (0,0) width 8: "A"
    65                 text run at (8,0) width 8 RTL: "\x{5D0}"
     62            RenderBlock (anonymous) at (0,0) size 70x18
     63              RenderText at (8,2) size 16x13
     64                text run at (8,2) width 8: "A"
     65                text run at (16,2) width 8 RTL: "\x{5D0}"
    6666          RenderText {#text} at (636,1) size 4x18
    6767            text run at (636,1) width 4: " "
    6868          RenderMenuList {SELECT} at (640,2) size 70x18 [bgcolor=#FFFFFF]
    69             RenderBlock (anonymous) at (8,2) size 39x13
    70               RenderText at (0,0) size 19x13
    71                 text run at (0,0) width 8: "A"
    72                 text run at (8,0) width 11 RTL: "(\x{5D0}"
     69            RenderBlock (anonymous) at (0,0) size 70x18
     70              RenderText at (8,2) size 19x13
     71                text run at (8,2) width 8: "A"
     72                text run at (16,2) width 11 RTL: "(\x{5D0}"
    7373          RenderText {#text} at (710,1) size 4x18
    7474            text run at (710,1) width 4: " "
    7575          RenderMenuList {SELECT} at (714,2) size 70x18 [bgcolor=#FFFFFF]
    76             RenderBlock (anonymous) at (8,2) size 39x13
    77               RenderText at (0,0) size 20x13
    78                 text run at (0,0) width 12: "(A"
    79                 text run at (12,0) width 8 RTL: "\x{5D0}"
     76            RenderBlock (anonymous) at (0,0) size 70x18
     77              RenderText at (8,2) size 20x13
     78                text run at (8,2) width 12: "(A"
     79                text run at (20,2) width 8 RTL: "\x{5D0}"
    8080          RenderText {#text} at (0,0) size 0x0
    8181      RenderBlock {DIV} at (0,130) size 784x44
    8282        RenderBlock {DIV} at (0,0) size 784x22
    8383          RenderMenuList {SELECT} at (222,2) size 70x18 [bgcolor=#FFFFFF]
    84             RenderBlock (anonymous) at (8,2) size 39x13
    85               RenderText at (0,0) size 16x13
    86                 text run at (0,0) width 8: "A"
    87                 text run at (8,0) width 8 RTL: "\x{5D0}"
     84            RenderBlock (anonymous) at (0,0) size 70x18
     85              RenderText at (8,2) size 16x13
     86                text run at (8,2) width 8: "A"
     87                text run at (16,2) width 8 RTL: "\x{5D0}"
    8888          RenderText {#text} at (218,1) size 4x18
    8989            text run at (218,1) width 4 RTL: " "
    9090          RenderMenuList {SELECT} at (148,2) size 70x18 [bgcolor=#FFFFFF]
    91             RenderBlock (anonymous) at (8,2) size 39x13
    92               RenderText at (0,0) size 16x13
    93                 text run at (0,0) width 8: "A"
    94                 text run at (8,0) width 8 RTL: "\x{5D0}"
     91            RenderBlock (anonymous) at (0,0) size 70x18
     92              RenderText at (8,2) size 16x13
     93                text run at (8,2) width 8: "A"
     94                text run at (16,2) width 8 RTL: "\x{5D0}"
    9595          RenderText {#text} at (144,1) size 4x18
    9696            text run at (144,1) width 4 RTL: " "
    9797          RenderMenuList {SELECT} at (74,2) size 70x18 [bgcolor=#FFFFFF]
    98             RenderBlock (anonymous) at (8,2) size 39x13
    99               RenderText at (0,0) size 19x13
    100                 text run at (0,0) width 8: "A"
    101                 text run at (8,0) width 11 RTL: "(\x{5D0}"
     98            RenderBlock (anonymous) at (0,0) size 70x18
     99              RenderText at (8,2) size 19x13
     100                text run at (8,2) width 8: "A"
     101                text run at (16,2) width 11 RTL: "(\x{5D0}"
    102102          RenderText {#text} at (70,1) size 4x18
    103103            text run at (70,1) width 4 RTL: " "
    104104          RenderMenuList {SELECT} at (0,2) size 70x18 [bgcolor=#FFFFFF]
    105             RenderBlock (anonymous) at (8,2) size 39x13
    106               RenderText at (0,0) size 20x13
    107                 text run at (0,0) width 12: "(A"
    108                 text run at (12,0) width 8 RTL: "\x{5D0}"
     105            RenderBlock (anonymous) at (0,0) size 70x18
     106              RenderText at (8,2) size 20x13
     107                text run at (8,2) width 12: "(A"
     108                text run at (20,2) width 8 RTL: "\x{5D0}"
    109109          RenderText {#text} at (0,0) size 0x0
    110110        RenderBlock {DIV} at (0,22) size 784x22
    111111          RenderMenuList {SELECT} at (714,2) size 70x18 [bgcolor=#FFFFFF]
    112             RenderBlock (anonymous) at (8,2) size 39x13
    113               RenderText at (0,0) size 16x13
    114                 text run at (0,0) width 8: "A"
    115                 text run at (8,0) width 8 RTL: "\x{5D0}"
     112            RenderBlock (anonymous) at (0,0) size 70x18
     113              RenderText at (8,2) size 16x13
     114                text run at (8,2) width 8: "A"
     115                text run at (16,2) width 8 RTL: "\x{5D0}"
    116116          RenderText {#text} at (710,1) size 4x18
    117117            text run at (710,1) width 4 RTL: " "
    118118          RenderMenuList {SELECT} at (640,2) size 70x18 [bgcolor=#FFFFFF]
    119             RenderBlock (anonymous) at (8,2) size 39x13
    120               RenderText at (0,0) size 16x13
    121                 text run at (0,0) width 8: "A"
    122                 text run at (8,0) width 8 RTL: "\x{5D0}"
     119            RenderBlock (anonymous) at (0,0) size 70x18
     120              RenderText at (8,2) size 16x13
     121                text run at (8,2) width 8: "A"
     122                text run at (16,2) width 8 RTL: "\x{5D0}"
    123123          RenderText {#text} at (636,1) size 4x18
    124124            text run at (636,1) width 4 RTL: " "
    125125          RenderMenuList {SELECT} at (566,2) size 70x18 [bgcolor=#FFFFFF]
    126             RenderBlock (anonymous) at (8,2) size 39x13
    127               RenderText at (0,0) size 19x13
    128                 text run at (0,0) width 8: "A"
    129                 text run at (8,0) width 11 RTL: "(\x{5D0}"
     126            RenderBlock (anonymous) at (0,0) size 70x18
     127              RenderText at (8,2) size 19x13
     128                text run at (8,2) width 8: "A"
     129                text run at (16,2) width 11 RTL: "(\x{5D0}"
    130130          RenderText {#text} at (562,1) size 4x18
    131131            text run at (562,1) width 4 RTL: " "
    132132          RenderMenuList {SELECT} at (492,2) size 70x18 [bgcolor=#FFFFFF]
    133             RenderBlock (anonymous) at (8,2) size 39x13
    134               RenderText at (0,0) size 20x13
    135                 text run at (0,0) width 12: "(A"
    136                 text run at (12,0) width 8 RTL: "\x{5D0}"
     133            RenderBlock (anonymous) at (0,0) size 70x18
     134              RenderText at (8,2) size 20x13
     135                text run at (8,2) width 12: "(A"
     136                text run at (20,2) width 8 RTL: "\x{5D0}"
    137137          RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/forms/stuff-on-my-optgroup-expected.txt

    r21697 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,2) size 68x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 37x13
    8           RenderText at (0,0) size 22x13
    9             text run at (0,0) width 22: "One"
     7        RenderBlock (anonymous) at (0,0) size 68x18
     8          RenderText at (8,2) size 22x13
     9            text run at (8,2) width 22: "One"
    1010      RenderBR {BR} at (72,15) size 0x0
    1111      RenderMenuList {SELECT} at (2,24) size 68x18 [bgcolor=#FFFFFF]
    12         RenderBlock (anonymous) at (8,2) size 37x13
    13           RenderText at (0,0) size 22x13
    14             text run at (0,0) width 22: "One"
     12        RenderBlock (anonymous) at (0,0) size 68x18
     13          RenderText at (8,2) size 22x13
     14            text run at (8,2) width 22: "One"
    1515      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/html/keygen-expected.txt

    r19988 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {KEYGEN} at (2,2) size 148x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 117x13
    8           RenderText at (0,0) size 99x13
    9             text run at (0,0) width 99: "2048 (High Grade)"
     7        RenderBlock (anonymous) at (0,0) size 148x18
     8          RenderText at (8,2) size 99x13
     9            text run at (8,2) width 99: "2048 (High Grade)"
    1010      RenderText {#text} at (0,0) size 0x0
    1111      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/invalid/014-expected.txt

    r16044 r24604  
    1111      RenderBlock {FORM} at (0,18) size 784x22
    1212        RenderMenuList {SELECT} at (2,2) size 39x18 [bgcolor=#FFFFFF]
    13           RenderBlock (anonymous) at (8,2) size 8x13
    14             RenderText at (0,0) size 8x13
    15               text run at (0,0) width 8: "A"
     13          RenderBlock (anonymous) at (0,0) size 39x18
     14            RenderText at (8,2) size 8x13
     15              text run at (8,2) width 8: "A"
    1616        RenderText {#text} at (0,0) size 0x0
    1717      RenderBlock {P} at (0,56) size 784x0
     
    2020    RenderBlock {FORM} at (2,2) size 43x22
    2121      RenderMenuList {SELECT} at (2,2) size 39x18 [bgcolor=#FFFFFF]
    22         RenderBlock (anonymous) at (8,2) size 8x13
    23           RenderText at (0,0) size 8x13
    24             text run at (0,0) width 8: "A"
     22        RenderBlock (anonymous) at (0,0) size 39x18
     23          RenderText at (8,2) size 8x13
     24            text run at (8,2) width 8: "A"
    2525      RenderText {#text} at (0,0) size 0x0
    2626layer at (470,42) size 4x4
  • trunk/LayoutTests/fast/invalid/residual-style-expected.txt

    r21440 r24604  
    439439          text run at (0,1) width 76: "KEYGEN: "
    440440        RenderMenuList {KEYGEN} at (78,2) size 148x18 [bgcolor=#FFFFFF]
    441           RenderBlock (anonymous) at (8,2) size 117x13
    442             RenderText at (0,0) size 99x13
    443               text run at (0,0) width 99: "2048 (High Grade)"
     441          RenderBlock (anonymous) at (0,0) size 148x18
     442            RenderText at (8,2) size 99x13
     443              text run at (8,2) width 99: "2048 (High Grade)"
    444444        RenderInline {FONT} at (0,0) size 171x18 [color=#008000]
    445445          RenderText {#text} at (228,1) size 171x18
     
    545545        RenderInline {FONT} at (0,0) size 232x18 [color=#008000]
    546546          RenderMenuList {SELECT} at (97,2) size 53x18 [color=#000000] [bgcolor=#FFFFFF]
    547             RenderBlock (anonymous) at (8,2) size 22x13
    548               RenderText at (0,0) size 22x13
    549                 text run at (0,0) width 22: "One"
     547            RenderBlock (anonymous) at (0,0) size 53x18
     548              RenderText at (8,2) size 22x13
     549                text run at (8,2) width 22: "One"
    550550          RenderText {#text} at (152,1) size 175x18
    551551            text run at (152,1) width 175: " All of this should be green."
     
    557557        RenderInline {FONT} at (0,0) size 233x18 [color=#008000]
    558558          RenderMenuList {SELECT} at (70,2) size 54x18 [color=#000000] [bgcolor=#FFFFFF]
    559             RenderBlock (anonymous) at (8,2) size 23x13
    560               RenderText at (0,0) size 22x13
    561                 text run at (0,0) width 22: "One"
     559            RenderBlock (anonymous) at (0,0) size 54x18
     560              RenderText at (8,2) size 22x13
     561                text run at (8,2) width 22: "One"
    562562          RenderText {#text} at (126,1) size 175x18
    563563            text run at (126,1) width 175: " All of this should be green."
     
    635635        RenderInline {FONT} at (0,0) size 211x18 [color=#008000]
    636636          RenderMenuList {SELECT} at (70,2) size 36x18 [color=#000000] [bgcolor=#FFFFFF]
    637             RenderBlock (anonymous) at (8,2) size 5x13
    638               RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     637            RenderBlock (anonymous) at (0,0) size 36x18
     638              RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    639639          RenderText {#text} at (108,1) size 171x18
    640640            text run at (108,1) width 171: "All of this should be green."
  • trunk/LayoutTests/fast/parser/document-write-option-expected.txt

    r16044 r24604  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderMenuList {SELECT} at (2,2) size 324x18 [bgcolor=#FFFFFF]
    7         RenderBlock (anonymous) at (8,2) size 293x13
    8           RenderText at (0,0) size 294x13
    9             text run at (0,0) width 294: "This is a very long string so it makes the select bigger."
     7        RenderBlock (anonymous) at (0,0) size 324x18
     8          RenderText at (8,2) size 294x13
     9            text run at (8,2) width 294: "This is a very long string so it makes the select bigger."
    1010      RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/fast/replaced/replaced-breaking-expected.txt

    r19001 r24604  
    3030        RenderText {#text} at (0,0) size 0x0
    3131        RenderMenuList {SELECT} at (3,191) size 62x18 [bgcolor=#FFFFFF]
    32           RenderBlock (anonymous) at (8,2) size 31x13
    33             RenderText at (0,0) size 31x13
    34               text run at (0,0) width 31: "select"
     32          RenderBlock (anonymous) at (0,0) size 62x18
     33            RenderText at (8,2) size 31x13
     34              text run at (8,2) width 31: "select"
    3535        RenderMenuList {SELECT} at (3,213) size 62x18 [bgcolor=#FFFFFF]
    36           RenderBlock (anonymous) at (8,2) size 31x13
    37             RenderText at (0,0) size 31x13
    38               text run at (0,0) width 31: "select"
     36          RenderBlock (anonymous) at (0,0) size 62x18
     37            RenderText at (8,2) size 31x13
     38              text run at (8,2) width 31: "select"
    3939        RenderText {#text} at (0,0) size 0x0
    4040        RenderListBox {SELECT} at (3,235) size 48x57 [bgcolor=#FFFFFF] [border: (1px inset #808080)]
  • trunk/LayoutTests/fast/replaced/replaced-breaking-mixture-expected.txt

    r18842 r24604  
    1212          text run at (0,0) width 25: "Foo"
    1313        RenderMenuList {SELECT} at (2,20) size 53x18 [bgcolor=#FFFFFF]
    14           RenderBlock (anonymous) at (8,2) size 22x13
    15             RenderText at (0,0) size 22x13
    16               text run at (0,0) width 22: "One"
     14          RenderBlock (anonymous) at (0,0) size 53x18
     15            RenderText at (8,2) size 22x13
     16              text run at (8,2) width 22: "One"
    1717      RenderBlock {DIV} at (0,83) size 10x41
    1818        RenderText {#text} at (0,0) size 25x18
     
    2525      RenderBlock {DIV} at (0,167) size 10x40
    2626        RenderMenuList {SELECT} at (2,2) size 53x18 [bgcolor=#FFFFFF]
    27           RenderBlock (anonymous) at (8,2) size 22x13
    28             RenderText at (0,0) size 22x13
    29               text run at (0,0) width 22: "One"
     27          RenderBlock (anonymous) at (0,0) size 53x18
     28            RenderText at (8,2) size 22x13
     29              text run at (8,2) width 22: "One"
    3030        RenderText {#text} at (0,22) size 25x18
    3131          text run at (0,22) width 25: "Foo"
  • trunk/LayoutTests/fast/replaced/three-selects-break-expected.txt

    r19517 r24604  
    66      RenderBlock {DIV} at (0,0) size 5x66
    77        RenderMenuList {SELECT} at (2,2) size 36x18 [bgcolor=#FFFFFF]
    8           RenderBlock (anonymous) at (8,2) size 5x13
    9             RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     8          RenderBlock (anonymous) at (0,0) size 36x18
     9            RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    1010        RenderMenuList {SELECT} at (2,24) size 36x18 [bgcolor=#FFFFFF]
    11           RenderBlock (anonymous) at (8,2) size 5x13
    12             RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     11          RenderBlock (anonymous) at (0,0) size 36x18
     12            RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
    1313        RenderMenuList {SELECT} at (2,46) size 36x18 [bgcolor=#FFFFFF]
    14           RenderBlock (anonymous) at (8,2) size 5x13
    15             RenderBR at (0,0) size 0x13 [bgcolor=#FFFFFF]
     14          RenderBlock (anonymous) at (0,0) size 36x18
     15            RenderBR at (8,2) size 0x13 [bgcolor=#FFFFFF]
  • trunk/LayoutTests/fast/replaced/width100percent-expected.txt

    r20957 r24604  
    169169            RenderTableCell {TD} at (1,1) size 53x24 [r=0 c=0 rs=1 cs=1]
    170170              RenderMenuList {SELECT} at (1,3) size 51x18 [bgcolor=#FFFFFF]
    171                 RenderBlock (anonymous) at (8,2) size 20x13
    172                   RenderText at (0,0) size 20x13
    173                     text run at (0,0) width 20: "one"
     171                RenderBlock (anonymous) at (0,0) size 51x18
     172                  RenderText at (8,2) size 20x13
     173                    text run at (8,2) width 20: "one"
    174174            RenderTableCell {TD} at (55,1) size 33x24 [r=0 c=1 rs=1 cs=1]
    175175              RenderMenuList {SELECT} at (1,3) size 31x18 [bgcolor=#FFFFFF]
    176                 RenderBlock (anonymous) at (8,2) size 0x13
    177                   RenderText at (0,0) size 20x13
    178                     text run at (0,0) width 20: "two"
     176                RenderBlock (anonymous) at (0,0) size 31x18
     177                  RenderText at (8,2) size 20x13
     178                    text run at (8,2) width 20: "two"
    179179            RenderTableCell {TD} at (89,1) size 33x24 [r=0 c=2 rs=1 cs=1]
    180180              RenderMenuList {SELECT} at (1,3) size 31x18 [bgcolor=#FFFFFF]
    181                 RenderBlock (anonymous) at (8,2) size 0x13
    182                   RenderText at (0,0) size 28x13
    183                     text run at (0,0) width 28: "three"
     181                RenderBlock (anonymous) at (0,0) size 31x18
     182                  RenderText at (8,2) size 28x13
     183                    text run at (8,2) width 28: "three"
    184184            RenderTableCell {TD} at (123,3) size 645x20 [r=0 c=3 rs=1 cs=1]
    185185              RenderText {#text} at (1,1) size 4x18
  • trunk/LayoutTests/fast/text/international/bidi-menulist-expected.txt

    r21541 r24604  
    1616        RenderBR {BR} at (275,14) size 0x0
    1717        RenderMenuList {SELECT} at (0,20) size 100x18 [bgcolor=#FFFFFF]
    18           RenderBlock (anonymous) at (8,2) size 69x13
    19             RenderText at (0,0) size 60x13
    20               text run at (0,0) width 19: "abc"
    21               text run at (19,0) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
     18          RenderBlock (anonymous) at (0,0) size 100x18
     19            RenderText at (8,2) size 60x13
     20              text run at (8,2) width 19: "abc"
     21              text run at (27,2) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
    2222        RenderBR {BR} at (100,33) size 0x0
    2323      RenderBlock {DIV} at (0,110) size 100x18
     
    3131        RenderBR {BR} at (113,32) size 0x0
    3232        RenderMenuList {SELECT} at (0,38) size 200x18 [bgcolor=#FFFFFF]
    33           RenderBlock (anonymous) at (8,2) size 169x13
    34             RenderText at (0,0) size 60x13
    35               text run at (0,0) width 19: "abc"
    36               text run at (19,0) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
     33          RenderBlock (anonymous) at (0,0) size 200x18
     34            RenderText at (8,2) size 60x13
     35              text run at (8,2) width 19: "abc"
     36              text run at (27,2) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
    3737        RenderBR {BR} at (200,51) size 0x0
    3838      RenderBlock {DIV} at (0,186) size 200x18
     
    4646        RenderBR {BR} at (70,32) size 0x0
    4747        RenderMenuList {SELECT} at (0,38) size 100x18 [bgcolor=#FFFFFF]
    48           RenderBlock (anonymous) at (8,2) size 69x13
    49             RenderText at (0,0) size 60x13
    50               text run at (0,0) width 19: "abc"
    51               text run at (19,0) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
     48          RenderBlock (anonymous) at (0,0) size 100x18
     49            RenderText at (8,2) size 60x13
     50              text run at (8,2) width 19: "abc"
     51              text run at (27,2) width 41 RTL: "\x{5D0}\x{5E4}\x{5E8}\x{5E1}\x{5DE}\x{5D5}\x{5DF}"
    5252        RenderBR {BR} at (100,51) size 0x0
    5353      RenderBlock {DIV} at (0,262) size 100x18
  • trunk/LayoutTests/http/tests/navigation/anchor-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/anchor-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/anchor-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/anchor-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/javascriptlink-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/javascriptlink-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/javascriptlink-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/javascriptlink-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/metaredirect-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/metaredirect-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/metaredirect-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/metaredirect-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/post-goback2-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/postredirect-goback2-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/redirect302-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/redirect302-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/redirect302-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/redirect302-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/relativeanchor-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/relativeanchor-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/relativeanchor-goback-expected.txt

    r22076 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/slowmetaredirect-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/slowtimerredirect-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-frames-loadsame-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-loadsame-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-reload-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/success200-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/timerredirect-basic-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 63x13
    56               text run at (0,0) width 63: "Initial Value"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 63x13
     56              text run at (8,2) width 63: "Initial Value"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/timerredirect-frames-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/timerredirect-goback-expected.txt

    r18264 r24604  
    5252        RenderBR {BR} at (148,258) size 0x0
    5353        RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    54           RenderBlock (anonymous) at (8,2) size 224x13
    55             RenderText at (0,0) size 225x13
    56               text run at (0,0) width 225: "Value set by User that should be Restored"
     54          RenderBlock (anonymous) at (0,0) size 255x18
     55            RenderText at (8,2) size 225x13
     56              text run at (8,2) width 225: "Value set by User that should be Restored"
    5757        RenderBR {BR} at (259,281) size 0x0
    5858        RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/http/tests/navigation/timerredirect-subframeload-expected.txt

    r20285 r24604  
    5858                RenderBR {BR} at (148,258) size 0x0
    5959                RenderMenuList {SELECT} at (2,268) size 255x18 [bgcolor=#FFFFFF]
    60                   RenderBlock (anonymous) at (8,2) size 224x13
    61                     RenderText at (0,0) size 63x13
    62                       text run at (0,0) width 63: "Initial Value"
     60                  RenderBlock (anonymous) at (0,0) size 255x18
     61                    RenderText at (8,2) size 63x13
     62                      text run at (8,2) width 63: "Initial Value"
    6363                RenderBR {BR} at (259,281) size 0x0
    6464                RenderTextControl {TEXTAREA} at (2,290) size 232x132 [bgcolor=#FFFFFF] [border: (1px solid #000000)]
  • trunk/LayoutTests/tables/mozilla/bugs/bug1188-expected.txt

    r21145 r24604  
    2121                  text run at (176,3) width 4: " "
    2222                RenderMenuList {SELECT} at (182,4) size 80x18 [bgcolor=#FFFFFF]
    23                   RenderBlock (anonymous) at (8,2) size 49x13
    24                     RenderText at (0,0) size 49x13
    25                       text run at (0,0) width 49: "Netscape"
     23                  RenderBlock (anonymous) at (0,0) size 80x18
     24                    RenderText at (8,2) size 49x13
     25                      text run at (8,2) width 49: "Netscape"
    2626                RenderTextControl {INPUT} at (266,3) size 217x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    2727                RenderText {#text} at (485,3) size 4x18
  • trunk/LayoutTests/tables/mozilla/bugs/bug18359-expected.txt

    r19346 r24604  
    3030              RenderTableCell {TD} at (111,29) size 467x24 [r=1 c=1 rs=1 cs=1]
    3131                RenderMenuList {SELECT} at (3,3) size 262x18 [bgcolor=#FFFFFF]
    32                   RenderBlock (anonymous) at (8,2) size 231x13
    33                     RenderText at (0,0) size 73x13
    34                       text run at (0,0) width 73: "a_abortinstall"
     32                  RenderBlock (anonymous) at (0,0) size 262x18
     33                    RenderText at (8,2) size 73x13
     34                      text run at (8,2) width 73: "a_abortinstall"
    3535                RenderText {#text} at (0,0) size 0x0
    3636              RenderTableCell {TD} at (580,29) size 88x24 [r=1 c=2 rs=1 cs=1]
  • trunk/LayoutTests/tables/mozilla/bugs/bug2479-3-expected.txt

    r19346 r24604  
    6868            text run at (0,2) width 263: "How does your browser fare on this test? "
    6969          RenderMenuList {SELECT} at (265,3) size 246x18 [bgcolor=#FFFFFF]
    70             RenderBlock (anonymous) at (8,2) size 215x13
    71               RenderText at (0,0) size 140x13
    72                 text run at (0,0) width 140: "The test renders correctly."
     70            RenderBlock (anonymous) at (0,0) size 246x18
     71              RenderText at (8,2) size 140x13
     72                text run at (8,2) width 140: "The test renders correctly."
    7373          RenderText {#text} at (513,2) size 4x18
    7474            text run at (513,2) width 4: " "
  • trunk/LayoutTests/tables/mozilla/bugs/bug2479-4-expected.txt

    r19346 r24604  
    186186            text run at (0,1) width 263: "How does your browser fare on this test? "
    187187          RenderMenuList {SELECT} at (265,2) size 473x18 [bgcolor=#FFFFFF]
    188             RenderBlock (anonymous) at (8,2) size 442x13
    189               RenderText at (0,0) size 442x13
    190                 text run at (0,0) width 442: "The tests all render identically, and this browser may or may not grok CSS2 tables."
     188            RenderBlock (anonymous) at (0,0) size 473x18
     189              RenderText at (8,2) size 442x13
     190                text run at (8,2) width 442: "The tests all render identically, and this browser may or may not grok CSS2 tables."
    191191          RenderText {#text} at (0,0) size 0x0
    192192          RenderInline {LABEL} at (0,0) size 222x18
  • trunk/LayoutTests/tables/mozilla/bugs/bug29326-expected.txt

    r19346 r24604  
    1010              RenderBlock {FORM} at (2,2) size 390x22
    1111                RenderMenuList {SELECT} at (2,2) size 54x18 [bgcolor=#FFFFFF]
    12                   RenderBlock (anonymous) at (8,2) size 23x13
    13                     RenderText at (0,0) size 23x13
    14                       text run at (0,0) width 23: "Test"
     12                  RenderBlock (anonymous) at (0,0) size 54x18
     13                    RenderText at (8,2) size 23x13
     14                      text run at (8,2) width 23: "Test"
    1515                RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/tables/mozilla/bugs/bug33855-expected.txt

    r19346 r24604  
    3333              RenderTableCell {TD} at (666,2) size 116x24 [r=0 c=5 rs=1 cs=1]
    3434                RenderMenuList {SELECT} at (3,3) size 110x18 [bgcolor=#FFFFFF]
    35                   RenderBlock (anonymous) at (8,2) size 79x13
    36                     RenderText at (0,0) size 78x13
    37                       text run at (0,0) width 78: "Choose folder "
     35                  RenderBlock (anonymous) at (0,0) size 110x18
     36                    RenderText at (8,2) size 78x13
     37                      text run at (8,2) width 78: "Choose folder "
    3838                RenderText {#text} at (0,0) size 0x0
    3939                RenderText {#text} at (0,0) size 0x0
  • trunk/LayoutTests/tables/mozilla/bugs/bug4382-expected.txt

    r19346 r24604  
    1818          text run at (189,2) width 4: " "
    1919        RenderMenuList {SELECT} at (195,3) size 77x18 [bgcolor=#FFFFFF]
    20           RenderBlock (anonymous) at (8,2) size 46x13
    21             RenderText at (0,0) size 32x13
    22               text run at (0,0) width 32: "Excite"
     20          RenderBlock (anonymous) at (0,0) size 77x18
     21            RenderText at (8,2) size 32x13
     22              text run at (8,2) width 32: "Excite"
    2323        RenderText {#text} at (0,0) size 0x0
    2424      RenderBlock (anonymous) at (0,57) size 784x36
     
    2929      RenderBlock {FORM} at (0,93) size 784x22
    3030        RenderMenuList {SELECT} at (2,2) size 230x18 [bgcolor=#FFFFFF]
    31           RenderBlock (anonymous) at (8,2) size 199x13
    32             RenderText at (0,0) size 57x13
    33               text run at (0,0) width 57: "Quick Link"
     31          RenderBlock (anonymous) at (0,0) size 230x18
     32            RenderText at (8,2) size 57x13
     33              text run at (8,2) width 57: "Quick Link"
    3434layer at (64,31) size 128x13
    3535  RenderBlock {DIV} at (3,3) size 128x13
  • trunk/LayoutTests/tables/mozilla/bugs/bug96334-expected.txt

    r19346 r24604  
    3333                            RenderTableCell {TD} at (2,2) size 183x26 [border: (1px solid #C0C0C0)] [r=0 c=0 rs=1 cs=1]
    3434                              RenderMenuList {SELECT} at (4,4) size 175x18 [bgcolor=#FFFFFF]
    35                                 RenderBlock (anonymous) at (8,2) size 144x13
    36                                   RenderText at (0,0) size 144x13
    37                                     text run at (0,0) width 144: "USE THIS JAVASCRIPT HERE"
     35                                RenderBlock (anonymous) at (0,0) size 175x18
     36                                  RenderText at (8,2) size 144x13
     37                                    text run at (8,2) width 144: "USE THIS JAVASCRIPT HERE"
    3838                              RenderText {#text} at (0,0) size 0x0
    3939            RenderTableCell {TD} at (211,2) size 774x40 [border: (1px solid #C0C0C0)] [r=0 c=1 rs=1 cs=1]
  • trunk/LayoutTests/tables/mozilla/core/margins-expected.txt

    r16044 r24604  
    1313              RenderBlock {FORM} at (2,2) size 390x22
    1414                RenderMenuList {SELECT} at (2,2) size 54x18 [bgcolor=#FFFFFF]
    15                   RenderBlock (anonymous) at (8,2) size 23x13
    16                     RenderText at (0,0) size 23x13
    17                       text run at (0,0) width 23: "Test"
     15                  RenderBlock (anonymous) at (0,0) size 54x18
     16                    RenderText at (8,2) size 23x13
     17                      text run at (8,2) width 23: "Test"
    1818                RenderText {#text} at (0,0) size 0x0
    1919      RenderBlock (anonymous) at (0,66) size 784x18
  • trunk/LayoutTests/tables/mozilla/dom/tableDom-expected.txt

    r18264 r24604  
    66      RenderBlock {FORM} at (0,0) size 784x23
    77        RenderMenuList {SELECT} at (2,3) size 95x18 [bgcolor=#FFFFFF]
    8           RenderBlock (anonymous) at (8,2) size 64x13
    9             RenderText at (0,0) size 62x13
    10               text run at (0,0) width 62: "append cell"
     8          RenderBlock (anonymous) at (0,0) size 95x18
     9            RenderText at (8,2) size 62x13
     10              text run at (8,2) width 62: "append cell"
    1111        RenderText {#text} at (99,2) size 52x18
    1212          text run at (99,2) width 52: "   tbody "
  • trunk/LayoutTests/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt

    r18264 r24604  
    136136                  text run at (0,0) width 259: "How does your browser fare on this test?"
    137137                RenderMenuList {SELECT} at (2,20) size 454x18 [color=#000000] [bgcolor=#FFFFFF]
    138                   RenderBlock (anonymous) at (8,2) size 423x13
    139                     RenderText at (0,0) size 214x13
    140                       text run at (0,0) width 214: "Document renders exactly as described."
     138                  RenderBlock (anonymous) at (0,0) size 454x18
     139                    RenderText at (8,2) size 214x13
     140                      text run at (8,2) width 214: "Document renders exactly as described."
    141141                RenderText {#text} at (0,0) size 0x0
    142142                RenderInline {LABEL} at (0,0) size 222x18
  • trunk/WebCore/ChangeLog

    r24603 r24604  
     12007-07-24  Adele Peterson  <adele@apple.com>
     2
     3        Reviewed by Hyatt and Adam.
     4
     5        Fix for <rdar://problem/5130590> REGRESSION: style="width:1px" on <select> element no longer hides the element
     6
     7        Removed hack that forced large padding on popup buttons.  Now we put that padding in the inner block, so that
     8        the specified width will be honored.
     9
     10        * rendering/RenderMenuList.cpp:
     11        (WebCore::RenderMenuList::adjustInnerStyle): Set the padding on the inner block based on the metrics provided by the theme.
     12        (WebCore::RenderMenuList::controlClipRect): Clip to the intersection of the inner content box and the outer content box.
     13         This will leave room for the arrows which sit in the inner box padding, and if the inner box ever spills out of the outer box,
     14         that will get clipped too.
     15        (WebCore::RenderMenuList::calcPrefWidths):  Add in the inner box's padding and border to the pref widths.
     16
     17        * rendering/RenderThemeMac.mm:
     18        (WebCore::RenderThemeMac::paintMenuList): Only inflate the rect for the shadow if the rect is big enough to fit the whole control.
     19         Also, on Leopard, the NSCell will draw outside of a small rect, so add a clip for that case.
     20        (WebCore::RenderThemeMac::paintMenuListButton): Restrict font scale to make sure the arrows will actually fit in the bounds vertically.
     21         Don't draw the arrows if they won't fit horizontally.  Reset padding.  Since WinIE doesn't honor padding for popups, its not critical to
     22         support padding at this time.
     23        (WebCore::RenderThemeMac::adjustMenuListStyle): Don't set the padding here.  Instead, we're going to set the padding on the inner block of the select.
     24        (WebCore::RenderThemeMac::adjustMenuListButtonStyle): ditto.
     25        (WebCore::RenderThemeMac::popupInternalPaddingLeft): Added.  Provides internal padding values for RenderMenuList.
     26        (WebCore::RenderThemeMac::popupInternalPaddingRight): ditto.
     27        (WebCore::RenderThemeMac::popupInternalPaddingTop): ditto.
     28        (WebCore::RenderThemeMac::popupInternalPaddingBottom): ditto.
     29        * rendering/RenderThemeMac.h:
     30
     31        * rendering/RenderThemeSafari.cpp:  The same changes that were made to RenderThemeMac were made here, with variations for the arrow differences.
     32          This code should be refactored and shared, but now did not seem like the right time to do that refactoring.
     33        (WebCore::RenderThemeSafari::paintMenuList):
     34        (WebCore::RenderThemeSafari::paintMenuListButton):
     35        (WebCore::RenderThemeSafari::adjustMenuListStyle):
     36        (WebCore::RenderThemeSafari::popupInternalPaddingLeft):
     37        (WebCore::RenderThemeSafari::popupInternalPaddingRight):
     38        (WebCore::RenderThemeSafari::popupInternalPaddingTop):
     39        (WebCore::RenderThemeSafari::popupInternalPaddingBottom):
     40        (WebCore::RenderThemeSafari::adjustMenuListButtonStyle):
     41        * rendering/RenderThemeSafari.h:
     42
     43        * rendering/RenderTheme.h: Added to provide internal padding values for RenderMenuList.
     44        (WebCore::RenderTheme::popupInternalPaddingLeft):
     45        (WebCore::RenderTheme::popupInternalPaddingRight):
     46        (WebCore::RenderTheme::popupInternalPaddingTop):
     47        (WebCore::RenderTheme::popupInternalPaddingBottom):
     48
    1492007-07-24  Lars Knoll  <lars@trolltech.com>
    250
  • trunk/WebCore/rendering/RenderMenuList.cpp

    r24481 r24604  
    9494{
    9595    m_innerBlock->style()->setBoxFlex(1.0f);
    96 
     96   
     97    m_innerBlock->style()->setPaddingLeft(Length(theme()->popupInternalPaddingLeft(style()), Fixed));
     98    m_innerBlock->style()->setPaddingRight(Length(theme()->popupInternalPaddingRight(style()), Fixed));
     99    m_innerBlock->style()->setPaddingTop(Length(theme()->popupInternalPaddingTop(style()), Fixed));
     100    m_innerBlock->style()->setPaddingBottom(Length(theme()->popupInternalPaddingBottom(style()), Fixed));
     101       
    97102    if (PopupMenu::itemWritingDirectionIsNatural()) {
    98103        // Items in the popup will not respect the CSS text-align and direction properties,
     
    221226IntRect RenderMenuList::controlClipRect(int tx, int ty) const
    222227{
    223     // Clip to the content box, since the arrow sits in the padding space, and we don't want to draw over it.
    224     return IntRect(tx + borderLeft() + paddingLeft(),
     228    // Clip to the intersection of the content box and the content box for the inner box
     229    // This will leave room for the arrows which sit in the inner box padding,
     230    // and if the inner box ever spills out of the outer box, that will get clipped too.
     231    IntRect outerBox(tx + borderLeft() + paddingLeft(),
    225232                   ty + borderTop() + paddingTop(),
    226                    contentWidth(), contentHeight());
     233                   contentWidth(),
     234                   contentHeight());
     235   
     236    IntRect innerBox(tx + borderLeft() + paddingLeft() + m_innerBlock->paddingLeft(),
     237                   ty + borderTop() + paddingTop() + m_innerBlock->paddingTop(),
     238                   m_innerBlock->contentWidth(),
     239                   m_innerBlock->contentHeight());
     240
     241    return intersection(outerBox, innerBox);
    227242}
    228243
     
    231246    m_minPrefWidth = 0;
    232247    m_maxPrefWidth = 0;
    233 
     248   
    234249    if (style()->width().isFixed() && style()->width().value() > 0)
    235250        m_minPrefWidth = m_maxPrefWidth = calcContentBoxWidth(style()->width().value());
     
    250265    }
    251266
    252     int toAdd = paddingLeft() + paddingRight() + borderLeft() + borderRight();
     267    int toAdd = paddingLeft() + paddingRight() + borderLeft() + borderRight() +
     268                m_innerBlock->paddingLeft() + m_innerBlock->paddingRight() + m_innerBlock->borderLeft() + m_innerBlock->borderRight();
    253269    m_minPrefWidth += toAdd;
    254270    m_maxPrefWidth += toAdd;
  • trunk/WebCore/rendering/RenderTheme.h

    r21274 r24604  
    133133    bool isHovered(const RenderObject*) const;
    134134    bool isReadOnlyControl(const RenderObject*) const;
     135   
     136    virtual int popupInternalPaddingLeft(RenderStyle*) const { return 0; }
     137    virtual int popupInternalPaddingRight(RenderStyle*) const { return 0; }
     138    virtual int popupInternalPaddingTop(RenderStyle*) const { return 0; }
     139    virtual int popupInternalPaddingBottom(RenderStyle*) const { return 0; }
    135140
    136141protected:
  • trunk/WebCore/rendering/RenderThemeMac.h

    r21865 r24604  
    7070
    7171    virtual void adjustSliderThumbSize(RenderObject*) const;
     72   
     73    virtual int popupInternalPaddingLeft(RenderStyle*) const;
     74    virtual int popupInternalPaddingRight(RenderStyle*) const;
     75    virtual int popupInternalPaddingTop(RenderStyle*) const;
     76    virtual int popupInternalPaddingBottom(RenderStyle*) const;
    7277
    7378protected:
     
    147152    void setButtonCellState(const RenderObject*, const IntRect&);
    148153
    149     void setPopupPaddingFromControlSize(RenderStyle*, NSControlSize) const;
    150154    void setPopupButtonCellState(const RenderObject*, const IntRect&);
    151155    const IntSize* popupButtonSizes() const;
  • trunk/WebCore/rendering/RenderThemeMac.mm

    r24415 r24604  
    3838#import <Cocoa/Cocoa.h>
    3939#import <wtf/RetainPtr.h>
     40#import <math.h>
     41
     42using std::min;
    4043
    4144// The methods in this file are specific to the Mac OS X platform.
     45
     46// FIXME: The platform-independent code in this class should be factored out and merged with RenderThemeSafari.
    4247
    4348@interface WebCoreRenderThemeNotificationObserver : NSObject
     
    703708}
    704709
    705 void RenderThemeMac::setPopupPaddingFromControlSize(RenderStyle* style, NSControlSize size) const
    706 {
    707     style->setPaddingLeft(Length(popupButtonPadding(size)[leftPadding], Fixed));
    708     style->setPaddingRight(Length(popupButtonPadding(size)[rightPadding], Fixed));
    709     style->setPaddingTop(Length(popupButtonPadding(size)[topPadding], Fixed));
    710     style->setPaddingBottom(Length(popupButtonPadding(size)[bottomPadding], Fixed));
    711 }
    712 
    713 bool RenderThemeMac::paintMenuList(RenderObject* o, const RenderObject::PaintInfo&, const IntRect& r)
     710bool RenderThemeMac::paintMenuList(RenderObject* o, const RenderObject::PaintInfo& paintInfo, const IntRect& r)
    714711{
    715712    setPopupButtonCellState(o, r);
     
    722719
    723720    // Now inflate it to account for the shadow.
    724     inflatedRect = inflateRect(inflatedRect, size, popupButtonMargins());
     721    if (r.width() >= minimumMenuListSize(o->style()))
     722        inflatedRect = inflateRect(inflatedRect, size, popupButtonMargins());
     723
     724#ifndef BUILDING_ON_TIGER
     725    // On Leopard, the cell will draw outside of the given rect, so we have to clip to the rect
     726    paintInfo.context->save();
     727    paintInfo.context->clip(inflatedRect);
     728#endif
    725729
    726730    [popupButton drawWithFrame:inflatedRect inView:o->view()->frameView()->getDocumentView()];
    727731    [popupButton setControlView:nil];
     732
     733#ifndef BUILDING_ON_TIGER
     734    paintInfo.context->restore();
     735#endif
     736
    728737    return false;
    729738}
     
    855864    paintMenuListButtonGradients(o, paintInfo, bounds);
    856865
    857     float fontScale = o->style()->fontSize() / baseFontSize;
     866    // Since we actually know the size of the control here, we restrict the font scale to make sure the arrows will fit vertically in the bounds
     867    float fontScale = min(o->style()->fontSize() / baseFontSize, bounds.height() / (baseArrowHeight * 2 + baseSpaceBetweenArrows));
    858868    float centerY = bounds.y() + bounds.height() / 2.0f;
    859869    float arrowHeight = baseArrowHeight * fontScale;
     
    862872    float spaceBetweenArrows = baseSpaceBetweenArrows * fontScale;
    863873
     874    if (bounds.width() < arrowWidth + arrowPaddingLeft)
     875        return false;
     876   
    864877    paintInfo.context->setFillColor(o->style()->color());
    865878    paintInfo.context->setStrokeStyle(NoStroke);
     
    908921
    909922    style->resetBorder();
    910 
     923    style->resetPadding();
     924   
    911925    // Height is locked to auto.
    912926    style->setHeight(Length(Auto));
     
    921935    // Set the button's vertical size.
    922936    setButtonSize(style);
    923 
    924     // Add in the padding that we'd like to use.
    925     setPopupPaddingFromControlSize(style, controlSize);
    926937
    927938    // Our font is locked to the appropriate system font size for the control.  To clarify, we first use the CSS-specified font to figure out
     
    933944}
    934945
     946int RenderThemeMac::popupInternalPaddingLeft(RenderStyle* style) const
     947{
     948    if (style->appearance() == MenulistAppearance)
     949        return popupButtonPadding(controlSizeForFont(style))[leftPadding];
     950    if (style->appearance() == MenulistButtonAppearance)
     951        return styledPopupPaddingLeft;
     952    return 0;
     953}
     954
     955int RenderThemeMac::popupInternalPaddingRight(RenderStyle* style) const
     956{
     957    if (style->appearance() == MenulistAppearance)
     958        return popupButtonPadding(controlSizeForFont(style))[rightPadding];
     959    if (style->appearance() == MenulistButtonAppearance) {
     960        float fontScale = style->fontSize() / baseFontSize;
     961        float arrowWidth = baseArrowWidth * fontScale;
     962        return static_cast<int>(ceilf(arrowWidth + arrowPaddingLeft + arrowPaddingRight + paddingBeforeSeparator));
     963    }
     964    return 0;
     965}
     966
     967int RenderThemeMac::popupInternalPaddingTop(RenderStyle* style) const
     968{
     969    if (style->appearance() == MenulistAppearance)
     970        return popupButtonPadding(controlSizeForFont(style))[topPadding];
     971    if (style->appearance() == MenulistButtonAppearance)
     972        return styledPopupPaddingTop;
     973    return 0;
     974}
     975
     976int RenderThemeMac::popupInternalPaddingBottom(RenderStyle* style) const
     977{
     978    if (style->appearance() == MenulistAppearance)
     979        return popupButtonPadding(controlSizeForFont(style))[bottomPadding];
     980    if (style->appearance() == MenulistButtonAppearance)
     981        return styledPopupPaddingBottom;
     982    return 0;
     983}
     984
    935985void RenderThemeMac::adjustMenuListButtonStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
    936986{
    937987    float fontScale = style->fontSize() / baseFontSize;
    938     float arrowWidth = baseArrowWidth * fontScale;
    939 
    940     // We're overriding the padding to allow for the arrow control.  WinIE doesn't honor padding on selects, so
    941     // this shouldn't cause problems on the web.  If IE7 changes that, we should reconsider this.
    942     style->setPaddingLeft(Length(styledPopupPaddingLeft, Fixed));
    943     style->setPaddingRight(Length(int(ceilf(arrowWidth + arrowPaddingLeft + arrowPaddingRight + paddingBeforeSeparator)), Fixed));
    944     style->setPaddingTop(Length(styledPopupPaddingTop, Fixed));
    945     style->setPaddingBottom(Length(styledPopupPaddingBottom, Fixed));
    946 
     988
     989    style->resetPadding();
    947990    style->setBorderRadius(IntSize(int(baseBorderRadius + fontScale - 1), int(baseBorderRadius + fontScale - 1))); // FIXME: Round up?
    948991
  • trunk/WebCore/rendering/RenderThemeSafari.cpp

    r23840 r24604  
    3535#include "cssstyleselector.h"
    3636#include <CoreGraphics/CoreGraphics.h>
    37 
     37 
     38using std::min;
     39
     40// FIXME: The platform-independent code in this class should be factored out and merged with RenderThemeMac.
     41 
    3842namespace WebCore {
    3943
     
    582586}
    583587
    584 void RenderThemeSafari::setPopupPaddingFromControlSize(RenderStyle* style, NSControlSize size) const
    585 {
    586     style->setPaddingLeft(Length(popupButtonPadding(size)[leftPadding], Fixed));
    587     style->setPaddingRight(Length(popupButtonPadding(size)[rightPadding], Fixed));
    588     style->setPaddingTop(Length(popupButtonPadding(size)[topPadding], Fixed));
    589     style->setPaddingBottom(Length(popupButtonPadding(size)[bottomPadding], Fixed));
    590 }
    591 
    592588bool RenderThemeSafari::paintMenuList(RenderObject* o, const RenderObject::PaintInfo& info, const IntRect& r)
    593589{
     
    598594
    599595    // Now inflate it to account for the shadow.
    600     inflatedRect = inflateRect(inflatedRect, size, popupButtonMargins(controlSize));
     596    if (r.width() >= minimumMenuListSize(o->style()))
     597        inflatedRect = inflateRect(inflatedRect, size, popupButtonMargins(controlSize));
    601598
    602599    paintThemePart(DropDownButtonPart, info.context->platformContext(), inflatedRect, controlSize, determineState(o));
     
    729726    // Draw the gradients to give the styled popup menu a button appearance
    730727    paintMenuListButtonGradients(o, paintInfo, bounds);
    731 
    732     float fontScale = o->style()->fontSize() / baseFontSize;
     728   
     729    // Since we actually know the size of the control here, we restrict the font scale to make sure the arrow will fit vertically in the bounds
     730    float fontScale = min(o->style()->fontSize() / baseFontSize, bounds.height() / baseArrowHeight);
    733731    float centerY = bounds.y() + bounds.height() / 2.0f;
    734732    float arrowHeight = baseArrowHeight * fontScale;
    735733    float arrowWidth = baseArrowWidth * fontScale;
    736734    float leftEdge = bounds.right() - arrowPaddingRight - arrowWidth;
     735
     736    if (bounds.width() < arrowWidth + arrowPaddingLeft)
     737        return false;
    737738
    738739    paintInfo.context->setFillColor(o->style()->color());
     
    774775
    775776    style->resetBorder();
    776 
     777    style->resetPadding();
     778   
    777779    // Height is locked to auto.
    778780    style->setHeight(Length(Auto));
     
    787789    // Set the button's vertical size.
    788790    setButtonSize(style);
    789 
    790     // Add in the padding that we'd like to use.
    791     setPopupPaddingFromControlSize(style, controlSize);
    792791
    793792    // Our font is locked to the appropriate system font size for the control.  To clarify, we first use the CSS-specified font to figure out
     
    797796}
    798797
     798int RenderThemeSafari::popupInternalPaddingLeft(RenderStyle* style) const
     799{
     800    if (style->appearance() == MenulistAppearance)
     801        return popupButtonPadding(controlSizeForFont(style))[leftPadding];
     802    if (style->appearance() == MenulistButtonAppearance)
     803        return styledPopupPaddingLeft;
     804    return 0;
     805}
     806
     807int RenderThemeSafari::popupInternalPaddingRight(RenderStyle* style) const
     808{
     809    if (style->appearance() == MenulistAppearance)
     810        return popupButtonPadding(controlSizeForFont(style))[rightPadding];
     811    if (style->appearance() == MenulistButtonAppearance) {
     812        float fontScale = style->fontSize() / baseFontSize;
     813        float arrowWidth = baseArrowWidth * fontScale;
     814        return static_cast<int>(ceilf(arrowWidth + arrowPaddingLeft + arrowPaddingRight + paddingBeforeSeparator));
     815    }
     816    return 0;
     817}
     818
     819int RenderThemeSafari::popupInternalPaddingTop(RenderStyle* style) const
     820{
     821    if (style->appearance() == MenulistAppearance)
     822        return popupButtonPadding(controlSizeForFont(style))[topPadding];
     823    if (style->appearance() == MenulistButtonAppearance)
     824        return styledPopupPaddingTop;
     825    return 0;
     826}
     827
     828int RenderThemeSafari::popupInternalPaddingBottom(RenderStyle* style) const
     829{
     830    if (style->appearance() == MenulistAppearance)
     831        return popupButtonPadding(controlSizeForFont(style))[bottomPadding];
     832    if (style->appearance() == MenulistButtonAppearance)
     833        return styledPopupPaddingBottom;
     834    return 0;
     835}
     836
    799837void RenderThemeSafari::adjustMenuListButtonStyle(CSSStyleSelector* selector, RenderStyle* style, Element* e) const
    800838{
    801839    float fontScale = style->fontSize() / baseFontSize;
    802     float arrowWidth = baseArrowWidth * fontScale;
    803 
    804     // We're overriding the padding to allow for the arrow control.  WinIE doesn't honor padding on selects, so
    805     // this shouldn't cause problems on the web.  If IE7 changes that, we should reconsider this.
    806     style->setPaddingLeft(Length(styledPopupPaddingLeft, Fixed));
    807     style->setPaddingRight(Length(int(ceilf(arrowWidth + arrowPaddingLeft + arrowPaddingRight + paddingBeforeSeparator)), Fixed));
    808     style->setPaddingTop(Length(styledPopupPaddingTop, Fixed));
    809     style->setPaddingBottom(Length(styledPopupPaddingBottom, Fixed));
    810 
     840   
     841    style->resetPadding();
    811842    style->setBorderRadius(IntSize(int(baseBorderRadius + fontScale - 1), int(baseBorderRadius + fontScale - 1))); // FIXME: Round up?
    812843
  • trunk/WebCore/rendering/RenderThemeSafari.h

    r23462 r24604  
    7272    virtual void adjustSliderThumbSize(RenderObject*) const;
    7373    virtual void adjustSliderThumbStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
     74   
     75    virtual int popupInternalPaddingLeft(RenderStyle*) const;
     76    virtual int popupInternalPaddingRight(RenderStyle*) const;
     77    virtual int popupInternalPaddingTop(RenderStyle*) const;
     78    virtual int popupInternalPaddingBottom(RenderStyle*) const;
    7479
    7580protected:
     
    139144    const int* buttonMargins(NSControlSize) const;
    140145
    141     void setPopupPaddingFromControlSize(RenderStyle*, NSControlSize) const;
    142146    const IntSize* popupButtonSizes() const;
    143147    const int* popupButtonMargins(NSControlSize) const;
Note: See TracChangeset for help on using the changeset viewer.