Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <!-- |
michael@0 | 4 | https://bugzilla.mozilla.org/show_bug.cgi?id= |
michael@0 | 5 | --> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>Test for Bug </title> |
michael@0 | 8 | <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> |
michael@0 | 9 | <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> |
michael@0 | 10 | </head> |
michael@0 | 11 | <body> |
michael@0 | 12 | <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=">Mozilla Bug </a> |
michael@0 | 13 | <div id="content"></div> |
michael@0 | 14 | <pre id="test"> |
michael@0 | 15 | <script type="application/javascript"> |
michael@0 | 16 | |
michael@0 | 17 | |
michael@0 | 18 | var gValues = [ |
michael@0 | 19 | { |
michael@0 | 20 | element: "<li type='i'></li>", |
michael@0 | 21 | property: "list-style-type", |
michael@0 | 22 | value: "lower-roman" |
michael@0 | 23 | }, |
michael@0 | 24 | { |
michael@0 | 25 | element: "<li type='I'></li>", |
michael@0 | 26 | property: "list-style-type", |
michael@0 | 27 | value: "upper-roman" |
michael@0 | 28 | }, |
michael@0 | 29 | { |
michael@0 | 30 | element: "<li type='a'></li>", |
michael@0 | 31 | property: "list-style-type", |
michael@0 | 32 | value: "lower-alpha" |
michael@0 | 33 | }, |
michael@0 | 34 | { |
michael@0 | 35 | element: "<li type='A'></li>", |
michael@0 | 36 | property: "list-style-type", |
michael@0 | 37 | value: "upper-alpha" |
michael@0 | 38 | }, |
michael@0 | 39 | { |
michael@0 | 40 | element: "<li type='1'></li>", |
michael@0 | 41 | property: "list-style-type", |
michael@0 | 42 | value: "decimal" |
michael@0 | 43 | }, |
michael@0 | 44 | { |
michael@0 | 45 | element: "<ol type='i'></ol>", |
michael@0 | 46 | property: "list-style-type", |
michael@0 | 47 | value: "lower-roman" |
michael@0 | 48 | }, |
michael@0 | 49 | { |
michael@0 | 50 | element: "<ol type='I'></ol>", |
michael@0 | 51 | property: "list-style-type", |
michael@0 | 52 | value: "upper-roman" |
michael@0 | 53 | }, |
michael@0 | 54 | { |
michael@0 | 55 | element: "<ol type='a'></ol>", |
michael@0 | 56 | property: "list-style-type", |
michael@0 | 57 | value: "lower-alpha" |
michael@0 | 58 | }, |
michael@0 | 59 | { |
michael@0 | 60 | element: "<ol type='A'></ol>", |
michael@0 | 61 | property: "list-style-type", |
michael@0 | 62 | value: "upper-alpha" |
michael@0 | 63 | }, |
michael@0 | 64 | { |
michael@0 | 65 | element: "<ol type='1'></ol>", |
michael@0 | 66 | property: "list-style-type", |
michael@0 | 67 | value: "decimal" |
michael@0 | 68 | }, |
michael@0 | 69 | ]; |
michael@0 | 70 | |
michael@0 | 71 | var content = document.getElementById("content"); |
michael@0 | 72 | for (var i = 0; i < gValues.length; ++i) { |
michael@0 | 73 | var v = gValues[i]; |
michael@0 | 74 | |
michael@0 | 75 | content.innerHTML = v.element; |
michael@0 | 76 | is(getComputedStyle(content.firstChild, "").getPropertyValue(v.property), |
michael@0 | 77 | v.value, |
michael@0 | 78 | v.property + " for " + v.element); |
michael@0 | 79 | } |
michael@0 | 80 | |
michael@0 | 81 | </script> |
michael@0 | 82 | </pre> |
michael@0 | 83 | </body> |
michael@0 | 84 | </html> |