Skip to content

Commit 24fc820

Browse files
committed
Cleanup + Andy's feedback.
1 parent f50d3ce commit 24fc820

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

permission-element.bs

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ time providing implementations with a better signal of user intent.
130130
interface HTMLPermissionElement : HTMLElement {
131131
[HTMLConstructor] constructor();
132132
[CEReactions, Reflect] attribute DOMString type;
133-
attribute boolean fallback;
134133

135134
readonly attribute boolean isValid;
136135
readonly attribute PermissionElementBlockerReason invalidReason;
@@ -156,9 +155,6 @@ whose values are the [=powerful feature/names=] of [=powerful features=]. It
156155
has neither a
157156
[=missing value default=] state nor a [=invalid value default=] state.
158157

159-
The {{HTMLPermissionElement/fallback}} attribute reflects whether the
160-
[=fallback content=] is to be used for certain types of errors.
161-
162158
The {{HTMLPermissionElement/isValid}} attribute reflects whether a the
163159
permission element is not currently blocked.
164160

@@ -600,9 +596,9 @@ the label itself). The page can also select a locale for the text via the
600596
<{html-global/lang}> attribute.
601597

602598
The <{permission}> element supports [=fallback content=], which will be
603-
displayed by any browser not yet supporting <{permission}>. Note that there are
604-
also conditions under which a browser that supports <{permission}> falls back to
605-
its [=fallback content=].
599+
displayed by any browser not yet supporting <{permission}>. Note that
600+
there are also conditions under which a browser that supports
601+
<{permission}> falls back to its [=fallback content=].
606602

607603
## Presentation ## {#presentation}
608604

@@ -763,16 +759,16 @@ permission {
763759

764760
## Falling Back ## {#fallback}
765761

766-
A [=user agent=] that does not support <{permission}> elements would recognize
767-
them as {{HTMLUnknownElement}} and render their children as regular HTML.
762+
A [=user agent=] that does not support <{permission}> elements would
763+
recognize them as {{HTMLUnknownElement}} and render their children as
764+
regular HTML.
768765
[=User agents=] that support <{permission}> elements should usually
769-
render the element as described in [[#rendering]], but are still required to
770-
render the [=fallback content=] under some conditions:
771-
772-
If {{HTMLPermissionElement/fallback}} is true, and if the internal
773-
{{[[BlockerList]]}} [=list/contains=] a record whose [=blocker reason=] is
774-
{{PermissionElementBlockerReason/type_invalid}}, then the
775-
<{permission}> element should render the [=fallback content=] instead of the
776-
<{permission}>'s usual rendering.
766+
render the element as described in [[#rendering]], but are still
767+
required to render the [=fallback content=] under one condition:
768+
769+
If the internal {{[[BlockerList]]}} [=list/contains=] a record whose
770+
[=blocker reason=] is {{PermissionElementBlockerReason/type_invalid}},
771+
then the <{permission}> element should render the [=fallback content=]
772+
instead of the <{permission}>'s usual rendering.
777773

778774
# Security & Privacy Considerations # {#secpriv}

0 commit comments

Comments
 (0)