Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <title>Testcase bug 360746 - The right panel has disappeared at andrewdupont.net</title> |
michael@0 | 4 | <style> |
michael@0 | 5 | div { height: 20px } |
michael@0 | 6 | #test1 { |
michael@0 | 7 | background-color: red; |
michael@0 | 8 | } |
michael@0 | 9 | #test2 { |
michael@0 | 10 | background-color: red; |
michael@0 | 11 | } |
michael@0 | 12 | #test3 { |
michael@0 | 13 | background-color: green; |
michael@0 | 14 | } |
michael@0 | 15 | #test4 { |
michael@0 | 16 | background-color: green; |
michael@0 | 17 | } |
michael@0 | 18 | </style> |
michael@0 | 19 | <link href="data:text/css;charset=utf-8," title="narrow" rel="stylesheet" type="text/css" /> |
michael@0 | 20 | <link href="data:text/css;charset=utf-8,%23test1%20%7Bbackground-color%3A%20green%3B%7D" title="medium" rel="alternate stylesheet" type="text/css" /> |
michael@0 | 21 | <link href="data:text/css;charset=utf-8,%23test2%20%7Bbackground-color%3A%20green%3B%7D" type="text/css" /> |
michael@0 | 22 | <link href="data:text/css;charset=utf-8,%23test3%20%7Bbackground-color%3A%20red%3B%7D" rel="stylesheet" type="text/css" /> |
michael@0 | 23 | <link href="data:text/css;charset=utf-8,%23test4%20%7Bbackground-color%3A%20red%3B%7D" rel="stylesheet" type="text/css" /> |
michael@0 | 24 | <script> |
michael@0 | 25 | document.getElementsByTagName('link')[1].disabled = false; |
michael@0 | 26 | document.getElementsByTagName('link')[1].rel = 'stylesheet'; |
michael@0 | 27 | </script> |
michael@0 | 28 | </head> |
michael@0 | 29 | <body> |
michael@0 | 30 | <div id="test1"></div> |
michael@0 | 31 | <div id="test2"></div> |
michael@0 | 32 | <div id="test3"></div> |
michael@0 | 33 | <div id="test4"></div> |
michael@0 | 34 | <script> |
michael@0 | 35 | document.getElementsByTagName('link')[2].rel = 'stylesheet for-the-win'; |
michael@0 | 36 | document.getElementsByTagName('link')[3].rel = 'just for-the-win'; |
michael@0 | 37 | document.getElementsByTagName('link')[4].removeAttribute("rel"); |
michael@0 | 38 | </script> |
michael@0 | 39 | </body> |
michael@0 | 40 | </html> |