Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36276


Ignore:
Timestamp:
03/19/2016 05:57:39 AM (9 years ago)
Author:
westonruter
Comment:

Are there any issues with using visibility:hidden on an iframe? I have some feeling that it may not work reliably across browsers.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36276 – Description

    initial v1  
    1111}}}
    1212
    13 When the preview is being refreshed, a second `iframe` is inserted as the next sibling of the existing `iframe`. Because they now have `position:absolute`, the second `iframe` now is getting displayed on top of the first iframe.
     13When the preview is being refreshed, a second `iframe` is inserted as the next sibling of the existing `iframe`. Because they now have `position:absolute`, the second `iframe` now is getting displayed on top of the first `iframe`. The second `iframe` will initially appear without the proper scroll position: only once the `iframe` finishes loading will its scroll position be set, and the old `iframe` is removed from the document.
    1414
    1515Here is why `position:absolute` was introduced: https://core.trac.wordpress.org/ticket/31195#comment:79