Commit bf39f739 authored by mrobinson@webkit.org's avatar mrobinson@webkit.org
Browse files

2011-01-11 Martin Robinson <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Move toggle button rendering out of gtk2drawing.c
        https://bugs.webkit.org/show_bug.cgi?id=52258

        Updated results. The metrics of checkboxes and radio buttons have changed,
        because the focus rect is no longer considered to be part of the button.

        * platform/gtk/fast/css/non-standard-checkbox-size-expected.txt
        * platform/gtk/fast/forms/001-expected.txt:
        * platform/gtk/fast/forms/basic-inputs-expected.txt:
        * platform/gtk/fast/forms/box-shadow-override-expected.txt:
        * platform/gtk/fast/forms/checkbox-radio-onchange-expected.txt:
        * platform/gtk/fast/forms/file-input-disabled-expected.txt:
        * platform/gtk/fast/forms/form-element-geometry-expected.txt:
        * platform/gtk/fast/forms/formmove-expected.txt:
        * platform/gtk/fast/forms/formmove2-expected.txt:
        * platform/gtk/fast/forms/indeterminate-expected.txt:
        * platform/gtk/fast/forms/input-appearance-height-expected.txt:
        * platform/gtk/fast/forms/input-value-expected.txt:
        * platform/gtk/fast/forms/radio-attr-order-expected.txt:
        * platform/gtk/fast/forms/radio-nested-labels-expected.txt:
        * platform/gtk/fast/forms/radio_checked-expected.txt:
        * platform/gtk/fast/forms/radio_checked_dynamic-expected.txt:
2011-01-11  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Move toggle button rendering out of gtk2drawing.c
        https://bugs.webkit.org/show_bug.cgi?id=52258

        * platform/gtk/RenderThemeGtk.h:
        * platform/gtk/RenderThemeGtk2.cpp:
        (WebCore::RenderThemeGtk::platformInit): Initialize new button members.
        (WebCore::adjustRectForFocus): Added this function which inflates a rect based
        on a widget's exterior focus.
        (WebCore::RenderThemeGtk::adjustRepaintRect): Account for exterior focus.
        (WebCore::setToggleSize): Only listen to indicator-size to properly size
        checkboxes and radio buttons.
        (WebCore::RenderThemeGtk::setCheckboxSize): Call new setToggleSize properly.
        (WebCore::paintToggle): Added.
        (WebCore::RenderThemeGtk::paintCheckbox): Call paintToggle.
        (WebCore::RenderThemeGtk::setRadioSize): Call new setToggleSize properly.
        (WebCore::RenderThemeGtk::paintRadio): Call paintToggle.
        (WebCore::RenderThemeGtk::gtkRadioButton): Added.
        (WebCore::RenderThemeGtk::gtkCheckButton): Added.
        * platform/gtk/WidgetRenderingContext.cpp:
        (WebCore::WidgetRenderingContext::WidgetRenderingContext): Use a static extra space
        variable. This is good enough for all themes that I've tested and prevents having to
        pass information from RenderThemeGtk about every single type of widget.
        (WebCore::WidgetRenderingContext::gtkPaintFocus): Use the paintRect
        to draw instead of m_paintRect. This is important when we're painting
        something that isn't the size of the total rect.
        (WebCore::WidgetRenderingContext::gtkPaintCheck): Added.
        (WebCore::WidgetRenderingContext::gtkPaintOption): Added.
        * platform/gtk/WidgetRenderingContext.h: Updated to reflect new methods.
        * platform/gtk/gtkdrawing.h: Remove newly unused code.
        * platform/gtk/gtk2drawing.c: Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent bd541058
2011-01-11 Martin Robinson <mrobinson@igalia.com>
Reviewed by Gustavo Noronha Silva.
[GTK] Move toggle button rendering out of gtk2drawing.c
https://bugs.webkit.org/show_bug.cgi?id=52258
Updated results. The metrics of checkboxes and radio buttons have changed,
because the focus rect is no longer considered to be part of the button.
* platform/gtk/fast/css/non-standard-checkbox-size-expected.txt
* platform/gtk/fast/forms/001-expected.txt:
* platform/gtk/fast/forms/basic-inputs-expected.txt:
* platform/gtk/fast/forms/box-shadow-override-expected.txt:
* platform/gtk/fast/forms/checkbox-radio-onchange-expected.txt:
* platform/gtk/fast/forms/file-input-disabled-expected.txt:
* platform/gtk/fast/forms/form-element-geometry-expected.txt:
* platform/gtk/fast/forms/formmove-expected.txt:
* platform/gtk/fast/forms/formmove2-expected.txt:
* platform/gtk/fast/forms/indeterminate-expected.txt:
* platform/gtk/fast/forms/input-appearance-height-expected.txt:
* platform/gtk/fast/forms/input-value-expected.txt:
* platform/gtk/fast/forms/radio-attr-order-expected.txt:
* platform/gtk/fast/forms/radio-nested-labels-expected.txt:
* platform/gtk/fast/forms/radio_checked-expected.txt:
* platform/gtk/fast/forms/radio_checked_dynamic-expected.txt:
2011-01-19 Martin Robinson <mrobinson@igalia.com>
 
Unskip a test now that the 32-bit debug bot has the 2.4 series of FreeType.
......
......@@ -5,8 +5,8 @@ layer at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderText {#text} at (0,36) size 289x19
text run at (0,36) width 289: "The following inputs should not be stretched. "
RenderBlock {INPUT} at (293,3) size 15x50
RenderText {#text} at (312,36) size 4x19
text run at (312,36) width 4: " "
RenderBlock {INPUT} at (320,3) size 15x50
RenderBlock {INPUT} at (293,3) size 13x50
RenderText {#text} at (310,36) size 4x19
text run at (310,36) width 4: " "
RenderBlock {INPUT} at (318,3) size 13x50
RenderText {#text} at (0,0) size 0x0
......@@ -19,16 +19,16 @@ layer at (0,0) size 800x600
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 25x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (5,4) size 15x12
RenderTableCell {TD} at (25,9) size 755x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderTableCell {TD} at (0,0) size 23x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (5,4) size 13x12
RenderTableCell {TD} at (23,9) size 757x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,200) 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 25x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (5,4) size 15x12
RenderTableCell {TD} at (25,9) size 755x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderTableCell {TD} at (0,0) size 23x20 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {INPUT} at (5,4) size 13x12
RenderTableCell {TD} at (23,9) size 757x2 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]
RenderBlock {P} at (0,240) size 784x38
RenderTable {TABLE} at (0,0) size 784x38 [border: (2px outset #808080)]
RenderTableSection {TBODY} at (2,2) size 780x34
......
......@@ -48,24 +48,24 @@ layer at (0,0) size 800x600
RenderTextControl {INPUT} at (3,61) size 194x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
RenderText {#text} at (199,64) size 8x19
text run at (199,64) width 8: "b"
RenderBlock {DIV} at (10,432) size 450x23 [border: (1px solid #FF0000)]
RenderText {#text} at (1,2) size 7x19
text run at (1,2) width 7: "a"
RenderBlock {INPUT} at (12,4) size 15x15
RenderText {#text} at (31,2) size 65x19
text run at (31,2) width 65: "checkbox "
RenderBlock {INPUT} at (100,4) size 15x15
RenderText {#text} at (119,2) size 8x19
text run at (119,2) width 8: "b"
RenderBlock {DIV} at (10,465) size 450x23 [border: (1px solid #FF0000)]
RenderText {#text} at (1,2) size 7x19
text run at (1,2) width 7: "a"
RenderBlock {INPUT} at (12,4) size 15x15
RenderText {#text} at (31,2) size 36x19
text run at (31,2) width 36: "radio "
RenderBlock {INPUT} at (71,4) size 15x15
RenderText {#text} at (90,2) size 8x19
text run at (90,2) width 8: "b"
RenderBlock {DIV} at (10,432) size 450x22 [border: (1px solid #FF0000)]
RenderText {#text} at (1,1) size 7x19
text run at (1,1) width 7: "a"
RenderBlock {INPUT} at (12,5) size 13x13
RenderText {#text} at (29,1) size 65x19
text run at (29,1) width 65: "checkbox "
RenderBlock {INPUT} at (98,5) size 13x13
RenderText {#text} at (115,1) size 8x19
text run at (115,1) width 8: "b"
RenderBlock {DIV} at (10,464) size 450x22 [border: (1px solid #FF0000)]
RenderText {#text} at (1,1) size 7x19
text run at (1,1) width 7: "a"
RenderBlock {INPUT} at (12,5) size 13x13
RenderText {#text} at (29,1) size 36x19
text run at (29,1) width 36: "radio "
RenderBlock {INPUT} at (69,5) size 13x13
RenderText {#text} at (86,1) size 8x19
text run at (86,1) width 8: "b"
layer at (31,347) size 188x19 scrollWidth 215
RenderBlock {DIV} at (3,3) size 188x19
RenderText {#text} at (1,0) size 213x19
......
......@@ -28,42 +28,42 @@ layer at (0,0) size 800x600
RenderBlock {DIV} at (172,0) size 16x16
RenderText {#text} at (0,0) size 0x0
RenderBlock (anonymous) at (0,157) size 784x37
RenderBlock {INPUT} at (4,12) size 15x15
RenderText {#text} at (23,10) size 4x19
text run at (23,10) width 4: " "
RenderBlock {INPUT} at (31,12) size 15x15
RenderText {#text} at (50,10) size 4x19
text run at (50,10) width 4: " "
RenderSlider {INPUT} at (56,11) size 129x14 [bgcolor=#FFFFFF]
RenderBlock {INPUT} at (4,14) size 13x13
RenderText {#text} at (21,10) size 4x19
text run at (21,10) width 4: " "
RenderBlock {INPUT} at (29,14) size 13x13
RenderText {#text} at (46,10) size 4x19
text run at (46,10) width 4: " "
RenderSlider {INPUT} at (52,11) size 129x14 [bgcolor=#FFFFFF]
RenderBlock {DIV} at (49,0) size 31x14
RenderText {#text} at (187,10) size 4x19
text run at (187,10) width 4: " "
RenderFileUploadControl {INPUT} at (193,6) size 306x28 "(None)"
RenderText {#text} at (183,10) size 4x19
text run at (183,10) width 4: " "
RenderFileUploadControl {INPUT} at (189,6) size 306x28 "(None)"
RenderButton {INPUT} at (0,0) size 103x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 87x19
RenderText at (0,0) size 87x19
text run at (0,0) width 87: "Choose File"
RenderText {#text} at (501,10) size 4x19
text run at (501,10) width 4: " "
RenderButton {INPUT} at (507,2) size 74x33 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (497,10) size 4x19
text run at (497,10) width 4: " "
RenderButton {INPUT} at (503,2) size 74x33 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 58x24
RenderText at (0,0) size 58x24
text run at (0,0) width 58: "Button"
RenderText {#text} at (583,10) size 4x19
text run at (583,10) width 4: " "
RenderButton {INPUT} at (589,6) size 62x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (579,10) size 4x19
text run at (579,10) width 4: " "
RenderButton {INPUT} at (585,6) size 62x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 46x19
RenderText at (0,0) size 46x19
text run at (0,0) width 46: "Button"
RenderText {#text} at (653,10) size 4x19
text run at (653,10) width 4: " "
RenderButton {INPUT} at (657,16) size 30x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (649,10) size 4x19
text run at (649,10) width 4: " "
RenderButton {INPUT} at (653,16) size 30x16 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 14x7
RenderText at (0,0) size 14x7
text run at (0,0) width 14: "Button"
RenderText {#text} at (687,10) size 4x19
text run at (687,10) width 4: " "
RenderButton {BUTTON} at (693,2) size 74x33 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (683,10) size 4x19
text run at (683,10) width 4: " "
RenderButton {BUTTON} at (689,2) size 74x33 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 58x24
RenderText {#text} at (0,0) size 58x24
text run at (0,0) width 58: "Button"
......
......@@ -3,23 +3,23 @@ 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
RenderBlock (anonymous) at (0,0) size 784x40
RenderBlock (anonymous) at (0,0) size 784x39
RenderText {#text} at (0,0) size 364x19
text run at (0,0) width 364: "This is to test onchange of checkboxes and radio buttons. "
RenderBR {BR} at (364,15) size 0x0
RenderBlock {INPUT} at (4,22) size 15x15
RenderText {#text} at (23,20) size 65x19
text run at (23,20) width 65: "Checkbox"
RenderBlock {DIV} at (0,40) size 784x19
RenderBlock {INPUT} at (4,23) size 13x13
RenderText {#text} at (21,19) size 65x19
text run at (21,19) width 65: "Checkbox"
RenderBlock {DIV} at (0,39) size 784x19
RenderText {#text} at (0,0) size 321x19
text run at (0,0) width 321: "Test 1 Passed. onChange event fired for checkbox."
RenderBlock (anonymous) at (0,59) size 784x21
RenderBlock {INPUT} at (4,3) size 15x15
RenderText {#text} at (23,1) size 54x19
text run at (23,1) width 54: "Radio 1 "
RenderBlock {INPUT} at (81,3) size 15x15
RenderText {#text} at (100,1) size 50x19
text run at (100,1) width 50: "Radio 2"
RenderBlock {DIV} at (0,80) size 784x19
RenderBlock (anonymous) at (0,58) size 784x20
RenderBlock {INPUT} at (4,4) size 13x13
RenderText {#text} at (21,0) size 54x19
text run at (21,0) width 54: "Radio 1 "
RenderBlock {INPUT} at (79,4) size 13x13
RenderText {#text} at (96,0) size 50x19
text run at (96,0) width 50: "Radio 2"
RenderBlock {DIV} at (0,78) size 784x19
RenderText {#text} at (0,0) size 336x19
text run at (0,0) width 336: "Test 2 Passed. onChange event fired for radio button."
......@@ -3,20 +3,20 @@ 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 784x576
RenderBlock {FORM} at (0,0) size 784x72
RenderBlock (anonymous) at (0,0) size 784x72
RenderBlock {INPUT} at (4,3) size 15x15
RenderBlock {FORM} at (0,0) size 784x71
RenderBlock (anonymous) at (0,0) size 784x71
RenderBlock {INPUT} at (4,4) size 13x13
RenderInline {B} at (0,0) size 75x19
RenderText {#text} at (23,1) size 75x19
text run at (23,1) width 75: "Attach File"
RenderBR {BR} at (98,16) size 0x0
RenderBR {BR} at (0,21) size 0x19
RenderText {#text} at (0,46) size 86x19
text run at (0,46) width 86: " Select File: "
RenderFileUploadControl {INPUT} at (88,42) size 306x28 "(None)"
RenderText {#text} at (21,0) size 75x19
text run at (21,0) width 75: "Attach File"
RenderBR {BR} at (96,15) size 0x0
RenderBR {BR} at (0,20) size 0x19
RenderText {#text} at (0,45) size 86x19
text run at (0,45) width 86: " Select File: "
RenderFileUploadControl {INPUT} at (88,41) size 306x28 "(None)"
RenderButton {INPUT} at (0,0) size 103x28 [color=#808080] [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 87x19
RenderText at (0,0) size 87x19
text run at (0,0) width 87: "Choose File"
RenderBR {BR} at (396,61) size 0x0
RenderTable {TABLE} at (0,72) size 4x0
RenderBR {BR} at (396,60) size 0x0
RenderTable {TABLE} at (0,71) size 4x0
......@@ -12,9 +12,9 @@ layer at (0,0) size 781x741
RenderBlock {H2} at (0,96) size 765x28
RenderText {#text} at (0,0) size 165x28
text run at (0,0) width 165: "Bounding Boxes"
RenderTable {TABLE} at (0,143) size 187x38
RenderTableSection {TBODY} at (0,0) size 187x38
RenderTableRow {TR} at (0,2) size 187x34
RenderTable {TABLE} at (0,143) size 183x38
RenderTableSection {TBODY} at (0,0) size 183x38
RenderTableRow {TR} at (0,2) size 183x34
RenderTableCell {TD} at (2,2) size 66x34 [r=0 c=0 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 64x32 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 60x28
......@@ -29,17 +29,17 @@ layer at (0,0) size 781x741
RenderBlock (anonymous) at (1,1) size 61x23
RenderText at (2,2) size 40x19
text run at (2,2) width 40: "menu"
RenderTableCell {TD} at (141,8) size 21x21 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 15x28
RenderBlock {INPUT} at (2,2) size 15x15
RenderTableCell {TD} at (164,8) size 21x21 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 15x28
RenderBlock {INPUT} at (2,2) size 15x15
RenderTable {TABLE} at (0,181) size 187x38
RenderTableSection {TBODY} at (0,0) size 187x38
RenderTableRow {TR} at (0,2) size 187x34
RenderTableCell {TD} at (141,9) size 19x19 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 13x28
RenderBlock {INPUT} at (2,2) size 13x13
RenderTableCell {TD} at (162,9) size 19x19 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 13x28
RenderBlock {INPUT} at (2,2) size 13x13
RenderTable {TABLE} at (0,181) size 183x38
RenderTableSection {TBODY} at (0,0) size 183x38
RenderTableRow {TR} at (0,2) size 183x34
RenderTableCell {TD} at (2,2) size 66x34 [r=0 c=0 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 64x32 [border: (2px solid #0000FF)]
RenderButton {INPUT} at (2,2) size 60x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
......@@ -52,15 +52,15 @@ layer at (0,0) size 781x741
RenderBlock (anonymous) at (1,1) size 61x23
RenderText at (2,2) size 40x19
text run at (2,2) width 40: "menu"
RenderTableCell {TD} at (141,8) size 21x21 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderBlock {INPUT} at (2,2) size 15x15
RenderTableCell {TD} at (164,8) size 21x21 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderBlock {INPUT} at (2,2) size 15x15
RenderTable {TABLE} at (0,219) size 187x38
RenderTableSection {TBODY} at (0,0) size 187x38
RenderTableRow {TR} at (0,2) size 187x34
RenderTableCell {TD} at (141,9) size 19x19 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderBlock {INPUT} at (2,2) size 13x13
RenderTableCell {TD} at (162,9) size 19x19 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderBlock {INPUT} at (2,2) size 13x13
RenderTable {TABLE} at (0,219) size 183x38
RenderTableSection {TBODY} at (0,0) size 183x38
RenderTableRow {TR} at (0,2) size 183x34
RenderTableCell {TD} at (2,2) size 66x34 [r=0 c=0 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 64x32 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 60x12
......@@ -75,14 +75,14 @@ layer at (0,0) size 781x741
RenderBlock (anonymous) at (1,1) size 61x23
RenderText at (2,2) size 40x19
text run at (2,2) width 40: "menu"
RenderTableCell {TD} at (141,8) size 21x21 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 15x12
RenderBlock {INPUT} at (2,2) size 15x15
RenderTableCell {TD} at (164,8) size 21x21 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 19x19 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 15x12
RenderBlock {INPUT} at (2,2) size 15x15
RenderTableCell {TD} at (141,9) size 19x19 [r=0 c=2 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 13x12
RenderBlock {INPUT} at (2,2) size 13x13
RenderTableCell {TD} at (162,9) size 19x19 [r=0 c=3 rs=1 cs=1]
RenderBlock {DIV} at (1,1) size 17x17 [border: (2px solid #0000FF)]
RenderInline {FONT} at (0,0) size 13x12
RenderBlock {INPUT} at (2,2) size 13x13
RenderTable {TABLE} at (0,257) size 692x91
RenderTableSection {TBODY} at (0,0) size 692x91
RenderTableRow {TR} at (0,2) size 692x87
......@@ -105,7 +105,7 @@ layer at (0,0) size 781x741
RenderText {#text} at (0,0) size 200x28
text run at (0,0) width 200: "Baseline Alignment"
RenderBlock {DIV} at (0,414) size 765x33
RenderInline {FONT} at (0,0) size 238x28
RenderInline {FONT} at (0,0) size 234x28
RenderText {#text} at (0,0) size 43x28
text run at (0,0) width 43: "text "
RenderButton {INPUT} at (45,3) size 60x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
......@@ -120,10 +120,10 @@ layer at (0,0) size 781x741
text run at (2,2) width 40: "menu"
RenderText {#text} at (180,0) size 6x28
text run at (180,0) width 6: " "
RenderBlock {INPUT} at (190,9) size 15x15
RenderText {#text} at (209,0) size 6x28
text run at (209,0) width 6: " "
RenderBlock {INPUT} at (219,9) size 15x15
RenderBlock {INPUT} at (190,11) size 13x13
RenderText {#text} at (207,0) size 6x28
text run at (207,0) width 6: " "
RenderBlock {INPUT} at (217,11) size 13x13
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,447) size 765x32
RenderText {#text} at (0,6) size 27x19
......@@ -140,13 +140,13 @@ layer at (0,0) size 781x741
text run at (2,2) width 40: "menu"
RenderText {#text} at (162,6) size 4x19
text run at (162,6) width 4: " "
RenderBlock {INPUT} at (170,8) size 15x15
RenderText {#text} at (189,6) size 4x19
text run at (189,6) width 4: " "
RenderBlock {INPUT} at (197,8) size 15x15
RenderBlock {INPUT} at (170,10) size 13x13
RenderText {#text} at (187,6) size 4x19
text run at (187,6) width 4: " "
RenderBlock {INPUT} at (195,10) size 13x13
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,479) size 765x32
RenderInline {FONT} at (0,0) size 204x12
RenderInline {FONT} at (0,0) size 200x12
RenderText {#text} at (0,12) size 18x12
text run at (0,12) width 18: "text "
RenderButton {INPUT} at (20,2) size 60x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
......@@ -161,10 +161,10 @@ layer at (0,0) size 781x741
text run at (2,2) width 40: "menu"
RenderText {#text} at (152,12) size 3x12
text run at (152,12) width 3: " "
RenderBlock {INPUT} at (159,8) size 15x15
RenderText {#text} at (178,12) size 3x12
text run at (178,12) width 3: " "
RenderBlock {INPUT} at (185,8) size 15x15
RenderBlock {INPUT} at (159,10) size 13x13
RenderText {#text} at (176,12) size 3x12
text run at (176,12) width 3: " "
RenderBlock {INPUT} at (183,10) size 13x13
RenderText {#text} at (0,0) size 0x0
RenderBlock {DIV} at (0,511) size 765x59
RenderText {#text} at (0,33) size 27x19
......
......@@ -3,27 +3,27 @@ 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
RenderBlock {FORM} at (0,0) size 784x21
RenderBlock {INPUT} at (4,3) size 15x15
RenderText {#text} at (23,1) size 34x19
text run at (23,1) width 34: "Two "
RenderBlock {INPUT} at (61,3) size 15x15
RenderText {#text} at (80,1) size 37x19
text run at (80,1) width 37: "Three"
RenderBlock {FORM} at (0,37) size 784x21
RenderBlock {INPUT} at (4,3) size 15x15
RenderText {#text} at (23,1) size 31x19
text run at (23,1) width 31: "One "
RenderBlock {INPUT} at (58,3) size 15x15
RenderText {#text} at (77,1) size 34x19
text run at (77,1) width 34: "Two "
RenderBlock {INPUT} at (115,3) size 15x15
RenderText {#text} at (134,1) size 41x19
text run at (134,1) width 41: "Three "
RenderBlock {INPUT} at (179,3) size 15x15
RenderText {#text} at (198,1) size 27x19
text run at (198,1) width 27: "One"
RenderBlock (anonymous) at (0,74) size 784x38
RenderBlock {FORM} at (0,0) size 784x20
RenderBlock {INPUT} at (4,4) size 13x13
RenderText {#text} at (21,0) size 34x19
text run at (21,0) width 34: "Two "
RenderBlock {INPUT} at (59,4) size 13x13
RenderText {#text} at (76,0) size 37x19
text run at (76,0) width 37: "Three"
RenderBlock {FORM} at (0,36) size 784x20
RenderBlock {INPUT} at (4,4) size 13x13
RenderText {#text} at (21,0) size 31x19
text run at (21,0) width 31: "One "
RenderBlock {INPUT} at (56,4) size 13x13
RenderText {#text} at (73,0) size 34x19
text run at (73,0) width 34: "Two "
RenderBlock {INPUT} at (111,4) size 13x13
RenderText {#text} at (128,0) size 41x19
text run at (128,0) width 41: "Three "
RenderBlock {INPUT} at (173,4) size 13x13
RenderText {#text} at (190,0) size 27x19
text run at (190,0) width 27: "One"
RenderBlock (anonymous) at (0,72) size 784x38
RenderText {#text} at (0,0) size 766x38
text run at (0,0) width 505: "The count of the # of elements in form 1 should be 2 and in form 2 should be 4. "
text run at (505,0) width 261: "The count in form 1 is 2, and the count in"
......
......@@ -3,10 +3,10 @@ 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
RenderBlock {FORM} at (0,0) size 784x21
RenderBlock {INPUT} at (4,3) size 15x15
RenderBlock {INPUT} at (27,3) size 15x15
RenderBlock (anonymous) at (0,37) size 784x38
RenderBlock {FORM} at (0,0) size 784x19
RenderBlock {INPUT} at (4,3) size 13x13
RenderBlock {INPUT} at (25,3) size 13x13
RenderBlock (anonymous) at (0,35) size 784x38
RenderText {#text} at (0,0) size 777x38
text run at (0,0) width 777: "There should be two elements in the first form and one in the second. The count in form one is 2, and the count in form two"
text run at (0,19) width 26: "is 1."
......@@ -3,8 +3,8 @@ 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
RenderText {#text} at (23,1) size 491x19
text run at (23,1) width 491: " This checkbox should look 50% transparent and should be in the mixed state."
RenderText {#text} at (21,0) size 491x19
text run at (21,0) width 491: " This checkbox should look 50% transparent and should be in the mixed state."
RenderText {#text} at (0,0) size 0x0
layer at (12,11) size 15x15
RenderBlock {INPUT} at (4,3) size 15x15
layer at (12,12) size 13x13
RenderBlock {INPUT} at (4,4) size 13x13
......@@ -6,7 +6,7 @@ layer at (0,0) size 800x600
RenderBlock (anonymous) at (0,0) size 784x19
RenderText {#text} at (0,0) size 762x19
text run at (0,0) width 762: "This tests the height attribute of form elements. The only element that should honour this value is the Image type of input."
RenderBlock {FORM} at (0,19) size 784x322
RenderBlock {FORM} at (0,19) size 784x320
RenderText {#text} at (0,5) size 36x19
text run at (0,5) width 36: "input "
RenderTextControl {INPUT} at (38,2) size 194x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
......@@ -19,74 +19,74 @@ layer at (0,0) size 800x600
RenderText {#text} at (225,34) size 4x19
text run at (225,34) width 4: " "
RenderBR {BR} at (229,49) size 0x0
RenderText {#text} at (0,59) size 65x19
text run at (0,59) width 65: "checkbox "
RenderBlock {INPUT} at (69,61) size 15x15
RenderText {#text} at (88,59) size 4x19
text run at (88,59) width 4: " "
RenderBR {BR} at (92,74) size 0x0
RenderText {#text} at (0,85) size 24x19
text run at (0,85) width 24: "file "
RenderFileUploadControl {INPUT} at (26,81) size 306x28 "(None)"
RenderText {#text} at (0,58) size 65x19
text run at (0,58) width 65: "checkbox "
RenderBlock {INPUT} at (69,62) size 13x13
RenderText {#text} at (86,58) size 4x19
text run at (86,58) width 4: " "
RenderBR {BR} at (90,73) size 0x0
RenderText {#text} at (0,84) size 24x19
text run at (0,84) width 24: "file "
RenderFileUploadControl {INPUT} at (26,80) size 306x28 "(None)"
RenderButton {INPUT} at (0,0) size 103x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 87x19
RenderText at (0,0) size 87x19
text run at (0,0) width 87: "Choose File"
RenderText {#text} at (334,85) size 4x19
text run at (334,85) width 4: " "
RenderBR {BR} at (338,100) size 0x0
RenderText {#text} at (0,111) size 42x19
text run at (0,111) width 42: "image "
RenderImage {INPUT} at (42,125) size 10x1
RenderText {#text} at (52,111) size 4x19
text run at (52,111) width 4: " "
RenderBR {BR} at (56,126) size 0x0
RenderText {#text} at (0,131) size 36x19
text run at (0,131) width 36: "radio "
RenderBlock {INPUT} at (40,133) size 15x15
RenderText {#text} at (59,131) size 4x19
text run at (59,131) width 4: " "
RenderBR {BR} at (63,146) size 0x0
RenderText {#text} at (0,152) size 39x19
text run at (0,152) width 39: "range "
RenderSlider {INPUT} at (41,153) size 129x14 [bgcolor=#FFFFFF]
RenderText {#text} at (334,84) size 4x19
text run at (334,84) width 4: " "
RenderBR {BR} at (338,99) size 0x0
RenderText {#text} at (0,110) size 42x19
text run at (0,110) width 42: "image "
RenderImage {INPUT} at (42,124) size 10x1
RenderText {#text} at (52,110) size 4x19
text run at (52,110) width 4: " "
RenderBR {BR} at (56,125) size 0x0
RenderText {#text} at (0,129) size 36x19
text run at (0,129) width 36: "radio "
RenderBlock {INPUT} at (40,133) size 13x13
RenderText {#text} at (57,129) size 4x19
text run at (57,129) width 4: " "
RenderBR {BR} at (61,144) size 0x0
RenderText {#text} at (0,150) size 39x19
text run at (0,150) width 39: "range "
RenderSlider {INPUT} at (41,151) size 129x14 [bgcolor=#FFFFFF]
RenderBlock {DIV} at (49,0) size 31x14
RenderText {#text} at (172,152) size 4x19
text run at (172,152) width 4: " "
RenderBR {BR} at (176,167) size 0x0
RenderText {#text} at (0,177) size 33x19
text run at (0,177) width 33: "reset "
RenderButton {INPUT} at (35,173) size 58x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (172,150) size 4x19
text run at (172,150) width 4: " "
RenderBR {BR} at (176,165) size 0x0
RenderText {#text} at (0,175) size 33x19
text run at (0,175) width 33: "reset "
RenderButton {INPUT} at (35,171) size 58x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 42x19
RenderText at (0,0) size 42x19
text run at (0,0) width 42: "Reset"
RenderText {#text} at (95,177) size 4x19
text run at (95,177) width 4: " "
RenderBR {BR} at (99,192) size 0x0
RenderText {#text} at (0,209) size 46x19
text run at (0,209) width 46: "submit "
RenderButton {INPUT} at (48,205) size 66x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderText {#text} at (95,175) size 4x19
text run at (95,175) width 4: " "
RenderBR {BR} at (99,190) size 0x0
RenderText {#text} at (0,207) size 46x19
text run at (0,207) width 46: "submit "
RenderButton {INPUT} at (48,203) size 66x28 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
RenderBlock (anonymous) at (8,4) size 50x19
RenderText at (0,0) size 50x19
text run at (0,0) width 50: "Submit"
RenderText {#text} at (116,209) size 4x19
text run at (116,209) width 4: " "
RenderBR {BR} at (120,224) size 0x0
RenderText {#text} at (0,240) size 49x19
text run at (0,240) width 49: "isindex "
RenderTextControl {INPUT} at (51,237) size 194x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
RenderText {#text} at (247,240) size 4x19
text run at (247,240) width 4: " "
RenderBR {BR} at (251,255) size 0x0
RenderText {#text} at (0,269) size 64x19
text run at (0,269) width 64: "password "
RenderTextControl {INPUT} at (66,266) size 194x25 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
RenderText {#text} at (262,269) size 4x19
text run at (262,269) width 4: " "
RenderBR {BR} at (266,284) size 0x0
RenderText {#text} at (0,298) size 44x19