Skip to content

Commit

Permalink
[e] (0) Clarify that 'directionality' applies to all elements.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18339
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7495 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 31, 2012
1 parent 628b8ad commit 3657a47
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
13 changes: 10 additions & 3 deletions complete.html
Expand Up @@ -11771,8 +11771,9 @@ <h5 id=the-dir-attribute><span class=secno>3.2.3.6 </span>The <dfn title=attr-di
</dl><p>The attribute has no <i>invalid value default</i> and no
<i>missing value default</i>.</p>

<p><dfn id=the-directionality>The directionality</dfn> of an element is either '<dfn id=concept-ltr title=concept-ltr>ltr</dfn>' or '<dfn id=concept-rtl title=concept-rtl>rtl</dfn>', and is determined as per the first
appropriate set of steps from the following list:</p>
<p><dfn id=the-directionality>The directionality</dfn> of an element (any element, not just an <a href=#html-elements title="HTML
elements">HTML element</a>) is either '<dfn id=concept-ltr title=concept-ltr>ltr</dfn>' or '<dfn id=concept-rtl title=concept-rtl>rtl</dfn>', and is determined as per the first appropriate set of steps from
the following list:</p>

<dl class=switch><dt>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <a href=#attr-dir-ltr-state title=attr-dir-ltr-state>ltr</a> state</dt>
Expand Down Expand Up @@ -11859,7 +11860,13 @@ <h5 id=the-dir-attribute><span class=secno>3.2.3.6 </span>The <dfn title=attr-di
directionality">directionality</a>.</dd>


</dl><p>The effect of this attribute is primarily on the presentation
</dl><p class=note>Since the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is only defined for
<a href=#html-elements>HTML elements</a>, it cannot be present on elements from other namespaces. Thus, elements
from other namespaces always just inherit their <a href=#the-directionality title="the
directionality">directionality</a> from their parent element, or, if they don't have one,
default to '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>

<p>The effect of this attribute is primarily on the presentation
layer. For example, the rendering section in this specification
defines a mapping from this attribute to the CSS 'direction' and
'unicode-bidi' properties, and CSS defines rendering in terms of
Expand Down
13 changes: 10 additions & 3 deletions index
Expand Up @@ -11771,8 +11771,9 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre> <!-- DO NOT REWR
</dl><p>The attribute has no <i>invalid value default</i> and no
<i>missing value default</i>.</p>

<p><dfn id=the-directionality>The directionality</dfn> of an element is either '<dfn id=concept-ltr title=concept-ltr>ltr</dfn>' or '<dfn id=concept-rtl title=concept-rtl>rtl</dfn>', and is determined as per the first
appropriate set of steps from the following list:</p>
<p><dfn id=the-directionality>The directionality</dfn> of an element (any element, not just an <a href=#html-elements title="HTML
elements">HTML element</a>) is either '<dfn id=concept-ltr title=concept-ltr>ltr</dfn>' or '<dfn id=concept-rtl title=concept-rtl>rtl</dfn>', and is determined as per the first appropriate set of steps from
the following list:</p>

<dl class=switch><dt>If the element's <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is
in the <a href=#attr-dir-ltr-state title=attr-dir-ltr-state>ltr</a> state</dt>
Expand Down Expand Up @@ -11859,7 +11860,13 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre> <!-- DO NOT REWR
directionality">directionality</a>.</dd>


</dl><p>The effect of this attribute is primarily on the presentation
</dl><p class=note>Since the <code title=attr-dir><a href=#the-dir-attribute>dir</a></code> attribute is only defined for
<a href=#html-elements>HTML elements</a>, it cannot be present on elements from other namespaces. Thus, elements
from other namespaces always just inherit their <a href=#the-directionality title="the
directionality">directionality</a> from their parent element, or, if they don't have one,
default to '<a href=#concept-ltr title=concept-ltr>ltr</a>'.</p>

<p>The effect of this attribute is primarily on the presentation
layer. For example, the rendering section in this specification
defines a mapping from this attribute to the CSS 'direction' and
'unicode-bidi' properties, and CSS defines rendering in terms of
Expand Down
14 changes: 10 additions & 4 deletions source
Expand Up @@ -12196,10 +12196,10 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre> <!-- DO NOT REWRAP THIS L
<p>The attribute has no <i>invalid value default</i> and no
<i>missing value default</i>.</p>

<p><dfn>The directionality</dfn> of an element is either '<dfn
title="concept-ltr">ltr</dfn>' or '<dfn
title="concept-rtl">rtl</dfn>', and is determined as per the first
appropriate set of steps from the following list:</p>
<p><dfn>The directionality</dfn> of an element (any element, not just an <span title="HTML
elements">HTML element</span>) is either '<dfn title="concept-ltr">ltr</dfn>' or '<dfn
title="concept-rtl">rtl</dfn>', and is determined as per the first appropriate set of steps from
the following list:</p>

<dl class="switch">

Expand Down Expand Up @@ -12319,6 +12319,12 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre> <!-- DO NOT REWRAP THIS L

</dl>

<p class="note">Since the <code title="attr-dir">dir</code> attribute is only defined for
<span>HTML elements</span>, it cannot be present on elements from other namespaces. Thus, elements
from other namespaces always just inherit their <span title="the
directionality">directionality</span> from their parent element, or, if they don't have one,
default to '<span title="concept-ltr">ltr</span>'.</p>

<p>The effect of this attribute is primarily on the presentation
layer. For example, the rendering section in this specification
defines a mapping from this attribute to the CSS 'direction' and
Expand Down

0 comments on commit 3657a47

Please sign in to comment.