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