diff --git a/spec.bs b/spec.bs index 397dfb18..6c52ca21 100644 --- a/spec.bs +++ b/spec.bs @@ -461,9 +461,6 @@ We now establish some preliminary types: A visibility is either " `opaque`" or "`transparent`". -A mapped url is a [=url=]. TODO: Stipulate a -url with particular schemes? - A size is a struct with non-negative integer width and non-negative integer height. TODO: Maybe change the numeric type. @@ -520,9 +517,9 @@ A fenced frame config is a struct with the following [=struct/
: mapped url - :: null, or a struct with the following fields: + :: a struct with the following fields: : value - :: a [=fencedframetype/mapped url=] + :: a [=URL=] : visibility :: a [=visibility=] @@ -596,7 +593,7 @@ A fenced frame config instance is a struct with the following
: mapped url - :: null, or a [=fencedframetype/mapped url=] + :: a [=URL=] : container size :: null, or a [=fencedframetype/size=] @@ -635,8 +632,7 @@ A fenced frame config instance 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 @@ -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. @@ -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. @@ -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.