| This layout test checks that the offset positions of the blue and green divs does not change when the red div enters full-screen mode. Press go full-screen to begin. |
| One |
| Two |
| EVENT(webkitfullscreenchange) |
| EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLDivElement]') OK |
| EXPECTED (one.offsetLeft == '68') OK |
| EXPECTED (one.offsetTop == '57') OK |
| EXPECTED (two.offsetLeft == '8') OK |
| EXPECTED (two.offsetTop == '117') OK |
| EVENT(webkitfullscreenchange) |
| EXPECTED (document.webkitCurrentFullScreenElement == 'null') OK |
| EXPECTED (one.offsetLeft == '68') OK |
| EXPECTED (one.offsetTop == '57') OK |
| EXPECTED (two.offsetLeft == '8') OK |
| EXPECTED (two.offsetTop == '117') OK |
| END OF TEST |
| |