- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 11 Feb 2012 01:41:52 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv27558
Modified Files:
Overview.html Overview.src.html
Log Message:
Update element() examples to use just id selectors, not idents.
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -d -r1.284 -r1.285
--- Overview.html 11 Feb 2012 01:37:39 -0000 1.284
+++ Overview.html 11 Feb 2012 01:41:50 -0000 1.285
@@ -652,8 +652,8 @@
position: fixed;
...
}
-#prev-preview { background: element(prev-slide); }
-#next-preview { background: element(next-slide); }
+#prev-preview { background: element(#prev-slide); }
+#next-preview { background: element(#next-slide); }
</style>
<div id='prev-preview'></div>
<div id='next-preview'></div>
@@ -729,7 +729,7 @@
document.CSSElementMap.foo = canvas;
drawAnimation(canvas);
</script>
-<ul style="list-style-image: element(foo);">
+<ul style="list-style-image: element(#foo);">
<li>I'm using the canvas as a bullet!</li>
<li>So am I!</li>
<li>As the canvas is changed over time with Javascript,
@@ -763,7 +763,7 @@
<p id='three'>I'm fallback content!</p>
</iframe>
<ul>
- <li style="background: element(one);">
+ <li style="background: element(#one);">
A P element doesn't provide a paint source,
and it's not rendered unless it's in a document.
</li>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -d -r1.294 -r1.295
--- Overview.src.html 11 Feb 2012 01:37:39 -0000 1.294
+++ Overview.src.html 11 Feb 2012 01:41:50 -0000 1.295
@@ -315,8 +315,8 @@
position: fixed;
...
}
-#prev-preview { background: element(prev-slide); }
-#next-preview { background: element(next-slide); }
+#prev-preview { background: element(#prev-slide); }
+#next-preview { background: element(#next-slide); }
</style>
<div id='prev-preview'></div>
<div id='next-preview'></div>
@@ -367,7 +367,7 @@
document.CSSElementMap.foo = canvas;
drawAnimation(canvas);
</script>
-<ul style="list-style-image: element(foo);">
+<ul style="list-style-image: element(#foo);">
<li>I'm using the canvas as a bullet!</li>
<li>So am I!</li>
<li>As the canvas is changed over time with Javascript,
@@ -396,7 +396,7 @@
<p id='three'>I'm fallback content!</p>
</iframe>
<ul>
- <li style="background: element(one);">
+ <li style="background: element(#one);">
A P element doesn't provide a paint source,
and it's not rendered unless it's in a document.
</li>
Received on Saturday, 11 February 2012 01:41:53 UTC