Changeset 143548 in webkit


Ignore:
Timestamp:
Feb 20, 2013 6:20:08 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Convert residual-style.html test to a reftest (and fix typos)
https://bugs.webkit.org/show_bug.cgi?id=109981

Patch by Christian Biesinger <cbiesinger@chromium.org> on 2013-02-20
Reviewed by Darin Adler.

  • fast/flexbox/box-orient-button.html: clsas->class
  • fast/flexbox/resources/box-orient-button.js: DTR->DRT
  • fast/invalid/residual-style-expected.html: Added. New reftest

version. Note that some lines are red, which is
https://bugs.webkit.org/show_bug.cgi?id=109984

  • fast/invalid/residual-style.html: Add missing semicolon in <style>.

Also close a few more <font> tags, so that the descriptive text is
in black as it should be.

  • platform/chromium-android/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-android/fast/invalid/residual-style-expected.txt: Removed.
  • platform/chromium-linux/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-linux/fast/invalid/residual-style-expected.txt: Removed.
  • platform/chromium-mac-lion/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-mac/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-mac/fast/invalid/residual-style-expected.txt: Removed.
  • platform/chromium-win/fast/invalid/residual-style-expected.png: Removed.
  • platform/chromium-win/fast/invalid/residual-style-expected.txt: Removed.
  • platform/efl/fast/invalid/residual-style-expected.png: Removed.
  • platform/efl/fast/invalid/residual-style-expected.txt: Removed.
  • platform/gtk/fast/invalid/residual-style-expected.png: Removed.
  • platform/gtk/fast/invalid/residual-style-expected.txt: Removed.
  • platform/mac/fast/invalid/residual-style-expected.png: Removed.
  • platform/mac/fast/invalid/residual-style-expected.txt: Removed.

Removed old expectation files.

Location:
trunk/LayoutTests
Files:
1 added
16 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r143546 r143548  
     12013-02-20  Christian Biesinger  <cbiesinger@chromium.org>
     2
     3        Convert residual-style.html test to a reftest (and fix typos)
     4        https://bugs.webkit.org/show_bug.cgi?id=109981
     5
     6        Reviewed by Darin Adler.
     7
     8        * fast/flexbox/box-orient-button.html: clsas->class
     9        * fast/flexbox/resources/box-orient-button.js: DTR->DRT
     10        * fast/invalid/residual-style-expected.html: Added. New reftest
     11        version. Note that some lines are red, which is
     12        https://bugs.webkit.org/show_bug.cgi?id=109984
     13        * fast/invalid/residual-style.html: Add missing semicolon in <style>.
     14        Also close a few more <font> tags, so that the descriptive text is
     15        in black as it should be.
     16
     17        * platform/chromium-android/fast/invalid/residual-style-expected.png: Removed.
     18        * platform/chromium-android/fast/invalid/residual-style-expected.txt: Removed.
     19        * platform/chromium-linux/fast/invalid/residual-style-expected.png: Removed.
     20        * platform/chromium-linux/fast/invalid/residual-style-expected.txt: Removed.
     21        * platform/chromium-mac-lion/fast/invalid/residual-style-expected.png: Removed.
     22        * platform/chromium-mac-snowleopard/fast/invalid/residual-style-expected.png: Removed.
     23        * platform/chromium-mac/fast/invalid/residual-style-expected.png: Removed.
     24        * platform/chromium-mac/fast/invalid/residual-style-expected.txt: Removed.
     25        * platform/chromium-win/fast/invalid/residual-style-expected.png: Removed.
     26        * platform/chromium-win/fast/invalid/residual-style-expected.txt: Removed.
     27        * platform/efl/fast/invalid/residual-style-expected.png: Removed.
     28        * platform/efl/fast/invalid/residual-style-expected.txt: Removed.
     29        * platform/gtk/fast/invalid/residual-style-expected.png: Removed.
     30        * platform/gtk/fast/invalid/residual-style-expected.txt: Removed.
     31        * platform/mac/fast/invalid/residual-style-expected.png: Removed.
     32        * platform/mac/fast/invalid/residual-style-expected.txt: Removed.
     33        Removed old expectation files.
     34
    1352013-02-20  David Hyatt  <hyatt@apple.com>
    236
  • trunk/LayoutTests/fast/flexbox/box-orient-button.html

    r143431 r143548  
    4545<p>
    4646horizontal:<br>
    47 <button id="horizontal" clsas="box horizontal">
     47<button id="horizontal" class="box horizontal">
    4848  <span>hello</span>
    4949  <span>world</span>
  • trunk/LayoutTests/fast/flexbox/resources/box-orient-button.js

    r143431 r143548  
    2121shouldBe("gebi('toVertical').clientHeight", "referenceVerticalHeight");
    2222
    23 // If we are in DTR, we don't need meaningless messages.
     23// If we are in DRT, we don't need meaningless messages.
    2424if (window.testRunner)
    2525    document.getElementById("main").innerHTML = "";
  • trunk/LayoutTests/fast/invalid/residual-style.html

    r143431 r143548  
    77applet, canvas, embed, object { width:0px; height:0px; }
    88blockquote, center { display: inline; padding:0; margin: 0 }
    9 button { width: 0px; height: 0px border: 0; padding: 0; }
     9button { width: 0px; height: 0px; border: 0; padding: 0; }
    1010map { display: inline }
    1111fieldset { border: 0; display: inline; margin: 0; padding: 0 }
     
    2121
    2222<h2>Passing Tags</h2>
    23 
    2423<hr>
    2524A: <a><font>All of this</a> should be green</font>
    26 
    2725<hr>
    28 
    2926ABBR: <abbr><font>All of this</abbr> should be green</font>
    30 
    3127<hr>
    32 
    3328ACRONYM: <acronym><font>All of this</acronym> should be green</font>
    34 
    3529<hr>
    36 
    3730ADDRESS: <address><font>All of this</address> should be green</font>
    38 
    3931<hr>
    40 
    4132APPLET: <applet><font></applet>All of this should be green.</font>
    42 
    4333<hr>
    44 
    4534AREA: <map><area><font></area></map>All of this should be green.</font>
    46 
    4735<hr>
    48 
    4936B: <b><font></b>All of this should be green.</font>
    50 
    5137<hr>
    52 
    5338BDO: <bdo><font></bdo>All of this should be green.</font>
    54 
    5539<hr>
    56 
    5740BIG: <big><font></big>All of this should be green.</font>
    58 
    5941<hr>
    60 
    6142BLOCKQUOTE: <blockquote><font></blockquote>All of this should be green.</font>
    62 
    6343<hr>
    64 
    6544BUTTON: <button><font></button>All of this should be green.</font>
    66 
    6745<hr>
    68 
    6946CANVAS: <canvas><font></canvas>All of this should be green.</font>
    70 
    7147<hr>
    72 
    7348CAPTION: <font><table><caption><font class="fail"></caption></table>All of this should be green.</font></font>
    74 
    7549<hr>
    76 
    7750CENTER: <center><font></center>All of this should be green.</font>
    78 
    7951<hr>
    80 
    8152CITE: <cite><font></cite>All of this should be green.</font>
    82 
    8353<hr>
    84 
    8554CODE: <code><font></code>All of this should be green.</font>
    86 
    8755<hr>
    88 
    8956COL: <font><table><col><font class="fail"></col></table>All of this should be green.</font></font>
    90 
    9157<hr>
    92 
    9358COLGROUP: <font><table><colgroup><font class="fail"></colgroup></table>All of this should be green.</font></font>
    94 
    9559<hr>
    96 
    9760DD: <dl><dd><font></dd></dl>All of this should be green.</font>
    98 
    9961<hr>
    100 
    10162DEL: <del><font></del>All of this should be green.</font>
    102 
    10363<hr>
    104 
    10564DFN: <dfn><font></dfn>All of this should be green.</font>
    106 
    10765<hr>
    108 
    10966DIR: <dir><font></dir>All of this should be green.</font>
    110 
    11167<hr>
    112 
    11368DIV: <div><font></div>All of this should be green.</font>
    114 
    11569<hr>
    116 
    11770DL: <dl><font></dl>All of this should be green.</font>
    118 
    11971<hr>
    120 
    12172DT: <dl><dt><font></dt></dl>All of this should be green.</font>
    122 
    12373<hr>
    124 
    12574EM: <em><font></em>All of this should be green.</font>
    126 
    12775<hr>
    128 
    12976EMBED: <embed><font></embed>All of this should be green.</font>
    130 
    13177<hr>
    132 
    13378FIELDSET: <fieldset><font></fieldset>All of this should be green.</font>
    134 
    13579<hr>
    136 
    13780FONT: <font><i style="color:green; font-style:normal"></font>All of this should be green.</i>
    138 
    13981<hr>
    140 
    14182FORM: <form><font></form>All of this should be green.</font>
    142 
    14383<hr>
    144 
    14584H1: <h1><font></h1>All of this should be green.</font>
    146 
    14785<hr>
    148 
    14986H2: <h2><font></h2>All of this should be green.</font>
    150 
    15187<hr>
    152 
    15388H3: <h3><font></h3>All of this should be green.</font>
    154 
    15589<hr>
    156 
    15790H4: <h4><font></h4>All of this should be green.</font>
    158 
    15991<hr>
    160 
    16192H5: <h5><font></h5>All of this should be green.</font>
    162 
    16393<hr>
    164 
    16594H6: <h6><font></h6>All of this should be green.</font>
    166 
    16795<hr>
    168 
    16996I: <i><font></i>All of this should be green.</font>
    170 
    17197<hr>
    172 
    17398INS: <ins><font></ins>All of this should be green.</font>
    174 
    17599<hr>
    176 
    177100ISINDEX: <isindex><font></isindex>All of this should be green.</font>
    178 
    179101<hr>
    180 
    181102KBD: <kbd><font></kbd>All of this should be green.</font>
    182 
    183103<hr>
    184 
    185104KEYGEN: <keygen><font></keygen>All of this should be green.</font>
    186 
    187105<hr>
    188 
    189106LABEL: <label><font></label>All of this should be green.</font>
    190 
    191107<hr>
    192 
    193108LEGEND: <fieldset><legend><font></legend></fieldset>All of this should be green.</font>
    194 
    195109<hr>
    196 
    197110LI: <li><font></li>All of this should be green.</font>
    198 
    199111<hr>
    200 
    201112LISTING: <listing><font></listing>All of this should be green.</font>
    202 
    203113<hr>
    204 
    205114MAP: <map><font></map>All of this should be green.</font>
    206 
    207115<hr>
    208 
    209116MARQUEE: <marquee><font></marquee>All of this should be green.</font>
    210 
    211117<hr>
    212 
    213118MENU: <menu><font></menu>All of this should be green.</font>
    214 
    215119<hr>
    216 
    217120NOBR: <nobr><font></nobr>All of this should be green.</font>
    218 
    219121<hr>
    220 
    221122OBJECT: <font><object><font class="fail"></object>All of this should be green.</font>
    222 
    223123<hr>
    224 
    225124OL: <ol><font></ol>All of this should be green.</font>
    226 
    227125<hr>
    228 
    229126OPTGROUP: <font><select><optgroup><font class="fail"></optgroup><option>One</select> All of this should be green.</font>
    230 
    231127<hr>
    232 
    233128OPTION: <font><select><option><font class="fail">One</option><option>Two</select> All of this should be green.</font>
    234 
    235129<hr>
    236 
    237130P: <p><font></p>All of this should be green.</font>
    238 
    239131<hr>
    240 
    241132PARAM: <font><object><param><font class="fail"></param></object>All of this should be green.</font>
    242 
    243133<hr>
    244 
    245134PRE: <pre><font></pre>All of this should be green.</font>
    246 
    247135<hr>
    248 
    249136Q: <q><font></q>All of this should be green.</font>
    250 
    251137<hr>
    252 
    253138S: <s><font></s>All of this should be green.</font>
    254 
    255139<hr>
    256 
    257140SAMP: <samp><font></samp>All of this should be green.</font>
    258 
    259141<hr>
    260 
    261142SELECT: <font><select><font class="fail"></select>All of this should be green.</font>
    262 
    263143<hr>
    264 
    265144SMALL: <small><font></small>All of this should be green.</font>
    266 
    267145<hr>
    268 
    269146SPAN: <span><font></span>All of this should be green.</font>
    270 
    271147<hr>
    272 
    273148STRIKE: <strike><font></strike>All of this should be green.</font>
    274 
    275149<hr>
    276 
    277150STRONG: <strong><font></strong>All of this should be green.</font>
    278 
    279151<hr>
    280 
    281152SUB: <sub><font></sub>All of this should be green.</font>
    282 
    283153<hr>
    284 
    285154SUP: <sup><font></sup>All of this should be green.</font>
    286 
    287155<hr>
    288 
    289 TABLE: <font><table><font class="fail"></table>All of this should be green.</font>
    290 
     156TABLE: <font><table><font class="fail"></table>All of this should be green.</font></font>
    291157<hr>
    292 
    293 TBODY: <font><table><tbody><font></tbody></table>All of this should be green.</font>
    294 
     158TBODY: <font><table><tbody><font></tbody></table>All of this should be green.</font></font>
    295159<hr>
    296 
    297 TD: <font><table><tr><td><font class="fail"></td></tr></table>All of this should be green.</font>
    298 
     160TD: <font><table><tr><td><font class="fail"></td></tr></table>All of this should be green.</font></font>
    299161<hr>
    300 
    301 TFOOT: <font><table><tfoot><font></tfoot></table>All of this should be green.</font>
    302 
     162TFOOT: <font><table><tfoot><font></tfoot></table>All of this should be green.</font></font>
    303163<hr>
    304 
    305 THEAD: <font><table><thead><font></thead></table>All of this should be green.</font>
    306 
     164THEAD: <font><table><thead><font></thead></table>All of this should be green.</font></font></font>
    307165<hr>
    308 
    309 TR: <font><table><tr><font></tr></table>All of this should be green.</font>
    310 
     166TR: <font><table><tr><font></tr></table>All of this should be green.</font></font>
    311167<hr>
    312 
    313168TT: <tt><font></tt>All of this should be green.</font>
    314 
    315169<hr>
    316 
    317170U: <u><font></u>All of this should be green.</font>
    318 
    319171<hr>
    320 
    321172UL: <ul><font></ul>All of this should be green.</font>
    322 
    323173<hr>
    324 
    325174VAR: <var><font></var>All of this should be green.</font>
Note: See TracChangeset for help on using the changeset viewer.