Skip to content

Commit 223b19a

Browse files
committed
update Region interface members
1 parent 22b8656 commit 223b19a

2 files changed

Lines changed: 27 additions & 32 deletions

File tree

css3-regions/Overview.html

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838

3939
<h1 id=css-regions-module>CSS Regions Module Level 3</h1>
4040

41-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 26 July 2012</h2>
41+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 8 August 2012</h2>
4242

4343
<dl>
4444
<dt>This version:
4545

4646
<dd><a
47-
href="http://www.w3.org/TR/2012/ED-css3-regions-20120726/">http://www.w3.org/csswg/css3-regions</a>
47+
href="http://www.w3.org/TR/2012/ED-css3-regions-20120808/">http://www.w3.org/csswg/css3-regions</a>
4848

4949
<dt>Latest version:
5050

@@ -1996,17 +1996,15 @@ <h3 id=the-region-interface><span class=secno>6.2. </span>The Region
19961996
interface Region {
19971997
readonly attribute DOMString <a
19981998
href="#dom-region-regionoverset">regionOverset</a>;
1999-
readonly attribute DOMString <a
2000-
href="#dom-region-flowfrom">flowFrom</a>;
20011999
sequence&lt;<a
20022000
href="#">Range</a>&gt;? <a
20032001
href="#dom-region-getregionflowranges">getRegionFlowRanges()</a>;
20042002
<a
20052003
href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a
2006-
href="#dom-region-getComputedStyle">getComputedStyle</a>(Element elt);
2004+
href="#dom-region-getComputedRegionStyle">getComputedRegionStyle</a>(Element elt);
20072005
<a
20082006
href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a
2009-
href="#dom-region-getComputedStyle">getComputedStyle</a>(Element elt, DOMString pseudoElt);
2007+
href="#dom-region-getComputedRegionStyle">getComputedRegionStyle</a>(Element elt, DOMString pseudoElt);
20102008
};
20112009

20122010
Element implements Region;</pre>
@@ -2057,10 +2055,6 @@ <h3 id=the-region-interface><span class=secno>6.2. </span>The Region
20572055
attribute on the first region in the region chain associated with the flow
20582056
will return ‘<code class=property>fit</code>’.
20592057

2060-
<p>The <dfn id=dom-region-flowfrom>flowFrom</dfn> attribute returns the
2061-
name of the <a href="#named-flow0">named flow</a> this region is
2062-
associated with.
2063-
20642058
<p>The <dfn id=dom-region-getregionflowranges>getRegionFlowRanges</dfn>
20652059
method returns an array of <a
20662060
href="http://www.w3.org/TR/dom/#interface-range">Range</a> instances
@@ -2082,7 +2076,8 @@ <h3 id=the-region-interface><span class=secno>6.2. </span>The Region
20822076
method returns null if the <a href="#css-region">region</a> object is not
20832077
(or no longer) a region.
20842078

2085-
<p>The <dfn id=dom-region-getComputedStyle>getComputedStyle</dfn> methods
2079+
<p>The <dfn
2080+
id=dom-region-getComputedRegionStyle>getComputedRegionStyle</dfn> methods
20862081
on the Region interface work the same as the <a
20872082
href="http://dev.w3.org/csswg/cssom/#dom-window-getcomputedstyle"><code
20882083
class=idl>getComputedStyle</code></a> <a href="#CSSOM"
@@ -2822,6 +2817,9 @@ <h3 id="changes_from_May_03_2012"><span class=secno>12.1. </span>Changes
28222817
3<sup>rd</sup> 2012</a> version</h3>
28232818

28242819
<ul>
2820+
<li>Removed flowFrom from Region interface and changed method name to
2821+
getComputedRegionStyle().
2822+
28252823
<li>Region interface is now a supplemental interface with the
28262824
[NoInterfaceObject] extended attribute.
28272825

@@ -2930,8 +2928,8 @@ <h3 id="changes_from_November_29_2011"><span class=secno>12.2.
29302928
<li>introduced a <a href="#css-region"><code>Region</code></a> interface
29312929
to replace the supplemental Element interface
29322930

2933-
<li>Added a ‘<a href="#dom-region-flowfrom"><code
2934-
class=property>flowFrom</code></a>’ attribute on the Region interface
2931+
<li>Added a ‘<code class=property>flowFrom</code>’ attribute on the
2932+
Region interface
29352933

29362934
<li>NamedFlow.getRegions() was added
29372935

@@ -3244,13 +3242,14 @@ <h2 class=no-num id=acknowledgments>Acknowledgments</h2>
32443242
for their contributions, either during the conception of CSS regions or
32453243
during its development and specification review process:
32463244

3247-
<p>Rossen Atanassov, Tab Atkins, Andrei Bucur, Alexandru Chiculita, Phil
3248-
Cupp, Arron Eicholz, John Jansen, Daniel Glazman, Arno Gourdol, David
3249-
Hyatt, Brian Heuston, Ian Hickson, Jonathan Hoersch, Michael Jolson, Brad
3250-
Kemper, Håkon Wium Lie, Markus Mielke, Robert O'Callahan, Edward
3251-
O'Connor, Mihnea Ovidenie, Virgil Palanciuc, Olga Popiv, Christoph Päper,
3252-
Anton Prowse, Peter Sorotokin, Christian Stockwell, Eugene Veselov, Boris
3253-
Zbarsky, Stephen Zilles and the CSS Working Group members.
3245+
<p>Rossen Atanassov, Tab Atkins, Mihai Balan, Andrei Bucur, Razvan Caliman,
3246+
Alexandru Chiculita, Phil Cupp, Arron Eicholz, John Jansen, Daniel
3247+
Glazman, Arno Gourdol, David Hyatt, Brian Heuston, Ian Hickson, Jonathan
3248+
Hoersch, Michael Jolson, Brad Kemper, Håkon Wium Lie, Markus Mielke,
3249+
Robert O'Callahan, Edward O'Connor, Mihnea Ovidenie, Virgil Palanciuc,
3250+
Olga Popiv, Christoph Päper, Anton Prowse, Peter Sorotokin, Christian
3251+
Stockwell, Eugene Veselov, Boris Zbarsky, Stephen Zilles and the CSS
3252+
Working Group members.
32543253

32553254
<h2 class=no-num id=intro-example-code>Appendix A. Example Code for
32563255
Introduction</h2>
@@ -3580,17 +3579,14 @@ <h2 class=no-num id=index>Index</h2>
35803579
<li>flow fragment height, <a href="#flow-fragment-height"
35813580
title="flow fragment height"><strong>7.2.</strong></a>
35823581

3583-
<li>flowFrom, <a href="#dom-region-flowfrom"
3584-
title=flowFrom><strong>6.2.</strong></a>
3585-
35863582
<li>flow-from, <a href="#flow-from"
35873583
title=flow-from><strong>3.2.</strong></a>
35883584

35893585
<li>flow-into, <a href="#flow-into"
35903586
title=flow-into><strong>3.1.</strong></a>
35913587

3592-
<li>getComputedStyle, <a href="#dom-region-getComputedStyle"
3593-
title=getComputedStyle><strong>6.2.</strong></a>
3588+
<li>getComputedRegionStyle, <a href="#dom-region-getComputedRegionStyle"
3589+
title=getComputedRegionStyle><strong>6.2.</strong></a>
35943590

35953591
<li>getContent(), <a href="#dom-named-flow-get-content"
35963592
title="getContent()"><strong>6.1.</strong></a>

css3-regions/Overview.src.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1783,11 +1783,10 @@ <h3 id="the-region-interface">The Region interface</h3>
17831783
[NoInterfaceObject]
17841784
interface Region {
17851785
readonly attribute DOMString <a href="#dom-region-regionoverset">regionOverset</a>;
1786-
readonly attribute DOMString <a href="#dom-region-flowfrom">flowFrom</a>;
17871786
sequence&lt;<a href="#">Range</a>&gt;? <a href=
17881787
"#dom-region-getregionflowranges">getRegionFlowRanges()</a>;
1789-
<a href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-region-getComputedStyle">getComputedStyle</a>(Element elt);
1790-
<a href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-region-getComputedStyle">getComputedStyle</a>(Element elt, DOMString pseudoElt);
1788+
<a href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-region-getComputedRegionStyle">getComputedRegionStyle</a>(Element elt);
1789+
<a href="http://dev.w3.org/csswg/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-region-getComputedRegionStyle">getComputedRegionStyle</a>(Element elt, DOMString pseudoElt);
17911790
};
17921791

17931792
Element implements Region;</pre>
@@ -1833,9 +1832,6 @@ <h3 id="the-region-interface">The Region interface</h3>
18331832
If there is content in the flow but that content does not generate any box
18341833
for visual formatting, the 'overset' attribute on the first region in the
18351834
region chain associated with the flow will return 'fit'.</p>
1836-
1837-
<p>The <dfn id="dom-region-flowfrom">flowFrom</dfn> attribute returns the name of the
1838-
<span>named flow</span> this region is associated with.</p>
18391835

18401836
<p>The <dfn id="dom-region-getregionflowranges">getRegionFlowRanges</dfn> method
18411837
returns an array of <a href= "http://www.w3.org/TR/dom/#interface-range">Range</a>
@@ -1873,7 +1869,7 @@ <h3 id="the-region-interface">The Region interface</h3>
18731869
if the <span>region</span> object
18741870
is not (or no longer) a region.</p>
18751871

1876-
<p>The <dfn id="dom-region-getComputedStyle">getComputedStyle</dfn>
1872+
<p>The <dfn id="dom-region-getComputedRegionStyle">getComputedRegionStyle</dfn>
18771873
methods on the Region interface work the same as the
18781874
<a href="http://dev.w3.org/csswg/cssom/#dom-window-getcomputedstyle"><code class="idl">getComputedStyle</code></a> [[!CSSOM]]
18791875
methods on the <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#window"><code class="idl">Window</code></a>
@@ -2449,6 +2445,7 @@ <h2 id="changes">Changes</h2>
24492445
<h3 id="changes_from_May_03_2012">Changes from <a href="http://www.w3.org/TR/2012/WD-css3-regions-20120503/">May 3<sup>rd</sup> 2012</a> version</h3>
24502446

24512447
<ul>
2448+
<li>Removed flowFrom from Region interface and changed method name to getComputedRegionStyle().</li>
24522449
<li>Region interface is now a supplemental interface with the [NoInterfaceObject] extended attribute.</li>
24532450
<li>Added note for regionLayoutUpdate dispatching in nested flows.</li>
24542451
<li>Removed Document.getFlowByName() in favor of NamedFlowCollection.namedItem().</li>
@@ -2651,7 +2648,9 @@ <h2 class="no-num" id="acknowledgments">Acknowledgments</h2>
26512648
process:</p>
26522649
<p>Rossen Atanassov,
26532650
Tab Atkins,
2651+
Mihai Balan,
26542652
Andrei Bucur,
2653+
Razvan Caliman,
26552654
Alexandru Chiculita,
26562655
Phil Cupp,
26572656
Arron Eicholz,

0 commit comments

Comments
 (0)