Skip to content

Commit b6b6f5a

Browse files
committed
Improved workding about getRegionsByContent
1 parent 984477a commit b6b6f5a

File tree

3 files changed

+29
-22
lines changed

3 files changed

+29
-22
lines changed

css3-regions/Overview.html

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@
3535

3636
<h1 id=css-regions-module>CSS Regions Module Level 3</h1>
3737

38-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 10 May 2012</h2>
38+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 11 May 2012</h2>
3939

4040
<dl>
4141
<dt>This version:
4242

4343
<dd><a
44-
href="http://www.w3.org/TR/2012/ED-css3-regions-20120510/">http://www.w3.org/csswg/css3-regions</a>
44+
href="http://www.w3.org/TR/2012/ED-css3-regions-20120511/">http://www.w3.org/csswg/css3-regions</a>
4545

4646
<dt>Latest version:
4747

@@ -1932,8 +1932,12 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
19321932
<p>The <dfn
19331933
id=dom-named-flow-get-regions-by-content>getRegionsByContent()</dfn>
19341934
method returns the sequence of regions that contain at least part of the
1935-
target content node. Note that the returned values is a static sequence in
1936-
document order.
1935+
target content node if it belongs to the <a href="#named-flow0">named
1936+
flow</a> directly (i.e., its &lsquo;<a href="#flow-into"><code
1937+
class=property>flow-into</code></a>&rsquo; computed value is the <a
1938+
href="#named-flow0">named flow</a>) or one of its ancestors belongs to the
1939+
<a href="#named-flow0">named flow</a>. Otherwise, the method returns an
1940+
empty sequence. The returned value is a static sequence in document order.
19371941

19381942
<p>The <a href="#named-flow0">named flow</a> states are :
19391943

@@ -1980,8 +1984,9 @@ <h3 id=the-namedflow-interface><span class=secno>6.1. </span>The NamedFlow
19801984
class=idl>getContent()</code></a> method returns an empty <code
19811985
class=idl>NodeList</code> instance.
19821986

1983-
<li>the <code class=idl>getRegionsByContentNode()</code> method retuns an
1984-
empty sequence.
1987+
<li>the <a href="#dom-named-flow-get-regions-by-content"><code
1988+
class=idl>getRegionsByContent()</code></a> method retuns an empty
1989+
sequence.
19851990
</ul>
19861991

19871992
<div class=issue-marker data-bug_id=16382 data-bug_status=ASSIGNED> <a
@@ -3396,11 +3401,11 @@ <h3 class=no-num id=normative-references>Normative references</h3>
33963401

33973402
<dt id=CSS3-WRITING-MODES>[CSS3-WRITING-MODES]
33983403

3399-
<dd>Elika J. Etemad; Koji Ishii; Shinyu Murakami. <a
3400-
href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110901/"><cite>CSS
3401-
Writing Modes Module Level 3.</cite></a> 1 September 2011. W3C Working
3402-
Draft. (Work in progress.) URL: <a
3403-
href="http://www.w3.org/TR/2011/WD-css3-writing-modes-20110901/">http://www.w3.org/TR/2011/WD-css3-writing-modes-20110901/</a>
3404+
<dd>Elika J. Etemad; Koji Ishii. <a
3405+
href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/"><cite>CSS
3406+
Writing Modes Module Level 3.</cite></a> 1 May 2012. W3C Working Draft.
3407+
(Work in progress.) URL: <a
3408+
href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/">http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/</a>
34043409
</dd>
34053410
<!---->
34063411

@@ -3472,11 +3477,11 @@ <h3 class=no-num id=other-references>Other references</h3>
34723477

34733478
<dt id=CSS3-EXCLUSIONS>[CSS3-EXCLUSIONS]
34743479

3475-
<dd>Vincent Hardy; Rossen Atanassov. <a
3476-
href="http://www.w3.org/TR/2011/WD-css3-exclusions-20111213/"><cite>CSS
3477-
Exclusions and Shapes Module Level 3.</cite></a> 13 December 2011. W3C
3478-
Working Draft. (Work in progress.) URL: <a
3479-
href="http://www.w3.org/TR/2011/WD-css3-exclusions-20111213/">http://www.w3.org/TR/2011/WD-css3-exclusions-20111213/</a>
3480+
<dd>Vincent Hardy; Rossen Atanassov; Alan Stearns. <a
3481+
href="http://www.w3.org/TR/2012/WD-css3-exclusions-20120503/"><cite>CSS
3482+
Exclusions and Shapes Module Level 3.</cite></a> 3 May 2012. W3C Working
3483+
Draft. (Work in progress.) URL: <a
3484+
href="http://www.w3.org/TR/2012/WD-css3-exclusions-20120503/">http://www.w3.org/TR/2012/WD-css3-exclusions-20120503/</a>
34803485
</dd>
34813486
<!---->
34823487

css3-regions/Overview.src.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,10 +1695,11 @@ <h3 id="the-namedflow-interface">The NamedFlow interface</h3>
16951695
<p>The <dfn id="dom-named-flow-get-regions-by-content">getRegionsByContent()</dfn>
16961696
method returns the sequence of regions
16971697
that contain at least part
1698-
of the target content node.
1699-
Note that the returned values
1700-
is a static sequence
1701-
in document order.</p>
1698+
of the target content node if it belongs to the <span>named flow</span> directly
1699+
(i.e., its 'flow-into' computed value is the <span>named flow</span>) or one of its
1700+
ancestors belongs to the <span>named flow</span>. Otherwise, the method returns an
1701+
empty sequence. The returned value
1702+
is a static sequence in document order.</p>
17021703

17031704

17041705
<p>The <span>named flow</span> states are :</p>
@@ -1724,7 +1725,7 @@ <h3 id="the-namedflow-interface">The NamedFlow interface</h3>
17241725
<li>the <code class="idl">getRegions</code> method returns an empty sequence.</li>
17251726
<li>the <code class="idl">firstEmptyRegionIndex</code> attribute returns <code class="idl">-1</code>.</li>
17261727
<li>the <code class="idl">getContent()</code> method returns an empty <code class="idl">NodeList</code> instance.</li>
1727-
<li>the <code class="idl">getRegionsByContentNode()</code> method retuns an empty sequence.</li>
1728+
<li>the <code class="idl">getRegionsByContent()</code> method retuns an empty sequence.</li>
17281729
</ul>
17291730

17301731
<div class="issue-marker" data-bug_id="16382" data-bug_status="ASSIGNED">

shared/style/issues.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@
3838
}
3939

4040
/* Issue Dashboard styles */
41-
#issue-dashboard{
41+
#issue-dashboard {
4242
position: fixed;
4343
bottom: 0;
4444
right: 0;
4545
background: #333;
46+
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
4647
}
4748

4849
#issue-dashboard.open{

0 commit comments

Comments
 (0)