From e72374bd0eda6589bd5674bc657856be348dc821 Mon Sep 17 00:00:00 2001 From: Kristen James Eberlein Date: Tue, 26 Jul 2022 15:09:41 -0400 Subject: [PATCH] Edits to object topic --- specification/langRef/base/object.dita | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/specification/langRef/base/object.dita b/specification/langRef/base/object.dita index 66b2bf85..849bec80 100644 --- a/specification/langRef/base/object.dita +++ b/specification/langRef/base/object.dita @@ -94,10 +94,14 @@ Example

This section contains examples of how the object element can be used.

- - Referencing a web page for display in an HTML iframe -

The following code sample shows how an object element can be - used to render a web page in an iframe:

+ + Referencing a web page for display in an HTML inline frame + (iframe) +

The following code sample shows how an + object element can be used to render a + web page in an inline frame. It assumes that the processing + engine uses the outputclass="iframe" + directive.

<object type="text/html" data="https://www.openstreetmap.org/export/embed.html?bbox=-0.004017949104309083%2C51.47612752641776 %2C0.00030577182769775396 @@ -115,10 +119,8 @@ &layer=mapnik" /></fallback> </object> -

- The URL as shown works in my working example with the - line breaks before the %2C escaped - characters.<!DOCTYPE html> +

The above code might generate the following HTML:

+ <!DOCTYPE html> <html> <head> <title>Test of Iframe</title> @@ -131,7 +133,11 @@ &layer=mapnik" >Street map</iframe> </body> -</html> +</html> +

+ The URL as shown works in my + working example with the line breaks before the %2C escaped + characters.