Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/publicdomain/zero/1.0/ |
michael@0 | 4 | --> |
michael@0 | 5 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 6 | <head> |
michael@0 | 7 | |
michael@0 | 8 | <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=294086 --> |
michael@0 | 9 | |
michael@0 | 10 | <title>SVG embedded by reference by dynamic--object-svg-unloaded.xhtml</title> |
michael@0 | 11 | |
michael@0 | 12 | <style type="text/css"> |
michael@0 | 13 | |
michael@0 | 14 | html { |
michael@0 | 15 | padding: 0; |
michael@0 | 16 | border: 0; |
michael@0 | 17 | margin: 0; |
michael@0 | 18 | background: lime; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | </style> |
michael@0 | 22 | |
michael@0 | 23 | <script type="text/javascript"> |
michael@0 | 24 | |
michael@0 | 25 | var embedding_element; |
michael@0 | 26 | |
michael@0 | 27 | function handle_load(e) |
michael@0 | 28 | { |
michael@0 | 29 | embedding_element = e.originalTarget.defaultView.frameElement; |
michael@0 | 30 | embedding_element.ownerDocument.documentElement.removeAttribute('class'); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | </script> |
michael@0 | 34 | |
michael@0 | 35 | </head> |
michael@0 | 36 | <body onload="handle_load(event);" style="display:none;"></body> |
michael@0 | 37 | </html> |