From 4a3a166c554b6e6b8d04012ce18cd482f87edfd8 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 29 Feb 2016 03:16:07 -0800 Subject: [PATCH] Gloss the CSS term "used value" PR: https://github.com/whatwg/html/pull/759 --- source | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/source b/source index ce7cfde5988..92037b342cf 100644 --- a/source +++ b/source @@ -3391,6 +3391,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d

The term CSS styling attribute is defined in the CSS Style Attributes specification.

+

The term used value is defined in + the CSS Cascading and Inheritance specification.

+

The CanvasRenderingContext2D object's use of fonts depends on the features described in the CSS Fonts and Font Loading specifications, including in particular FontFace objects and the RelatedEventInit : EventInit {

When an element subject is placed in centered alignment mode, and when it is in that mode and has new rendering boxes created, the user agent must set up the - element such that its top static position, for the purposes of calculating the used value of the - 'top' property, is the value that would place the element's top margin edge as far from the top of - the viewport as the element's bottom margin edge from the bottom of the - viewport, if the element's height is less than the height of the - viewport, and otherwise is the value that would place the element's top margin edge - at the top of the viewport.

+ element such that its top static position, for the purposes of calculating the + used value of the 'top' property, is the value that would place the element's top + margin edge as far from the top of the viewport as the element's bottom margin edge + from the bottom of the viewport, if the element's height is less than the height of + the viewport, and otherwise is the value that would place the element's top + margin edge at the top of the viewport.

If there is a dialog element with centered alignment and that is being rendered when its browsing context changes viewport @@ -57039,9 +57043,9 @@ dictionary RelatedEventInit : EventInit {

This top static position of a dialog element with centered alignment must remain the element's top static position until its boxes are recreated. (The element's static - position is only used in calculating the used value of the 'top' property in certain situations; - it's not used, for instance, to position the element if its 'position' property is set to - 'static'.)

+ position is only used in calculating the used value of the 'top' property in certain + situations; it's not used, for instance, to position the element if its 'position' property is set + to 'static'.)

When a user agent is to set up the position of an element subject using an anchor anchor, it must run the following steps:

@@ -64305,8 +64309,8 @@ v6DVT (also check for '- -' bits in the part above) --> let region be that hit region's parent, and return to the step labeled loop.

-
  • Otherwise, return the used value of the 'cursor' property for the canvas - element, if any; if there isn't one, return 'auto'.

  • +
  • Otherwise, return the used value of the 'cursor' property for the + canvas element, if any; if there isn't one, return 'auto'.

  • @@ -107027,11 +107031,12 @@ document.body.appendChild(text);

    When a user agent is to align descendants of a node, the user agent is expected to align only those descendants that have both their 'margin-left' and 'margin-right' properties computing to a value other than 'auto', that are over-constrained and that have one of those two - margins with a used value forced to a greater value, and that do not themselves have an applicable - align attribute. When multiple elements are to used value forced to a greater value, and that do not themselves have + an applicable align attribute. When multiple elements are to align a particular descendant, the most deeply nested such element is expected to override the others. Aligned elements are expected to be aligned by having - the used values of their left and right margins be set accordingly.

    + the used values of their left and right margins be set + accordingly.

    @@ -107358,8 +107363,8 @@ br[clear=all i], br[clear=both i] { clear: both; } element's 'color' property to the resulting colour.

    The font element is expected to - override the color of any text decoration that spans the text of the element to the used value of - the element's 'color' property.

    + override the color of any text decoration that spans the text of the element to the + used value of the element's 'color' property.

    When a font element has a face attribute, the user agent is expected to treat the attribute as a list attribute) are expected to be shown as tick marks on the slider, which the slider can snap to.

    -

    User agents are expected to use the used value of the 'direction' property on the element to - determine the direction in which the slider operates. Typically, a left-to-right ('ltr') +

    User agents are expected to use the used value of the 'direction' property on the + element to determine the direction in which the slider operates. Typically, a left-to-right ('ltr') horizontal control would have the lowest value on the left and the highest value on the right, and vice versa.

    @@ -116552,6 +116557,9 @@ INSERT INTERFACES HERE
    [CSSATTR]
    CSS Styling Attribute Syntax, T. Çelik, E. Etemad. W3C.
    +
    [CSSCASCADE]
    +
    CSS Cascading and Inheritance Level 4, E. Etemad, T. Atkins. W3C.
    +
    [CSSCOLOR]
    CSS Color Module Level 3, T. Çelik, C. Lilley, L. Baron. W3C.