| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Firebug
Revision: 60
Author: comrade693
Date: 03 Jul 2007 20:46:36
Changes:Issue 175 - Unable to inspect nested documents created using OBJECT element. r=hewitt
Files:| ... | ...@@ -1230,6 +1230,16 @@ | |
| 1230 | 1230 | case "iframe": |
| 1231 | 1231 | case "frame": |
| 1232 | 1232 | return true; |
| 1233 | case "object": | |
| 1234 | var type = element.getAttribute("type"); | |
| 1235 | switch (type) | |
| 1236 | { | |
| 1237 | case "text/html": | |
| 1238 | case "text/xhtml": | |
| 1239 | case "application/xhtml": | |
| 1240 | return true; | |
| 1241 | } | |
| 1242 | return false; | |
| 1233 | 1243 | case "link": |
| 1234 | 1244 | return element.getAttribute("rel") == "stylesheet"; |
| 1235 | 1245 | } |