Changeset 125996 in webkit


Ignore:
Timestamp:
Aug 19, 2012 9:52:56 PM (12 years ago)
Author:
yosin@chromium.org
Message:

[Tests] time-multiple-fields-appearance-basic.html and time-multiple-fields-appearance-pseudo-elements.html are failed on Chromium Mac
https://bugs.webkit.org/show_bug.cgi?id=94439

Reviewed by Kent Tamura.

Source/WebCore:

This patch disabled CSS selector for Firefox compatibility applied to
multiple fields time input UI, because it is supposed to apply text
field rather than multiple fields.

This patch allows us to have same appearance among Chromium-Linux,
Mac and Win.

No new tests. Following existing tests cover this change:

fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html
fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly.html
fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes.html
fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html
fast/forms/time-multiple-fields/time-multiple-fields-appearance-style.html

  • css/themeWin.css: Exclude input[type="time"] selector if ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS

enabled.

LayoutTests:

This patch updates expected images of multiple fields time input UI for
Chromium-Linux and CSS selectors for expected HTML file for changing
of Source/WebCore/css/themeWin.css.

  • fast/forms/time-multiple-fields/resources/time-multiple-fields-appearance.css:

(.host): Changed padding property.
(.ampmField): Remove wrong property.
(.hourField): ditto
(.millisecondField): ditto
(.minuteField): ditto
(.secondField): ditto

  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt:
  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt:
  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
  • platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt:
  • platform/chromium/TestExpectations: Remove Chromium-Mac disabled entries.
Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r125989 r125996  
     12012-08-19  Yoshifumi Inoue  <yosin@chromium.org>
     2
     3        [Tests] time-multiple-fields-appearance-basic.html and time-multiple-fields-appearance-pseudo-elements.html are failed on Chromium Mac
     4        https://bugs.webkit.org/show_bug.cgi?id=94439
     5
     6        Reviewed by Kent Tamura.
     7
     8        This patch updates expected images of multiple fields time input UI for
     9        Chromium-Linux and CSS selectors for expected HTML file for changing
     10        of Source/WebCore/css/themeWin.css.
     11
     12        * fast/forms/time-multiple-fields/resources/time-multiple-fields-appearance.css:
     13        (.host): Changed padding property.
     14        (.ampmField): Remove wrong property.
     15        (.hourField): ditto
     16        (.millisecondField): ditto
     17        (.minuteField): ditto
     18        (.secondField): ditto
     19        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
     20        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt:
     21        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
     22        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt:
     23        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
     24        * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt:
     25        * platform/chromium/TestExpectations: Remove Chromium-Mac disabled entries.
     26
    1272012-08-19  Rik Cabanier  <cabanier@adobe.com>
    228
  • trunk/LayoutTests/fast/forms/time-multiple-fields/resources/time-multiple-fields-appearance.css

    r125849 r125996  
    99.host {
    1010    box-sizing: border-box;
    11 
    12     padding: 1px 0px;
    13 
     11    padding: 1px;
    1412    -webkit-appearance: textfield;
    1513    background-color: white;
     
    3937.ampmField {
    4038    border: none;
    41     --width: 2em;
    4239    padding: 0.15em;
    4340}
     
    4744    border: none;
    4845    text-align: center;
    49     --width: 1.2em;
    5046    padding: 0.15em;
    5147}
     
    5551    border: none;
    5652    text-align: center;
    57     --width: 1.8em;
    5853    padding: 0.15em;
    5954}
     
    6358    border: none;
    6459    text-align: center;
    65     --width: 1.2em;
    6660    padding: 0.15em;
    6761}
     
    7165    border: none;
    7266    text-align: center;
    73     --width: 1.2em;
    7467    padding: 0.15em;
    7568}
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.txt

    r125849 r125996  
    1212          RenderText {#text} at (0,4) size 67x19
    1313            text run at (0,4) width 67: "step=none "
    14           RenderBlock {INPUT} at (69,2) size 98x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    15             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
    16               RenderBlock (anonymous) at (0,0) size 76x20
    17                 RenderBlock {SPAN} at (0,0) size 20x20
    18                   RenderText {#text} at (2,2) size 16x16
    19                     text run at (2,2) width 16: "--"
    20                 RenderText {#text} at (20,2) size 8x16
    21                   text run at (20,2) width 8: ":"
    22                 RenderBlock {SPAN} at (28,0) size 20x20
    23                   RenderText {#text} at (2,2) size 16x16
    24                     text run at (2,2) width 16: "--"
    25                 RenderText {#text} at (48,2) size 8x16
    26                   text run at (48,2) width 8: " "
    27                 RenderInline {SPAN} at (0,0) size 20x20
    28                   RenderText {#text} at (58,2) size 16x16
    29                     text run at (58,2) width 16: "--"
    30           RenderText {#text} at (168,4) size 5x19
    31             text run at (168,4) width 5: " "
    32           RenderBlock {INPUT} at (174,2) size 99x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    33             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     14          RenderBlock {INPUT} at (69,2) size 100x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     15            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
     16              RenderBlock (anonymous) at (0,0) size 76x20
     17                RenderBlock {SPAN} at (0,0) size 20x20
     18                  RenderText {#text} at (2,2) size 16x16
     19                    text run at (2,2) width 16: "--"
     20                RenderText {#text} at (20,2) size 8x16
     21                  text run at (20,2) width 8: ":"
     22                RenderBlock {SPAN} at (28,0) size 20x20
     23                  RenderText {#text} at (2,2) size 16x16
     24                    text run at (2,2) width 16: "--"
     25                RenderText {#text} at (48,2) size 8x16
     26                  text run at (48,2) width 8: " "
     27                RenderInline {SPAN} at (0,0) size 20x20
     28                  RenderText {#text} at (58,2) size 16x16
     29                    text run at (58,2) width 16: "--"
     30          RenderText {#text} at (170,4) size 5x19
     31            text run at (170,4) width 5: " "
     32          RenderBlock {INPUT} at (176,2) size 101x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     33            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    3434              RenderBlock (anonymous) at (0,0) size 76x20
    3535                RenderBlock {SPAN} at (0,0) size 20x20
     
    5050          RenderText {#text} at (0,4) size 46x19
    5151            text run at (0,4) width 46: "step=1 "
    52           RenderBlock {INPUT} at (48,2) size 126x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    53             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 122x20
     52          RenderBlock {INPUT} at (48,2) size 128x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     53            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 122x20
    5454              RenderBlock (anonymous) at (0,0) size 104x20
    5555                RenderBlock {SPAN} at (0,0) size 20x20
     
    7171                  RenderText {#text} at (86,2) size 16x16
    7272                    text run at (86,2) width 16: "--"
    73           RenderText {#text} at (175,4) size 5x19
    74             text run at (175,4) width 5: " "
    75           RenderBlock {INPUT} at (181,2) size 127x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    76             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 122x20
     73          RenderText {#text} at (177,4) size 5x19
     74            text run at (177,4) width 5: " "
     75          RenderBlock {INPUT} at (183,2) size 129x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     76            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 122x20
    7777              RenderBlock (anonymous) at (0,0) size 104x20
    7878                RenderBlock {SPAN} at (0,0) size 20x20
     
    9898          RenderText {#text} at (0,4) size 82x19
    9999            text run at (0,4) width 82: "step=0.0001 "
    100           RenderBlock {INPUT} at (84,2) size 162x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    101             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 158x20
     100          RenderBlock {INPUT} at (84,2) size 164x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     101            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 158x20
    102102              RenderBlock (anonymous) at (0,0) size 140x20
    103103                RenderBlock {SPAN} at (0,0) size 20x20
     
    124124                  RenderText {#text} at (122,2) size 16x16
    125125                    text run at (122,2) width 16: "--"
    126           RenderText {#text} at (247,4) size 5x19
    127             text run at (247,4) width 5: " "
    128           RenderBlock {INPUT} at (253,2) size 163x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    129             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 158x20
     126          RenderText {#text} at (249,4) size 5x19
     127            text run at (249,4) width 5: " "
     128          RenderBlock {INPUT} at (255,2) size 165x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     129            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 158x20
    130130              RenderBlock (anonymous) at (0,0) size 140x20
    131131                RenderBlock {SPAN} at (0,0) size 20x20
     
    156156          RenderText {#text} at (0,4) size 54x19
    157157            text run at (0,4) width 54: "step=60 "
    158           RenderBlock {INPUT} at (56,2) size 98x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    159             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
    160               RenderBlock (anonymous) at (0,0) size 76x20
    161                 RenderBlock {SPAN} at (0,0) size 20x20
    162                   RenderText {#text} at (2,2) size 16x16
    163                     text run at (2,2) width 16: "--"
    164                 RenderText {#text} at (20,2) size 8x16
    165                   text run at (20,2) width 8: ":"
    166                 RenderBlock {SPAN} at (28,0) size 20x20
    167                   RenderText {#text} at (2,2) size 16x16
    168                     text run at (2,2) width 16: "--"
    169                 RenderText {#text} at (48,2) size 8x16
    170                   text run at (48,2) width 8: " "
    171                 RenderInline {SPAN} at (0,0) size 20x20
    172                   RenderText {#text} at (58,2) size 16x16
    173                     text run at (58,2) width 16: "--"
    174           RenderText {#text} at (155,4) size 5x19
    175             text run at (155,4) width 5: " "
    176           RenderBlock {INPUT} at (161,2) size 99x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    177             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     158          RenderBlock {INPUT} at (56,2) size 100x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     159            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
     160              RenderBlock (anonymous) at (0,0) size 76x20
     161                RenderBlock {SPAN} at (0,0) size 20x20
     162                  RenderText {#text} at (2,2) size 16x16
     163                    text run at (2,2) width 16: "--"
     164                RenderText {#text} at (20,2) size 8x16
     165                  text run at (20,2) width 8: ":"
     166                RenderBlock {SPAN} at (28,0) size 20x20
     167                  RenderText {#text} at (2,2) size 16x16
     168                    text run at (2,2) width 16: "--"
     169                RenderText {#text} at (48,2) size 8x16
     170                  text run at (48,2) width 8: " "
     171                RenderInline {SPAN} at (0,0) size 20x20
     172                  RenderText {#text} at (58,2) size 16x16
     173                    text run at (58,2) width 16: "--"
     174          RenderText {#text} at (157,4) size 5x19
     175            text run at (157,4) width 5: " "
     176          RenderBlock {INPUT} at (163,2) size 101x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     177            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    178178              RenderBlock (anonymous) at (0,0) size 76x20
    179179                RenderBlock {SPAN} at (0,0) size 20x20
     
    194194          RenderText {#text} at (0,4) size 70x19
    195195            text run at (0,4) width 70: "step=3600 "
    196           RenderBlock {INPUT} at (72,2) size 98x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    197             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     196          RenderBlock {INPUT} at (72,2) size 100x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     197            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    198198              RenderBlock (anonymous) at (0,0) size 76x20
    199199                RenderBlock {SPAN} at (0,0) size 20x20
     
    210210                  RenderText {#text} at (58,2) size 16x16
    211211                    text run at (58,2) width 16: "--"
    212           RenderText {#text} at (171,4) size 5x19
    213             text run at (171,4) width 5: " "
    214           RenderBlock {INPUT} at (177,2) size 99x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
    215             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     212          RenderText {#text} at (173,4) size 5x19
     213            text run at (173,4) width 5: " "
     214          RenderBlock {INPUT} at (179,2) size 101x26 [color=#545454] [bgcolor=#EBEBE4] [border: (2px inset #545454)]
     215            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    216216              RenderBlock (anonymous) at (0,0) size 76x20
    217217                RenderBlock {SPAN} at (0,0) size 20x20
     
    236236          RenderText {#text} at (0,4) size 67x19
    237237            text run at (0,4) width 67: "step=none "
    238           RenderBlock {INPUT} at (69,2) size 98x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    239             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
    240               RenderBlock (anonymous) at (0,0) size 76x20
    241                 RenderBlock {SPAN} at (0,0) size 20x20
    242                   RenderText {#text} at (2,2) size 16x16
    243                     text run at (2,2) width 16: "--"
    244                 RenderText {#text} at (20,2) size 8x16
    245                   text run at (20,2) width 8: ":"
    246                 RenderBlock {SPAN} at (28,0) size 20x20
    247                   RenderText {#text} at (2,2) size 16x16
    248                     text run at (2,2) width 16: "--"
    249                 RenderText {#text} at (48,2) size 8x16
    250                   text run at (48,2) width 8: " "
    251                 RenderInline {SPAN} at (0,0) size 20x20
    252                   RenderText {#text} at (58,2) size 16x16
    253                     text run at (58,2) width 16: "--"
    254           RenderText {#text} at (168,4) size 5x19
    255             text run at (168,4) width 5: " "
    256           RenderBlock {INPUT} at (174,2) size 99x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    257             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     238          RenderBlock {INPUT} at (69,2) size 100x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     239            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
     240              RenderBlock (anonymous) at (0,0) size 76x20
     241                RenderBlock {SPAN} at (0,0) size 20x20
     242                  RenderText {#text} at (2,2) size 16x16
     243                    text run at (2,2) width 16: "--"
     244                RenderText {#text} at (20,2) size 8x16
     245                  text run at (20,2) width 8: ":"
     246                RenderBlock {SPAN} at (28,0) size 20x20
     247                  RenderText {#text} at (2,2) size 16x16
     248                    text run at (2,2) width 16: "--"
     249                RenderText {#text} at (48,2) size 8x16
     250                  text run at (48,2) width 8: " "
     251                RenderInline {SPAN} at (0,0) size 20x20
     252                  RenderText {#text} at (58,2) size 16x16
     253                    text run at (58,2) width 16: "--"
     254          RenderText {#text} at (170,4) size 5x19
     255            text run at (170,4) width 5: " "
     256          RenderBlock {INPUT} at (176,2) size 101x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     257            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    258258              RenderBlock (anonymous) at (0,0) size 76x20
    259259                RenderBlock {SPAN} at (0,0) size 20x20
     
    274274          RenderText {#text} at (0,4) size 46x19
    275275            text run at (0,4) width 46: "step=1 "
    276           RenderBlock {INPUT} at (48,2) size 126x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    277             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 122x20
     276          RenderBlock {INPUT} at (48,2) size 128x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     277            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 122x20
    278278              RenderBlock (anonymous) at (0,0) size 104x20
    279279                RenderBlock {SPAN} at (0,0) size 20x20
     
    295295                  RenderText {#text} at (86,2) size 16x16
    296296                    text run at (86,2) width 16: "--"
    297           RenderText {#text} at (175,4) size 5x19
    298             text run at (175,4) width 5: " "
    299           RenderBlock {INPUT} at (181,2) size 127x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    300             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 122x20
     297          RenderText {#text} at (177,4) size 5x19
     298            text run at (177,4) width 5: " "
     299          RenderBlock {INPUT} at (183,2) size 129x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     300            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 122x20
    301301              RenderBlock (anonymous) at (0,0) size 104x20
    302302                RenderBlock {SPAN} at (0,0) size 20x20
     
    322322          RenderText {#text} at (0,4) size 82x19
    323323            text run at (0,4) width 82: "step=0.0001 "
    324           RenderBlock {INPUT} at (84,2) size 162x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    325             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 158x20
     324          RenderBlock {INPUT} at (84,2) size 164x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     325            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 158x20
    326326              RenderBlock (anonymous) at (0,0) size 140x20
    327327                RenderBlock {SPAN} at (0,0) size 20x20
     
    348348                  RenderText {#text} at (122,2) size 16x16
    349349                    text run at (122,2) width 16: "--"
    350           RenderText {#text} at (247,4) size 5x19
    351             text run at (247,4) width 5: " "
    352           RenderBlock {INPUT} at (253,2) size 163x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    353             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 158x20
     350          RenderText {#text} at (249,4) size 5x19
     351            text run at (249,4) width 5: " "
     352          RenderBlock {INPUT} at (255,2) size 165x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     353            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 158x20
    354354              RenderBlock (anonymous) at (0,0) size 140x20
    355355                RenderBlock {SPAN} at (0,0) size 20x20
     
    380380          RenderText {#text} at (0,4) size 54x19
    381381            text run at (0,4) width 54: "step=60 "
    382           RenderBlock {INPUT} at (56,2) size 98x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    383             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
    384               RenderBlock (anonymous) at (0,0) size 76x20
    385                 RenderBlock {SPAN} at (0,0) size 20x20
    386                   RenderText {#text} at (2,2) size 16x16
    387                     text run at (2,2) width 16: "--"
    388                 RenderText {#text} at (20,2) size 8x16
    389                   text run at (20,2) width 8: ":"
    390                 RenderBlock {SPAN} at (28,0) size 20x20
    391                   RenderText {#text} at (2,2) size 16x16
    392                     text run at (2,2) width 16: "--"
    393                 RenderText {#text} at (48,2) size 8x16
    394                   text run at (48,2) width 8: " "
    395                 RenderInline {SPAN} at (0,0) size 20x20
    396                   RenderText {#text} at (58,2) size 16x16
    397                     text run at (58,2) width 16: "--"
    398           RenderText {#text} at (155,4) size 5x19
    399             text run at (155,4) width 5: " "
    400           RenderBlock {INPUT} at (161,2) size 99x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    401             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     382          RenderBlock {INPUT} at (56,2) size 100x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     383            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
     384              RenderBlock (anonymous) at (0,0) size 76x20
     385                RenderBlock {SPAN} at (0,0) size 20x20
     386                  RenderText {#text} at (2,2) size 16x16
     387                    text run at (2,2) width 16: "--"
     388                RenderText {#text} at (20,2) size 8x16
     389                  text run at (20,2) width 8: ":"
     390                RenderBlock {SPAN} at (28,0) size 20x20
     391                  RenderText {#text} at (2,2) size 16x16
     392                    text run at (2,2) width 16: "--"
     393                RenderText {#text} at (48,2) size 8x16
     394                  text run at (48,2) width 8: " "
     395                RenderInline {SPAN} at (0,0) size 20x20
     396                  RenderText {#text} at (58,2) size 16x16
     397                    text run at (58,2) width 16: "--"
     398          RenderText {#text} at (157,4) size 5x19
     399            text run at (157,4) width 5: " "
     400          RenderBlock {INPUT} at (163,2) size 101x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     401            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    402402              RenderBlock (anonymous) at (0,0) size 76x20
    403403                RenderBlock {SPAN} at (0,0) size 20x20
     
    418418          RenderText {#text} at (0,4) size 70x19
    419419            text run at (0,4) width 70: "step=3600 "
    420           RenderBlock {INPUT} at (72,2) size 98x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    421             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     420          RenderBlock {INPUT} at (72,2) size 100x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     421            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    422422              RenderBlock (anonymous) at (0,0) size 76x20
    423423                RenderBlock {SPAN} at (0,0) size 20x20
     
    434434                  RenderText {#text} at (58,2) size 16x16
    435435                    text run at (58,2) width 16: "--"
    436           RenderText {#text} at (171,4) size 5x19
    437             text run at (171,4) width 5: " "
    438           RenderBlock {INPUT} at (177,2) size 99x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    439             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     436          RenderText {#text} at (173,4) size 5x19
     437            text run at (173,4) width 5: " "
     438          RenderBlock {INPUT} at (179,2) size 101x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     439            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    440440              RenderBlock (anonymous) at (0,0) size 76x20
    441441                RenderBlock {SPAN} at (0,0) size 20x20
     
    452452                  RenderText {#text} at (58,2) size 16x16
    453453                    text run at (58,2) width 16: "PM"
    454 layer at (198,49) size 15x20
    455   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    456 layer at (303,49) size 15x20
    457   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    458 layer at (205,79) size 15x20
     454layer at (199,49) size 15x20
     455  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     456layer at (306,49) size 15x20
     457  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     458layer at (206,79) size 15x20
    459459  RenderBlock (relative positioned) {DIV} at (106,0) size 16x20
    460 layer at (338,79) size 15x20
     460layer at (341,79) size 15x20
    461461  RenderBlock (relative positioned) {DIV} at (106,0) size 16x20
    462 layer at (277,109) size 15x20
     462layer at (278,109) size 15x20
    463463  RenderBlock (relative positioned) {DIV} at (142,0) size 16x20
    464 layer at (446,109) size 15x20
     464layer at (449,109) size 15x20
    465465  RenderBlock (relative positioned) {DIV} at (142,0) size 16x20
    466 layer at (185,139) size 15x20
    467   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    468 layer at (290,139) size 15x20
    469   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    470 layer at (201,169) size 15x20
    471   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    472 layer at (306,169) size 15x20
    473   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    474 layer at (198,251) size 15x20
    475   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    476 layer at (303,251) size 15x20
    477   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    478 layer at (205,281) size 15x20
     466layer at (186,139) size 15x20
     467  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     468layer at (293,139) size 15x20
     469  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     470layer at (202,169) size 15x20
     471  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     472layer at (309,169) size 15x20
     473  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     474layer at (199,251) size 15x20
     475  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     476layer at (306,251) size 15x20
     477  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     478layer at (206,281) size 15x20
    479479  RenderBlock (relative positioned) {DIV} at (106,0) size 16x20
    480 layer at (338,281) size 15x20
     480layer at (341,281) size 15x20
    481481  RenderBlock (relative positioned) {DIV} at (106,0) size 16x20
    482 layer at (277,311) size 15x20
     482layer at (278,311) size 15x20
    483483  RenderBlock (relative positioned) {DIV} at (142,0) size 16x20
    484 layer at (446,311) size 15x20
     484layer at (449,311) size 15x20
    485485  RenderBlock (relative positioned) {DIV} at (142,0) size 16x20
    486 layer at (185,341) size 15x20
    487   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    488 layer at (290,341) size 15x20
    489   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    490 layer at (201,371) size 15x20
    491   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    492 layer at (306,371) size 15x20
    493   RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     486layer at (186,341) size 15x20
     487  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     488layer at (293,341) size 15x20
     489  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     490layer at (202,371) size 15x20
     491  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
     492layer at (309,371) size 15x20
     493  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.txt

    r125849 r125996  
    1010        RenderText {#text} at (0,0) size 153x26
    1111          text run at (0,0) width 153: "Pseudo Classes"
    12       RenderTable {TABLE} at (0,105) size 214x207
    13         RenderTableSection {TBODY} at (0,0) size 214x206
    14           RenderTableRow {TR} at (0,2) size 214x32
     12      RenderTable {TABLE} at (0,105) size 216x207
     13        RenderTableSection {TBODY} at (0,0) size 216x206
     14          RenderTableRow {TR} at (0,2) size 216x32
    1515            RenderTableCell {TH} at (2,7) size 104x22 [r=0 c=0 rs=1 cs=1]
    1616              RenderText {#text} at (1,1) size 102x19
    1717                text run at (1,1) width 102: ":enabled, :valid"
    18             RenderTableCell {TD} at (108,2) size 104x32 [r=0 c=1 rs=1 cs=1]
    19               RenderBlock {INPUT} at (3,3) size 98x26 [color=#008000] [bgcolor=#FFFFFF] [border: (2px inset #008000)]
    20                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     18            RenderTableCell {TD} at (108,2) size 106x32 [r=0 c=1 rs=1 cs=1]
     19              RenderBlock {INPUT} at (3,3) size 100x26 [color=#008000] [bgcolor=#FFFFFF] [border: (2px inset #008000)]
     20                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    2121                  RenderBlock (anonymous) at (0,0) size 76x20
    2222                    RenderBlock {SPAN} at (0,0) size 20x20
     
    3333                      RenderText {#text} at (58,2) size 16x16
    3434                        text run at (58,2) width 16: "PM"
    35           RenderTableRow {TR} at (0,36) size 214x32
     35          RenderTableRow {TR} at (0,36) size 216x32
    3636            RenderTableCell {TH} at (2,41) size 104x22 [r=1 c=0 rs=1 cs=1]
    3737              RenderText {#text} at (22,1) size 60x19
    3838                text run at (22,1) width 60: ":disabled"
    39             RenderTableCell {TD} at (108,36) size 104x32 [r=1 c=1 rs=1 cs=1]
    40               RenderBlock {INPUT} at (3,3) size 98x26 [color=#808080] [bgcolor=#EBEBE4] [border: (2px inset #808080)]
    41                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     39            RenderTableCell {TD} at (108,36) size 106x32 [r=1 c=1 rs=1 cs=1]
     40              RenderBlock {INPUT} at (3,3) size 100x26 [color=#808080] [bgcolor=#EBEBE4] [border: (2px inset #808080)]
     41                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    4242                  RenderBlock (anonymous) at (0,0) size 76x20
    4343                    RenderBlock {SPAN} at (0,0) size 20x20
     
    5454                      RenderText {#text} at (58,2) size 16x16
    5555                        text run at (58,2) width 16: "PM"
    56           RenderTableRow {TR} at (0,70) size 214x32
     56          RenderTableRow {TR} at (0,70) size 216x32
    5757            RenderTableCell {TH} at (2,75) size 104x22 [r=2 c=0 rs=1 cs=1]
    5858              RenderText {#text} at (27,1) size 50x19
    5959                text run at (27,1) width 50: ":invalid"
    60             RenderTableCell {TD} at (108,70) size 104x32 [r=2 c=1 rs=1 cs=1]
    61               RenderBlock {INPUT} at (3,3) size 98x26 [color=#FFC0CB] [bgcolor=#FFFFFF] [border: (2px inset #FFC0CB)]
    62                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     60            RenderTableCell {TD} at (108,70) size 106x32 [r=2 c=1 rs=1 cs=1]
     61              RenderBlock {INPUT} at (3,3) size 100x26 [color=#FFC0CB] [bgcolor=#FFFFFF] [border: (2px inset #FFC0CB)]
     62                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    6363                  RenderBlock (anonymous) at (0,0) size 76x20
    6464                    RenderBlock {SPAN} at (0,0) size 20x20
     
    7575                      RenderText {#text} at (58,2) size 16x16
    7676                        text run at (58,2) width 16: "PM"
    77           RenderTableRow {TR} at (0,104) size 214x32
     77          RenderTableRow {TR} at (0,104) size 216x32
    7878            RenderTableCell {TH} at (2,109) size 104x22 [r=3 c=0 rs=1 cs=1]
    7979              RenderText {#text} at (22,1) size 60x19
    8080                text run at (22,1) width 60: ":in-range"
    81             RenderTableCell {TD} at (108,104) size 104x32 [r=3 c=1 rs=1 cs=1]
    82               RenderBlock {INPUT} at (3,3) size 98x26 [color=#008000] [bgcolor=#FFFFFF] [border: (2px inset #008000)]
    83                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     81            RenderTableCell {TD} at (108,104) size 106x32 [r=3 c=1 rs=1 cs=1]
     82              RenderBlock {INPUT} at (3,3) size 100x26 [color=#008000] [bgcolor=#FFFFFF] [border: (2px inset #008000)]
     83                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    8484                  RenderBlock (anonymous) at (0,0) size 76x20
    8585                    RenderBlock {SPAN} at (0,0) size 20x20
     
    9696                      RenderText {#text} at (58,2) size 16x16
    9797                        text run at (58,2) width 16: "PM"
    98           RenderTableRow {TR} at (0,138) size 214x32
     98          RenderTableRow {TR} at (0,138) size 216x32
    9999            RenderTableCell {TH} at (2,143) size 104x22 [r=4 c=0 rs=1 cs=1]
    100100              RenderText {#text} at (8,1) size 88x19
    101101                text run at (8,1) width 88: ":out-of-range"
    102             RenderTableCell {TD} at (108,138) size 104x32 [r=4 c=1 rs=1 cs=1]
    103               RenderBlock {INPUT} at (3,3) size 98x26 [color=#FF0000] [bgcolor=#FFFFFF] [border: (2px inset #FF0000)]
    104                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     102            RenderTableCell {TD} at (108,138) size 106x32 [r=4 c=1 rs=1 cs=1]
     103              RenderBlock {INPUT} at (3,3) size 100x26 [color=#FF0000] [bgcolor=#FFFFFF] [border: (2px inset #FF0000)]
     104                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    105105                  RenderBlock (anonymous) at (0,0) size 76x20
    106106                    RenderBlock {SPAN} at (0,0) size 20x20
     
    117117                      RenderText {#text} at (58,2) size 16x16
    118118                        text run at (58,2) width 16: "PM"
    119           RenderTableRow {TR} at (0,172) size 214x32
     119          RenderTableRow {TR} at (0,172) size 216x32
    120120            RenderTableCell {TH} at (2,177) size 104x22 [r=5 c=0 rs=1 cs=1]
    121121              RenderText {#text} at (18,1) size 68x19
    122122                text run at (18,1) width 68: ":read-only"
    123             RenderTableCell {TD} at (108,172) size 104x32 [r=5 c=1 rs=1 cs=1]
    124               RenderBlock {INPUT} at (3,3) size 98x26 [color=#0000FF] [bgcolor=#FFFFFF] [border: (2px inset #0000FF)]
    125                 RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     123            RenderTableCell {TD} at (108,172) size 106x32 [r=5 c=1 rs=1 cs=1]
     124              RenderBlock {INPUT} at (3,3) size 100x26 [color=#0000FF] [bgcolor=#FFFFFF] [border: (2px inset #0000FF)]
     125                RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    126126                  RenderBlock (anonymous) at (0,0) size 76x20
    127127                    RenderBlock {SPAN} at (0,0) size 20x20
     
    138138                      RenderText {#text} at (58,2) size 16x16
    139139                        text run at (58,2) width 16: "PM"
    140 layer at (200,121) size 15x20
     140layer at (201,121) size 15x20
    141141  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    142 layer at (200,155) size 15x20
     142layer at (201,155) size 15x20
    143143  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    144 layer at (200,189) size 15x20
     144layer at (201,189) size 15x20
    145145  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    146 layer at (200,223) size 15x20
     146layer at (201,223) size 15x20
    147147  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    148 layer at (200,257) size 15x20
     148layer at (201,257) size 15x20
    149149  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    150 layer at (200,291) size 15x20
     150layer at (201,291) size 15x20
    151151  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
  • trunk/LayoutTests/platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.txt

    r125849 r125996  
    99          RenderText {#text} at (0,4) size 62x19
    1010            text run at (0,4) width 62: "text-align: "
    11           RenderBlock {INPUT} at (64,2) size 98x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    12             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     11          RenderBlock {INPUT} at (64,2) size 100x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     12            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    1313              RenderBlock (anonymous) at (0,0) size 76x20
    1414                RenderBlock {SPAN} at (0,0) size 20x20
     
    2929          RenderText {#text} at (0,4) size 92x19
    3030            text run at (0,4) width 92: "text-transform: "
    31           RenderBlock {INPUT} at (94,2) size 98x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    32             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 94x20
     31          RenderBlock {INPUT} at (94,2) size 100x26 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     32            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 94x20
    3333              RenderBlock (anonymous) at (0,0) size 76x20
    3434                RenderBlock {SPAN} at (0,0) size 20x20
     
    4949          RenderText {#text} at (0,2) size 118x19
    5050            text run at (0,2) width 118: "background, color: "
    51           RenderBlock {INPUT} at (120,2) size 94x22 [color=#FFFF00] [bgcolor=#008000]
    52             RenderDeprecatedFlexibleBox {DIV} at (0,1) size 94x20
     51          RenderBlock {INPUT} at (120,2) size 96x22 [color=#FFFF00] [bgcolor=#008000]
     52            RenderDeprecatedFlexibleBox {DIV} at (1,1) size 94x20
    5353              RenderBlock (anonymous) at (0,0) size 76x20
    5454                RenderBlock {SPAN} at (0,0) size 20x20
     
    6969          RenderText {#text} at (0,18) size 58x19
    7070            text run at (0,18) width 58: "font-size: "
    71           RenderBlock {INPUT} at (60,2) size 177x46 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    72             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 173x40
     71          RenderBlock {INPUT} at (60,2) size 179x46 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
     72            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 173x40
    7373              RenderBlock (anonymous) at (0,1) size 152x38
    7474                RenderBlock {SPAN} at (0,0) size 40x38
     
    9090            text run at (0,18) width 190: "font-size with fixed input width: "
    9191          RenderBlock {INPUT} at (190,2) size 267x46 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
    92             RenderDeprecatedFlexibleBox {DIV} at (2,3) size 263x40
     92            RenderDeprecatedFlexibleBox {DIV} at (3,3) size 261x40
    9393              RenderBlock (anonymous) at (0,1) size 152x38
    9494                RenderBlock {SPAN} at (0,0) size 40x38
     
    105105                  RenderText {#text} at (116,4) size 32x30
    106106                    text run at (116,4) width 32: "PM"
    107 layer at (193,13) size 15x20
     107layer at (194,13) size 15x20
    108108  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    109 layer at (223,43) size 15x20
     109layer at (224,43) size 15x20
    110110  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    111 layer at (247,71) size 15x20
     111layer at (248,71) size 15x20
    112112  RenderBlock (relative positioned) {DIV} at (78,0) size 16x20
    113 layer at (267,99) size 15x40
     113layer at (268,99) size 15x40
    114114  RenderBlock (relative positioned) {DIV} at (157,0) size 16x40
    115 layer at (397,149) size 15x40
     115layer at (398,149) size 15x40
    116116  RenderBlock (relative positioned) {DIV} at (157,0) size 16x40
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r125986 r125996  
    175175BUGWK94287 MAC WIN : fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes.html = MISSING TEXT IMAGE IMAGE+TEXT PASS
    176176BUGWK94287 MAC WIN : fast/forms/time-multiple-fields/time-multiple-fields-appearance-style.html = MISSING TEXT IMAGE IMAGE+TEXT PASS
    177 
    178 // Temporary disabled
    179 BUGWK94439 MAC : fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html = IMAGE PASS
    180 BUGWK94439 MAC : fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html = IMAGE PASS
    181177
    182178// Proximity Events is not supported.
  • trunk/Source/WebCore/ChangeLog

    r125995 r125996  
     12012-08-19  Yoshifumi Inoue  <yosin@chromium.org>
     2
     3        [Tests] time-multiple-fields-appearance-basic.html and time-multiple-fields-appearance-pseudo-elements.html are failed on Chromium Mac
     4        https://bugs.webkit.org/show_bug.cgi?id=94439
     5
     6        Reviewed by Kent Tamura.
     7
     8        This patch disabled CSS selector for Firefox compatibility applied to
     9        multiple fields time input UI, because it is supposed to apply text
     10        field rather than multiple fields.
     11
     12        This patch allows us to have same appearance among Chromium-Linux,
     13        Mac and Win.
     14
     15        No new tests. Following existing tests cover this change:
     16          fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic.html
     17          fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly.html
     18          fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes.html
     19          fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-elements.html
     20          fast/forms/time-multiple-fields/time-multiple-fields-appearance-style.html
     21
     22        * css/themeWin.css: Exclude input[type="time"] selector if ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS
     23        enabled.
     24
    1252012-08-19  Kentaro Hara  <haraken@chromium.org>
    226
  • trunk/Source/WebCore/css/themeWin.css

    r120411 r125996  
    4444input[type="tel"],
    4545input[type="text"],
     46#if !defined(ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS) || !ENABLE_INPUT_TYPE_TIME_MULTIPLE_FIELDS
    4647input[type="time"],
     48#endif
    4749input[type="url"],
    4850input[type="week"] {
Note: See TracChangeset for help on using the changeset viewer.