Found a problem with particular usage of HTMLPane.
If you have a page with <!DOCTYPE html> and an HTMLPane, using default contentsType: "fragment", which contains another HTMLPane which has contentsType: "page" then the inner HTMLPane is clipped vertically to 150 pixels.
Without <!DOCTYPE html> it is presented correctly.
Main page;
innerHTMLPane.htm;
Remove <!DOCTYPE html> from main page and rendering is OK.
We require <!DOCTYPE html> as the inner HTML page in our case contains HTML 5 content which is only processed by IE9 as HTML 5 if the containing document is <!DOCTYPE html>.
Using SC_SNAPSHOT-2011-09-12/LGPL Development Only.
Problem observed using Firefox 6 and 7.
No apparent issue in Google Chrome (stable) and IE9.
If you have a page with <!DOCTYPE html> and an HTMLPane, using default contentsType: "fragment", which contains another HTMLPane which has contentsType: "page" then the inner HTMLPane is clipped vertically to 150 pixels.
Without <!DOCTYPE html> it is presented correctly.
Main page;
Code:
<!DOCTYPE html> ... <script> isc.HTMLPane.create({ width: "100%", height: "100%", contentsURL: "innerHTMLPane.htm" }); </script> ...
Code:
<script> isc.HTMLPane.create({ width: "100%", height: "100%", contentsType: "page", contentsURL: "http://www.google.com" }) </script>
We require <!DOCTYPE html> as the inner HTML page in our case contains HTML 5 content which is only processed by IE9 as HTML 5 if the containing document is <!DOCTYPE html>.
Using SC_SNAPSHOT-2011-09-12/LGPL Development Only.
Problem observed using Firefox 6 and 7.
No apparent issue in Google Chrome (stable) and IE9.