Skip to content

Commit

Permalink
Gloss the CSS term "used value"
Browse files Browse the repository at this point in the history
PR: #759
  • Loading branch information
cvrebert authored and annevk committed Feb 29, 2016
1 parent 33ef23a commit 4a3a166
Showing 1 changed file with 26 additions and 18 deletions.
44 changes: 26 additions & 18 deletions source
Expand Up @@ -3391,6 +3391,10 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<p>The term <dfn data-noexport="">CSS styling attribute</dfn> is defined in the <cite>CSS Style
Attributes</cite> specification. <ref spec=CSSATTR></p>

<p>The term <dfn data-noexport=""
data-x-href="https://drafts.csswg.org/css-cascade/#used-value">used value</dfn> is defined in
the <cite>CSS Cascading and Inheritance</cite> specification. <ref spec=CSSCASCADE></p>

<p>The <code>CanvasRenderingContext2D</code> object's use of fonts depends on the features
described in the CSS <cite>Fonts</cite> and <cite>Font Loading</cite> specifications, including
in particular <dfn data-noexport=""><code>FontFace</code></dfn> objects and the <dfn
Expand Down Expand Up @@ -57025,12 +57029,12 @@ dictionary <dfn>RelatedEventInit</dfn> : <span>EventInit</span> {

<p>When an element <var>subject</var> is placed in <span>centered alignment</span> 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 <span>viewport</span> as the element's bottom margin edge from the bottom of the
<span>viewport</span>, if the element's height is less than the height of the
<span>viewport</span>, and otherwise is the value that would place the element's top margin edge
at the top of the <span>viewport</span>.</p>
element such that its top static position, for the purposes of calculating the
<span>used value</span> of the 'top' property, is the value that would place the element's top
margin edge as far from the top of the <span>viewport</span> as the element's bottom margin edge
from the bottom of the <span>viewport</span>, if the element's height is less than the height of
the <span>viewport</span>, and otherwise is the value that would place the element's top
margin edge at the top of the <span>viewport</span>.</p>

<p>If there is a <code>dialog</code> element with <span>centered alignment</span> and that is
<span>being rendered</span> when its <span>browsing context</span> changes <span>viewport</span>
Expand All @@ -57039,9 +57043,9 @@ dictionary <dfn>RelatedEventInit</dfn> : <span>EventInit</span> {

<p>This top static position of a <code>dialog</code> element with <span>centered alignment</span>
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'.)</p>
position is only used in calculating the <span>used value</span> 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'.)</p>

<p>When a user agent is to <dfn>set up the position</dfn> of an element <var>subject</var> using an anchor <var>anchor</var>, it must run the following
steps:</p>
Expand Down Expand Up @@ -64305,8 +64309,8 @@ v6DVT (also check for '- -' bits in the part above) -->
let <var>region</var> be that <span>hit region's parent</span>, and return to the step
labeled <i>loop</i>.</p></li>

<li><p>Otherwise, return the used value of the 'cursor' property for the <code>canvas</code>
element, if any; if there isn't one, return 'auto'. <ref spec=CSSUI></p></li>
<li><p>Otherwise, return the <span>used value</span> of the 'cursor' property for the
<code>canvas</code> element, if any; if there isn't one, return 'auto'. <ref spec=CSSUI></p></li>

</ol>

Expand Down Expand Up @@ -107027,11 +107031,12 @@ document.body.appendChild(text);
<p>When a user agent is to <dfn>align descendants</dfn> 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
<code data-x="">align</code> attribute. When multiple elements are to <span
margins with a <span>used value</span> forced to a greater value, and that do not themselves have
an applicable <code data-x="">align</code> attribute. When multiple elements are to <span
data-x="align descendants">align</span> 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.</p>
the <span data-x="used value">used values</span> of their left and right margins be set
accordingly.</p>



Expand Down Expand Up @@ -107358,8 +107363,8 @@ br[clear=all i], br[clear=both i] { clear: both; }</pre>
element's 'color' property to the resulting colour.</p>

<p id="the-font-element-text-decoration-color-quirk">The <code>font</code> 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.</p>
override the color of any text decoration that spans the text of the element to the
<span>used value</span> of the element's 'color' property.</p>

<p>When a <code>font</code> element has a <code data-x="attr-font-face" undefined>face</code>
attribute, the user agent is expected to treat the attribute as a <span data-x="presentational
Expand Down Expand Up @@ -108652,8 +108657,8 @@ input[type=range i] { binding: <i>input-range</i>; }</pre>
<p>Predefined suggested values (provided by the <code data-x="attr-input-list">list</code>
attribute) are expected to be shown as tick marks on the slider, which the slider can snap to.</p>

<p>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')
<p>User agents are expected to use the <span>used value</spam> 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.</p>

Expand Down Expand Up @@ -116552,6 +116557,9 @@ INSERT INTERFACES HERE
<dt id="refsCSSATTR">[CSSATTR]</dt>
<dd><cite><a href="https://drafts.csswg.org/css-style-attr/">CSS Styling Attribute Syntax</a></cite>, T. &Ccedil;elik, E. Etemad. W3C.</dd>

<dt id="refsCSSCASCADE">[CSSCASCADE]</dt>
<dd><cite><a href="https://drafts.csswg.org/css-cascade/">CSS Cascading and Inheritance Level 4</a></cite>, E. Etemad, T. Atkins. W3C.</dd>

<dt id="refsCSSCOLOR">[CSSCOLOR]</dt>
<dd><cite><a href="https://drafts.csswg.org/css-color/">CSS Color Module Level 3</a></cite>, T. &Ccedil;elik, C. Lilley, L. Baron. W3C.</dd>

Expand Down

0 comments on commit 4a3a166

Please sign in to comment.