Closed piever closed 2 years ago
Turns out this is the expected behavior... Reproducing the same page with or without the DOCTYPE statement as a plain HTML file yields the same result. The browser renders the content differently whether it is in standard mode (with a DOCTYPE) or quirks mode (no DOCTYPE), and these turned out to be cases that are rendered differently.
Since JSServe 1.2.4, I've noticed that some elements fail to display in the browser.
MWE (displays correctly in JSServe 1.2.3, does not display at all in JSServe 1.2.4 or 1.2.5, no errors in the console):
More complex example using external library (also failing):
I think what they have in common is this general structure of putting a div with absolute position inside a div with relative position (it's very useful to make some specific layouts).
~Not sure what change is responsible for this, maybe the iframe resizing? Not sure how though, as I experienced the same issue when running using
Server
, where I guess there is no iframe.~EDIT: it actually seems due to #115