Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.

Commit

Permalink
use -webkit-flow-into and -webkit-flow-from in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emalasky committed May 21, 2012
1 parent 8e4c842 commit f5f9883
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions samples/css-regions/Documentation.html
Expand Up @@ -137,10 +137,10 @@ <h2>Contents</h2>
<a href="#threads">Content threads and regions</a>
<ul>
<li>
<a href="#dt_flow">-webkit-flow</a>
<a href="#dt_flow">-webkit-flow-into</a>
</li>
<li>
<a href="#dt_content-from">content</a>
<a href="#dt_content-from">-webkit-flow-from</a>
</li>
</ul>
</li>
Expand All @@ -160,21 +160,21 @@ <h2 id="definitions">Definitions and concepts</h2>

<h2 id="threads">Content threads and regions</h2>
<dl>
<dt id="dt_flow">-webkit-flow: "name"</dt>
<dt id="dt_flow">-webkit-flow-into: "name"</dt>
<dd>

<p>
Takes the content of the element out of the normal document flow and moves it into a content thread identified by a string.
</p>
<p>
The content will not be rendered unless explicitly consumed by a region with <a href="#dt_content-from"><var>content: from("name")</var></a> on the region
The content will not be rendered unless explicitly consumed by a region with <a href="#dt_content-from"><var>-webkit-flow-from: "name"</var></a> on the region
</p>

<h3>Example</h3>
<pre>
&lt;style type=&quot;text/css&quot;&gt;
#article{
<em>-webkit-flow: &quot;article-thread&quot;;</em>
<em>-webkit-flow-into: &quot;article-thread&quot;;</em>
}
&lt;/style&gt;

Expand All @@ -188,11 +188,11 @@ <h3>Example</h3>
<pre>
&lt;style type=&quot;text/css&quot;&gt;
#article{
-webkit-flow: &quot;article-thread&quot;
-webkit-flow-into: &quot;article-thread&quot;
}
<em>
blockquote{
-webkit-flow: &quot;quotes-thread&quot;;
-webkit-flow-into: &quot;quotes-thread&quot;;
}
</em>
&lt;/style&gt;
Expand All @@ -208,18 +208,18 @@ <h3>Example</h3>
</dd>


<dt id="dt_content-from">content: from("name")</dt>
<dt id="dt_content-from">-webkit-flow-from: "name"</dt>
<dd>
<p>Inserts content from the "name" thread into the current element. The element's original content will be replaced by the one from the thread.</p>

<h3>Example</h3>
<pre>
&lt;style type="text/css"&gt;
#article{
-webkit-flow: "article-thread";
-webkit-flow-into: "article-thread";
}
#region{
<em>content:from(article-thread);</em>
<em>-webkit-flow-from: "article-thread";</em>
width:100%;
}
&lt;/style&gt;
Expand All @@ -234,11 +234,11 @@ <h3>Example</h3>
<pre>
&lt;style type="text/css"&gt;
#article{
-webkit-flow: "article-thread";
-webkit-flow-into: "article-thread";
}
#region1,
#region2{
<em>content:from(article-thread);</em>
<em>-webkit-flow-from: "article-thread";</em>
width:20%;
height:4em;
}
Expand Down

0 comments on commit f5f9883

Please sign in to comment.