From 5664c8789bd31c1847220fea86da49966dcaf72f Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 7 Nov 2013 13:57:39 +0000 Subject: [PATCH] Tweak the stack wording a bit to make it more clear we are talking about ordered sets here. --- Overview.html | 31 +++++++++++++++---------------- Overview.src.html | 25 ++++++++++++------------- 2 files changed, 27 insertions(+), 29 deletions(-) diff --git a/Overview.html b/Overview.html index 00e3ea8..df378e4 100644 --- a/Overview.html +++ b/Overview.html @@ -10,8 +10,8 @@

Fullscreen API

-

Living Standard — Last Updated - +

Living Standard — Last Updated +

@@ -45,7 +45,7 @@

Liv

3 Model

have an associated fullscreen enabled flag and fullscreen element stack. Unless otherwise stated the fullscreen enabled flag is unset and the -fullscreen element stack is empty. +fullscreen element stack is an initially empty ordered set.

HTML defines the exact conditions under which the fullscreen enabled flag is set. A @@ -147,10 +147,10 @@

3 Model

To add an element on a document's -fullscreen element stack, add it on top of +fullscreen element stack, add, or move if already present, it on top of document's browsing context's -top layer, and then add it on top of +top layer, and then add, or move if already present, it on top of document's fullscreen element stack.

To remove an @@ -470,14 +470,14 @@

6.1 New stacking layerThe terminology used in this and following subsection attempts to match CSS 2.1 Appendix E. -

The top layer consists of a stack of elements, rendered in -the order they have been added to the stack. The last element added to the -stack is rendered closest to the user. +

The top layer consists of an ordered set of elements, rendered in the +order they have been added to the set. The last element added is rendered closest to the +user.

The z-index property has no effect in the top layer. -

An element in this stack has the following characteristics: +

An element in a top layer has the following characteristics:

  • It generates a new stacking context. @@ -511,17 +511,16 @@

    6.1 New stacking layer6.2 ::backdrop pseudo-element

    -

    Each element in the top layer's stack has a +

    Each element in a top layer has a ::backdrop pseudo-element. This pseudo-element is a box rendered immediately below the element (and -above the element below the element in the stack, if any), within the same +above the element before the element in the set, if any), within the same top layer. This pseudo-element box has the same characteristics as any element box in the top layer. -

    The ::backdrop -pseudo-element can be used to create a backdrop that hides the underlying -document for an element in the top layer's stack (such as an -element that is displayed fullscreen). +

    The ::backdrop pseudo-element can be used +to create a backdrop that hides the underlying document for an element in a +top layer (such as an element that is displayed fullscreen).

    It does not inherit from any element and is not inherited from. No restrictions are made on what properties apply to this diff --git a/Overview.src.html b/Overview.src.html index 88ab9d9..3c82fd0 100644 --- a/Overview.src.html +++ b/Overview.src.html @@ -114,7 +114,7 @@

    Model

    have an associated fullscreen enabled flag and fullscreen element stack. Unless otherwise stated the fullscreen enabled flag is unset and the -fullscreen element stack is empty. +fullscreen element stack is an initially empty ordered set.

    HTML defines the exact conditions under which the fullscreen enabled flag is set. A @@ -133,10 +133,10 @@

    Model

    To add an element on a document's -fullscreen element stack, add it on top of +fullscreen element stack, add, or move if already present, it on top of document's browsing context's -top layer, and then add it on top of +top layer, and then add, or move if already present, it on top of document's fullscreen element stack.

    To remove an @@ -456,14 +456,14 @@

    New stacking layer

    The terminology used in this and following subsection attempts to match CSS 2.1 Appendix E. -

    The top layer consists of a stack of elements, rendered in -the order they have been added to the stack. The last element added to the -stack is rendered closest to the user. +

    The top layer consists of an ordered set of elements, rendered in the +order they have been added to the set. The last element added is rendered closest to the +user.

    The z-index property has no effect in the top layer. -

    An element in this stack has the following characteristics: +

    An element in a top layer has the following characteristics:

    • It generates a new stacking context. @@ -497,17 +497,16 @@

      New stacking layer

      ::backdrop pseudo-element

      -

      Each element in the top layer's stack has a +

      Each element in a top layer has a ::backdrop pseudo-element. This pseudo-element is a box rendered immediately below the element (and -above the element below the element in the stack, if any), within the same +above the element before the element in the set, if any), within the same top layer. This pseudo-element box has the same characteristics as any element box in the top layer. -

      The ::backdrop -pseudo-element can be used to create a backdrop that hides the underlying -document for an element in the top layer's stack (such as an -element that is displayed fullscreen). +

      The ::backdrop pseudo-element can be used +to create a backdrop that hides the underlying document for an element in a +top layer (such as an element that is displayed fullscreen).

      It does not inherit from any element and is not inherited from. No restrictions are made on what properties apply to this