W3C home > Mailing lists > Public > public-css-commits@w3.org > December 2011

csswg/css3-gcpm Overview.src.html,1.188,1.189

From: (wrong string) åkon Wium Lie via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 25 Dec 2011 01:30:11 +0000
To: public-css-commits@w3.org
Message-Id: <E1Recuh-0005fG-AC@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-gcpm
In directory hutz:/tmp/cvs-serv21745

Modified Files:
	Overview.src.html 
Log Message:
revising text and examples on regions and exclusions

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-gcpm/Overview.src.html,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- Overview.src.html	25 Dec 2011 01:10:49 -0000	1.188
+++ Overview.src.html	25 Dec 2011 01:30:08 -0000	1.189
@@ -3027,7 +3027,7 @@
 
 <h3>Exclusions based on images</h3>
 
-
+<p>Exclusions are often based on shapes found in images. In this specification, the background image carries the shape, around which text is wrapped. The new property 'background-exclude-level' indicates a level in the alpha channel of the background image(s) that defines the shape.
 
 
 <div class=example>
@@ -3038,12 +3038,11 @@
   padding: 4em;
   columns: 15em;
   background: url(nicecar.jpg);
-  background-exclude: 0.5;
+  background-exclude-level: 0.5;
 }  
 article h1 { column-span: all } /* Bonneville Speedway */
 </pre>  
 
-
 </div>
 
 <div class=example>
@@ -3071,7 +3070,9 @@
   background: repeat-y url(zigzag.png);
   background-exclude-level: 0.5;
 }
-
+article h1 {
+  column-span: all;
+}
 </pre>
 
 </div>
@@ -3080,6 +3081,8 @@
 
 <h3>Exclusions based on shapes</h3>
 
+<p class=issue>Is this needed?
+
 <div class=example>
 <img src=heart1.png>
 <pre>
@@ -3173,20 +3176,24 @@
 <img alt="sample rendering" src=regions.png>
 
 <pre>
-  article { columns: 3 }
-  img { column-span: 2; width: 100%; float: top }
-  article::column(1) {    /* selects column 1 */
-    column-span: 2;
-    float: top;
-    visibility: collapse; /* so that column 2 moves in */
-    height: 3em;          /* or something */
-  }  
+article { columns: 3 }
+img { column-span: 2; width: 100%; float: top }
+article::column(1) {    /* selects column 1 */
+  column-span: 2;
+  float: top;
+  visibility: collapse; /* so that column 2 moves in */
+  height: 3em;          /* or something */
+}  
+
+&lt;article>
+  &lt;img ...>
+  &lt;p>...  &lt;p>...  &lt;p>...
+&lt;/article>
 </pre>
 </div>
 
-
+<!--
 <div class=example>
-
 <pre>
   article { columns: 14em; }
   article::column(1) { 
@@ -3197,6 +3204,7 @@
   }
 </pre>
 </div>
+-->
 
 
 
Received on Sunday, 25 December 2011 01:30:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC