|
@@ -79,30 +79,11 @@ examples:
|
|
|
## CSS Styling Notes
|
|
|
|
|
|
Please note that the `webview` tag's style uses `display:flex;` internally to
|
|
|
-ensure the child `object` element fills the full height and width of its `webview`
|
|
|
-container when used with traditional and flexbox layouts (since v0.36.11). Please
|
|
|
-do not overwrite the default `display:flex;` CSS property, unless specifying
|
|
|
+ensure the child `iframe` element fills the full height and width of its `webview`
|
|
|
+container when used with traditional and flexbox layouts. Please do not
|
|
|
+overwrite the default `display:flex;` CSS property, unless specifying
|
|
|
`display:inline-flex;` for inline layout.
|
|
|
|
|
|
-`webview` has issues being hidden using the `hidden` attribute or using
|
|
|
-`display: none;`. It can cause unusual rendering behaviour within its child
|
|
|
-`browserplugin` object and the web page is reloaded when the `webview` is
|
|
|
-un-hidden. The recommended approach is to hide the `webview` using
|
|
|
-`visibility: hidden`.
|
|
|
-
|
|
|
-```html
|
|
|
-<style>
|
|
|
- webview {
|
|
|
- display:inline-flex;
|
|
|
- width:640px;
|
|
|
- height:480px;
|
|
|
- }
|
|
|
- webview.hide {
|
|
|
- visibility: hidden;
|
|
|
- }
|
|
|
-</style>
|
|
|
-```
|
|
|
-
|
|
|
## Tag Attributes
|
|
|
|
|
|
The `webview` tag has the following attributes:
|