return

htmlElement

});

If other techniques are used to layout the platform view (like inset: 0) a
value of auto for width and height is enough to stop the warning.

Read more about CSS width and CSS height.

Tests

After this change, user’s test code does not need to deeply inspect the
contents of the shadow root of the App. All of the platform view contents will
be placed as direct children of flt-glass-pane, wrapped in a
flt-platform-view element.

Avoid looking inside the flt-glass-pane shadow root, it is considered a
“private implementation detail”, and its markup can change at any time,
without notice.

(See Relevant PRs below for examples of the “migrations” described above).

Timeline

Landed in version: 2.3.0-16.0.pre
In stable release: 2.5