Commit 05abee33 authored by adele's avatar adele
Browse files

LayoutTests:

        Reviewed by Hyatt.

        New tests and updated tests for styled selects.

        * fast/borders/borderRadiusInvalidColor-expected.checksum: Added.
        * fast/borders/borderRadiusInvalidColor-expected.png: Added.
        * fast/borders/borderRadiusInvalidColor-expected.txt: Added.
        * fast/borders/borderRadiusInvalidColor.html: Added.

        * fast/forms/select-baseline-expected.checksum: Added.
        * fast/forms/select-baseline-expected.png: Added.
        * fast/forms/select-baseline-expected.txt: Added.
        * fast/forms/select-baseline.html: Added.

        * editing/pasteboard/4641033-expected.txt:
        * editing/selection/replaced-boundaries-3-expected.txt:
        * editing/selection/select-box-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/form-element-geometry-expected.checksum:
        * fast/forms/form-element-geometry-expected.png:
        * fast/forms/form-element-geometry-expected.txt:
        * fast/forms/option-script-expected.txt:
        * fast/forms/option-text-clip-expected.txt:
        * fast/forms/select-change-listbox-to-popup-expected.txt:
        * fast/forms/select-selected-expected.txt:
        * fast/forms/select-style-expected.txt:
        * fast/forms/select-visual-hebrew-expected.txt:
        * fast/invalid/014-expected.txt:
        * fast/parser/document-write-option-expected.txt:
        * fast/replaced/width100percent-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.

        Enable styling for popup menus. Also fixed baseline calculation for buttons and selects.

        Tests:   fast/forms/select-baseline.html
                 fast/borders/borderRadiusInvalidColor.html
        updated: fast/forms/select-style-expected.txt and more...

        * css/html4.css: Added style rules for styled select elements.

        * platform/GraphicsContext.h: Added argument for antialiasing.
        * platform/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto.
        * platform/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::drawConvexPolygon): ditto.

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::drawBorderArc): Added textColor argument so this can be used when the border color is invalid.
        (WebCore::RenderObject::drawBorder): Removed invalidisInvert since its dead code 
         (any callers that set this to true were already ensuring that their color was valid).
         Updated drawConvexPolygon call to use FloatPoints instead of IntPoints.
        (WebCore::RenderObject::paintBorder): Updated to remove invalidisInvert argument from drawBorder call.
        (WebCore::RenderObject::paintOutline): ditto.
        * rendering/RenderFlow.cpp: (WebCore::RenderFlow::paintOutlineForLine): ditto.
        * rendering/RenderObject.h: Updated arguments for drawBorder and drawBorderArc.

        * rendering/RenderBlock.cpp: (WebCore::RenderBlock::getBaselineOfLastLineBox): Changed isRootLineBox argument to true when setting line height.
          Added case for when there's no children to check for hasLineIfEmpty.
        * rendering/RenderBlock.h:
        * rendering/bidi.cpp: (WebCore::RenderBlock::layoutInlineChildren): Changed isRootLineBox argument to true when setting line height.
        * rendering/RenderButton.h: (WebCore::RenderButton::hasLineIfEmpty): Added so buttons always get a line height.
        * rendering/RenderMenuList.h: (WebCore::RenderMenuList::hasLineIfEmpty): ditto.
        * rendering/RenderFlexibleBox.cpp:
        (WebCore::RenderFlexibleBox::layoutHorizontalBox): Added code to check hasLineIfEmpty to give flex boxes line height.
        (WebCore::RenderFlexibleBox::layoutVerticalBox): ditto.

        * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::adjustRenderStyle): Moved the appearance adjustment code into adjust style.
        * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): Lets the theme paint "decorations", like the arrow control and gradients
         immediately after painting the background.

        * rendering/RenderTheme.cpp:
        (WebCore::RenderTheme::adjustStyle): This now checks whether the control is styled, and adjusts the appearance property appropriately.
        For styled selects, instead of setting the appearance to none, which is what we do for other styled controls, we set the appearance
        to MenulistButtonAppearance, which indicates that we will draw the arrow controls and button appearance in the engine.
        (WebCore::RenderTheme::paintDecorations): Added. Paints MenulistButtonAppearance in a different function, 
         so the arrow control will draw at the right time (after the background).
        (WebCore::RenderTheme::paint): Added case for MenulistButtonAppearance.
        (WebCore::RenderTheme::paintBorderOnly): ditto.
        (WebCore::RenderTheme::isControlContainer): Removed cases for MenuListAppearance and MenulistButtonAppearance since the baseline is no longer provided by the theme.
        (WebCore::RenderTheme::adjustMenuListButtonStyle): Added.
        * rendering/RenderTheme.h: (WebCore::RenderTheme::paintMenuListButton): Added.

        * rendering/RenderThemeMac.h:
        * rendering/RenderThemeMac.mm:
        (WebCore::RenderThemeMac::isControlStyled): Removed code that made selects unstyle-able.
        (WebCore::RenderThemeMac::baselinePosition): Removed cases for MenuListAppearance and MenulistButtonAppearance.
        (WebCore::RenderThemeMac::popupButtonPadding): Added top and bottom padding so empty popups have the right baseline.
        (WebCore::TopGradientInterpolate): Added.
        (WebCore::BottomGradientInterpolate): Added.
        (WebCore::MainGradientInterpolate): Added.
        (WebCore::RenderThemeMac::paintMenuListButtonGradients): Added.  Draws gradients for styled popup menu button appearance.
        (WebCore::RenderThemeMac::paintMenuListButton): Calls paintMenuListButtonGradients, and draws arrow control.
        (WebCore::RenderThemeMac::adjustMenuListButtonStyle): Added to set padding and border radius to account for the arrow control size and font size.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3cf2be9a
2006-08-25 Adele Peterson <adele@apple.com>
Reviewed by Hyatt.
New tests and updated tests for styled selects.
* fast/borders/borderRadiusInvalidColor-expected.checksum: Added.
* fast/borders/borderRadiusInvalidColor-expected.png: Added.
* fast/borders/borderRadiusInvalidColor-expected.txt: Added.
* fast/borders/borderRadiusInvalidColor.html: Added.
* fast/forms/select-baseline-expected.checksum: Added.
* fast/forms/select-baseline-expected.png: Added.
* fast/forms/select-baseline-expected.txt: Added.
* fast/forms/select-baseline.html: Added.
* editing/pasteboard/4641033-expected.txt:
* editing/selection/replaced-boundaries-3-expected.txt:
* editing/selection/select-box-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/form-element-geometry-expected.checksum:
* fast/forms/form-element-geometry-expected.png:
* fast/forms/form-element-geometry-expected.txt:
* fast/forms/option-script-expected.txt:
* fast/forms/option-text-clip-expected.txt:
* fast/forms/select-change-listbox-to-popup-expected.txt:
* fast/forms/select-selected-expected.txt:
* fast/forms/select-style-expected.txt:
* fast/forms/select-visual-hebrew-expected.txt:
* fast/invalid/014-expected.txt:
* fast/parser/document-write-option-expected.txt:
* fast/replaced/width100percent-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:
2006-08-24 Darin Adler <darin@apple.com>
 
Reviewed by Justin.
......@@ -31,12 +31,12 @@ layer at (0,0) size 800x600
RenderImage {IMG} at (0,0) size 76x103
RenderText {#text} at (76,89) size 4x18
text run at (76,89) width 4: " "
RenderMenuList {SELECT} at (82,90) size 36x18
RenderMenuList {SELECT} at (82,90) size 36x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (0,196) size 784x110
RenderImage {IMG} at (0,0) size 76x103
RenderText {#text} at (76,89) size 4x18
text run at (76,89) width 4: " "
RenderMenuList {SELECT} at (82,90) size 52x18
RenderMenuList {SELECT} at (82,90) size 52x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 21x13
RenderText at (0,0) size 19x13
text run at (0,0) width 19: " 1"
......
......@@ -18,7 +18,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 22x18
text run at (0,0) width 22: "abc"
RenderBR {BR} at (22,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 226x18
RenderMenuList {SELECT} at (2,20) size 226x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 195x13
RenderText at (0,0) size 195x13
text run at (0,0) width 195: "this select box shouldn't be selected"
......
......@@ -64,7 +64,7 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (0,0) size 784x22
RenderText {#text} at (0,1) size 71x18
text run at (0,1) width 71: "select box: "
RenderMenuList {SELECT} at (73,2) size 38x18
RenderMenuList {SELECT} at (73,2) size 38x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 7x13
RenderText at (0,0) size 7x13
text run at (0,0) width 7: "1"
......
......@@ -37,21 +37,21 @@ layer at (0,0) size 785x1701
RenderBlock (floating) {SPAN} at (0,68) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 128x15
text run at (0,2) width 128: "Your degree program*"
RenderMenuList {SELECT} at (325,68) size 180x18
RenderMenuList {SELECT} at (325,68) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 90x13
text run at (0,0) width 90: "Program options"
RenderBlock (floating) {SPAN} at (0,88) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 110x15
text run at (0,2) width 110: "Your year of study*"
RenderMenuList {SELECT} at (325,88) size 180x18
RenderMenuList {SELECT} at (325,88) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 124x13
text run at (0,0) width 124: "Years you've been here"
RenderBlock (floating) {SPAN} at (0,108) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 152x15
text run at (0,2) width 152: "Shakespeare classes taken"
RenderMenuList {SELECT} at (325,108) size 180x18
RenderMenuList {SELECT} at (325,108) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 76x13
text run at (0,0) width 76: "Number taken"
......@@ -64,7 +64,7 @@ layer at (0,0) size 785x1701
RenderBlock (floating) {SPAN} at (0,210) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 321x15
text run at (0,2) width 321: "What percentage of your research time is spent online?"
RenderMenuList {SELECT} at (325,210) size 180x18
RenderMenuList {SELECT} at (325,210) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 106x13
text run at (0,0) width 106: "Percentages of time"
......@@ -72,7 +72,7 @@ layer at (0,0) size 785x1701
RenderText {#text} at (0,2) size 300x35
text run at (0,2) width 300: "What is holding you back from doing more research"
text run at (0,22) width 41: "online?"
RenderMenuList {SELECT} at (325,230) size 180x18
RenderMenuList {SELECT} at (325,230) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 44x13
text run at (0,0) width 44: "Reasons"
......@@ -112,14 +112,14 @@ layer at (0,0) size 785x1701
RenderBlock (floating) {SPAN} at (0,427) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 274x15
text run at (0,2) width 274: "Which area of the ISE did you find most useful?"
RenderMenuList {SELECT} at (325,427) size 180x18
RenderMenuList {SELECT} at (325,427) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 99x13
text run at (0,0) width 99: "Sections of the ISE"
RenderBlock (floating) {SPAN} at (0,447) size 325x20 [color=#333333]
RenderText {#text} at (0,2) size 252x15
text run at (0,2) width 252: "How did you find the navigation of the ISE?"
RenderMenuList {SELECT} at (325,447) size 180x18
RenderMenuList {SELECT} at (325,447) size 180x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 149x13
RenderText at (0,0) size 91x13
text run at (0,0) width 91: "Level of difficulty"
......
d0f38e91f0a6d66c67aaf50ec472b8b9
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock (anonymous) at (0,0) size 784x18
RenderText {#text} at (0,0) size 600x18
text run at (0,0) width 600: "This tests that border radius will choose the foreground color when no border color is specified."
RenderBlock {DIV} at (0,18) size 56x24 [color=#FF0000] [bgcolor=#ADD8E6] [border: (3px solid #FF0000)]
RenderText {#text} at (3,3) size 21x18
text run at (3,3) width 21: "test"
<style>
.myDiv {
-webkit-border-radius : 5px;
width: 50px;
color: red;
background-color: lightblue;
border: 3px solid;
}
</style>
This tests that border radius will choose the foreground color when no border color is specified.
<div class="myDiv">test</div>
64b27f49c223c43307733f846fac6fd3
\ No newline at end of file
30c93784fba4675931e35b46fcefe87d
\ No newline at end of file
......@@ -6,30 +6,30 @@ layer at (0,0) size 800x600
RenderBlock {H1} at (0,0) size 784x37
RenderText {#text} at (0,0) size 234x37
text run at (0,0) width 234: "Min-Width Tests"
RenderTable {TABLE} at (0,58) size 784x24 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x20
RenderTableRow {TR} at (0,0) size 780x20
RenderTableCell {TD} at (0,0) size 57x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderMenuList {SELECT} at (3,1) size 51x18
RenderBlock (anonymous) at (8,2) size 20x13
RenderTable {TABLE} at (0,58) size 784x89 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x85
RenderTableRow {TR} at (0,0) size 780x85
RenderTableCell {TD} at (0,0) size 135x85 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderMenuList {SELECT} at (3,1) size 129x83 [bgcolor=#FFFFFF] [border: (40px solid #FF0000)]
RenderBlock (anonymous) at (48,41) size 20x13
RenderText at (0,0) size 20x13
text run at (0,0) width 20: "Foo"
RenderTableCell {TD} at (57,9) size 723x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,98) size 784x24
RenderTableCell {TD} at (135,41) size 645x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,163) size 784x24
RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x20
RenderTableRow {TR} at (0,0) size 780x20
RenderTableCell {TD} at (0,0) size 20x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (4,4) size 12x12
RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,138) size 784x24
RenderBlock {P} at (0,203) size 784x24
RenderTable {TABLE} at (0,0) size 784x24 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x20
RenderTableRow {TR} at (0,0) size 780x20
RenderTableCell {TD} at (0,0) size 20x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (4,4) size 12x12
RenderTableCell {TD} at (20,9) size 760x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,178) size 784x28
RenderBlock {P} at (0,243) size 784x28
RenderTable {TABLE} at (0,0) size 784x28 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x24
RenderTableRow {TR} at (0,0) size 780x24
......@@ -39,7 +39,7 @@ layer at (0,0) size 800x600
RenderText at (0,0) size 20x13
text run at (0,0) width 20: "Foo"
RenderTableCell {TD} at (42,11) size 738x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,222) size 784x267
RenderBlock {P} at (0,287) size 784x267
RenderTable {TABLE} at (0,0) size 784x91 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x87
RenderTableRow {TR} at (0,0) size 780x87
......
......@@ -3,7 +3,7 @@ layer at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderMenuList {SELECT} at (2,0) size 59x18
RenderMenuList {SELECT} at (2,0) size 59x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 28x13
RenderText at (0,0) size 28x13
text run at (0,0) width 28: "Hello"
......
......@@ -3,13 +3,13 @@ layer at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderMenuList {SELECT} at (2,2) size 59x18
RenderMenuList {SELECT} at (2,2) size 59x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 28x13
RenderText at (0,0) size 28x13
text run at (0,0) width 28: "Hello"
RenderText {#text} at (63,1) size 4x18
text run at (63,1) width 4: " "
RenderMenuList {SELECT} at (69,2) size 79x18
RenderMenuList {SELECT} at (69,2) size 79x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 48x13
RenderText at (0,0) size 48x13
text run at (0,0) width 48: "Goodbye"
......
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 673x18
text run at (0,0) width 673: "In the selection list below, the text 'The label for this element is \"1\"' should appear, and not the character '1'"
RenderBR {BR} at (673,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 197x18
RenderMenuList {SELECT} at (2,20) size 197x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 166x13
RenderText at (0,0) size 166x13
text run at (0,0) width 166: "the label for this element is \"1\""
......
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 300x18
text run at (0,0) width 300: "With the label empty, the enclosing text is used."
RenderBR {BR} at (300,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 309x18
RenderMenuList {SELECT} at (2,20) size 309x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 278x13
RenderText at (0,0) size 279x13
text run at (0,0) width 279: "empty label should display empty string to match IE"
......
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 436x18
text run at (0,0) width 436: "When the label contains only white space, the containing text is used."
RenderBR {BR} at (436,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 338x18
RenderMenuList {SELECT} at (2,20) size 338x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 307x13
RenderText at (0,0) size 308x13
text run at (0,0) width 308: "white space label should display empty string to match IE"
......
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 595x18
text run at (0,0) width 595: "The label attribute appears, but is missing the equals value piece, so the containing text is used."
RenderBR {BR} at (595,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 464x18
RenderMenuList {SELECT} at (2,20) size 464x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 433x13
RenderText at (0,0) size 433x13
text run at (0,0) width 433: "the label attribute is mentioned but no value is specified; this text should appear"
......
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderText {#text} at (0,0) size 718x18
text run at (0,0) width 718: "The select item below has a label specified, and no enclosed text. There should be no text shown in the select box."
RenderBR {BR} at (718,14) size 0x0
RenderMenuList {SELECT} at (2,20) size 53x18
RenderMenuList {SELECT} at (2,20) size 53x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (8,2) size 22x13
RenderText at (0,0) size 22x13
text run at (0,0) width 22: "text"
......
......@@ -7,5 +7,5 @@ layer at (0,0) size 800x600
text run at (0,0) width 781: "The select item below has a label specified, and enclosed text that is whitespace. There should be no text shown in the select"
text run at (0,18) width 28: "box."
RenderBR {BR} at (28,32) size 0x0
RenderMenuList {SELECT} at (2,38) size 36x18
RenderMenuList {SELECT} at (2,38) size 36x18 [bgcolor=#FFFFFF]
RenderText {#text} at (0,0) size 0x0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment