+ The {{FencedFrameConfig/containerWidth}} IDL attribute getter steps are:
- 1. TODO
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/container size=] is null,
+ return null.
+
+ 1. Return [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/container size=]'s
+ [=size/width=].
- The {{FencedFrameConfig/height}} IDL attribute getter steps are:
+
+ The {{FencedFrameConfig/containerHeight}} IDL attribute getter steps are:
- 1. TODO
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/container size=] is null,
+ return null.
+
+ 1. Return [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/container size=]'s
+ [=size/height=].
+
+
+
+ The {{FencedFrameConfig/contentWidth}} IDL attribute getter steps are:
+
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/content size=] is null,
+ return null.
+
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/content size=]'s [=content
+ size/visibility=] is [=visibility/transparent=], return the [=fenced frame config/content
+ size=]'s [=content size/value=]'s [=size/width=].
+
+ 1. Otherwise, return `"opaque"`.
+
+
+
+ The {{FencedFrameConfig/contentHeight}} IDL attribute getter steps are:
+
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/content size=] is null,
+ return null.
+
+ 1. If [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/content size=]'s [=content
+ size/visibility=] is [=visibility/transparent=], return the [=fenced frame config/content
+ size=]'s [=content size/value=]'s [=size/height=].
+
+ 1. Otherwise, return `"opaque"`.
- The setSharedStorageContext(contextString) method steps are:
+ The setSharedStorageContext(|contextString|) method steps
+ are:
- 1. TODO
+ 1. Set [=this=]'s [=fencedframeconfig/config=]'s [=fenced frame config/embedder shared storage
+ context=] to |contextString|.
The {{Fence}} interface
@@ -769,7 +819,7 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.
- The reportEvent(event) method steps are:
+ The reportEvent(|event|) method steps are:
1. Let |instance| be [=this=]'s [=relevant global object=]'s [=associated Document=]'s [=node
navigable=]'s [=navigable/traversable navigable=]'s [=fenced frame config instance=].
@@ -793,7 +843,7 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.
- The setReportEventDataForAutomaticBeacons(event)
+ The setReportEventDataForAutomaticBeacons(|event|)
method steps are:
1. Let |instance| be [=this=]'s [=relevant global object=]'s [=associated Document=]'s [=node
@@ -807,7 +857,7 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.
1. If |instance|'s [=fenced frame config instance/fenced frame reporter=] is null, then return.
- 1. Run [=set automatic beacon data=] with event and |instance|'s
+ 1. Run [=set automatic beacon data=] with |event| and |instance|'s
[=fenced frame config instance/fenced frame reporter=].
@@ -830,7 +880,10 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.
1. [=map/For each=] |urn| → |config| of |instance|'s [=fenced frame config instance/nested
configs=]:
- 1.
TODO: construct a {{FencedFrameConfig}} from |config| and |urn|.
+ 1. [=list/Extend=] |results| with a {{FencedFrameConfig}} where the {{FencedFrameConfig}}'s
+ [=fencedframeconfig/urn=] is |urn| and the {{FencedFrameConfig}}'s [=fencedframeconfig/
+ config=] is |config|.
+
TODO: phrase the constructor correctly.
1. Return |results|.