这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 10 additions & 17 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,6 @@ We now establish some preliminary types:
A <dfn export for=fencedframeconfig>visibility</dfn> is either "<dfn export for=visibility>
`opaque`</dfn>" or "<dfn export for=visibility>`transparent`</dfn>".

A <dfn export for=fencedframetype>mapped url</dfn> is a [=url=]. <span class=XXX>TODO: Stipulate a
url with particular schemes?</span>

A <dfn export for=fencedframetype>size</dfn> is a struct with non-negative integer <dfn export for=
"size">width</dfn> and non-negative integer <dfn export for="size">height</dfn>. <span class=XXX>
TODO: Maybe change the numeric type.</span>
Expand Down Expand Up @@ -520,9 +517,9 @@ A <dfn export>fenced frame config</dfn> is a struct with the following [=struct/

<dl export dfn-for="fenced frame config">
: <dfn>mapped url</dfn>
:: null, or a struct with the following fields:
:: a struct with the following fields:
: <dfn for="mapped url">value</dfn>
:: a [=fencedframetype/mapped url=]
:: a [=URL=]

: <dfn for="mapped url">visibility</dfn>
:: a [=visibility=]
Expand Down Expand Up @@ -596,7 +593,7 @@ A <dfn export>fenced frame config instance</dfn> is a struct with the following

<dl export dfn-for="fenced frame config instance">
: <dfn>mapped url</dfn>
:: null, or a [=fencedframetype/mapped url=]
:: a [=URL=]

: <dfn>container size</dfn>
:: null, or a [=fencedframetype/size=]
Expand Down Expand Up @@ -635,8 +632,7 @@ A <dfn export>fenced frame config instance</dfn> is a struct with the following
[=fenced frame config instance=] with the following members:

: [=fenced frame config instance/mapped url=]
:: |config|'s [=fenced frame config/mapped url=] if null, otherwise |config|'s [=fenced frame
config/mapped url=]'s [=mapped url/value=]
:: |config|'s [=fenced frame config/mapped url=]'s [=mapped url/value=]

: [=fenced frame config instance/container size=]
:: |config|'s [=fenced frame config/container size=] if null
Expand Down Expand Up @@ -783,10 +779,9 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.

1. If |instance| is null, then return.

1. [=Assert=] |instance|'s [=fenced frame config instance/mapped url=] is not null.

1. If the [=relevant settings object=]'s [=origin=] and |instance|'s
[=fenced frame config instance/mapped url=]'s origin are not [=same origin=], then return.
[=fenced frame config instance/mapped url=]'s [=url/origin=] are not [=same origin=], then
return.

1. If |instance|'s [=fenced frame config instance/fenced frame reporter=] is null, then return.

Expand All @@ -806,10 +801,9 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.

1. If |instance| is null, then return.

1. [=Assert=] |instance|'s [=fenced frame config instance/mapped url=] is not null.

1. If the [=relevant settings object=]'s [=origin=] and |instance|'s
[=fenced frame config instance/mapped url=]'s origin are not [=same origin=], then return.
[=fenced frame config instance/mapped url=]'s [=url/origin=] are not [=same origin=], then
return.

1. If |instance|'s [=fenced frame config instance/fenced frame reporter=] is null, then return.

Expand All @@ -825,10 +819,9 @@ Several APIs specific to fenced frames are defined on the {{Fence}} interface.

1. If |instance| is null, then return.

1. [=Assert=] |instance|'s [=fenced frame config instance/mapped url=] is not null.

1. If the [=relevant settings object=]'s [=origin=] and |instance|'s
[=fenced frame config instance/mapped url=]'s origin are not [=same origin=], then return.
[=fenced frame config instance/mapped url=]'s [=url/origin=] are not [=same origin=], then
return.

1. If |instance|'s [=fenced frame config instance/nested configs=] is null, then return.

Expand Down