layout/reftests/bugs/711359-1.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     4 <head>
     5  <script>
     6   var lastLang = "";
     7   function LangSelect(aLang) {
     8     var tbody = document.getElementById("l10ntbody");
     9     var child = tbody.firstChild;
    10     while (child) {
    11       if (child.nodeType == Node.ELEMENT_NODE) {
    12         if (aLang == "*" || aLang == child.getAttribute("language"))
    13           child.removeAttribute("style");
    14         else
    15            child.setAttribute("style", "display: none");
    16       }
    17       child = child.nextSibling;
    18     }
    19   }
    20 </script>
    21 </head>
    23 <body onload="LangSelect('cs');">
    24  <table style="border-collapse: collapse;" border="1">
    25   <tbody id="l10ntbody">
    26    <tr style="display: none;" language="cs"><td>&nbsp;</td></tr>
    27    <tr style="display: none;" language="cs"><td>&nbsp;</td></tr>
    28    <tr style="display: none;" language="cs"><td>&nbsp;</td></tr>
    29   </tbody>
    30  </table>
    31 </body>
    32 </html>

mercurial