tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

search-styles-iso-8859-8.html (1609B)


      1 <!doctype html>
      2 <meta charset="ISO-8859-8">
      3 <title>default styles for the search element, ISO-8859-8</title>
      4 <meta name="viewport" content="width=device-width">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/html/rendering/support/test-ua-stylesheet.js"></script>
      8 <style>
      9 /* Specify this bogus namespace, so the rules in this stylesheet only apply to the `fakeClone`d elements in #refs, not the HTML elements in #tests. */
     10 @namespace url(urn:not-html);
     11 
     12 address, blockquote, center, dialog, div, figure, figcaption, footer, form,
     13 header, hr, legend, listing, main, p, plaintext, pre, search, xmp {
     14  display: block;
     15 }
     16 
     17 address, blockquote, center, div, figure, figcaption, footer, form, header, hr,
     18 legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2,
     19 h3, h4, h5, h6, hgroup, nav, section, search, table, caption, colgroup, col,
     20 thead, tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, bdi, output,
     21 [dir=ltr i], [dir=rtl i], [dir=auto i], * /* only apply to the bogus namespace */ {
     22  unicode-bidi: isolate;
     23 }
     24 
     25 </style>
     26 
     27 <div id="log"></div>
     28 
     29 <div id="tests">
     30  <search></search>
     31 </div>
     32 
     33 <div id="refs"></div>
     34 
     35 <script>
     36  test(() => {
     37    assert_equals(document.characterSet, "ISO-8859-8")
     38  }, "Verify document.characterSet is ISO-8859-8");
     39 
     40  const props = [
     41    'display',
     42    'margin-top',
     43    'margin-right',
     44    'margin-bottom',
     45    'margin-left',
     46    'padding-top',
     47    'padding-right',
     48    'padding-bottom',
     49    'padding-left',
     50    'unicode-bidi',
     51  ];
     52  runUAStyleTests(props);
     53 
     54 </script>