<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en-US"> <head> <title>Display Mode Reflow inner frame</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css" id="style" media="all"> div { border: 2px solid black; width: 50px; height: 50px; } @media (display-mode: fullscreen) { #a { height: 100px; } } </style> </head> <body> <div id="a"></div> <div id="b"></div> </body> </html>