Skip to content

Commit 76edc4a

Browse files
author
Tantek Çelik
committed
resolve issue 5 - update default style sheet accordingly for svg root element vs svg children.
1 parent 95e53ff commit 76edc4a

2 files changed

Lines changed: 12 additions & 8 deletions

File tree

css3-ui/Overview.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
src="http://www.w3.org/Icons/w3c_home" width=72> </a>
5656
<h1>CSS Basic User Interface Module Level 3</h1>
5757

58-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 January
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 18 January
5959
2011</h2>
6060

6161
<dl>
6262
<dt>This version:</dt>
63-
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110114">http://www.w3.org/TR/2011/ED-css3-ui-20110114</a></dd> -->
63+
<!-- <dd><a href="http://www.w3.org/TR/2011/ED-css3-ui-20110118">http://www.w3.org/TR/2011/ED-css3-ui-20110118</a></dd> -->
6464

6565
<dd><a
6666
href="http://dev.w3.org/csswg/css3-ui/">http://dev.w3.org/csswg/css3-ui/</a>
@@ -4008,10 +4008,12 @@ <h2 class=no-num id=appendix-d.-default-style-sheet-addition>Appendix D.
40084008

40094009
/* SVG initial values */
40104010
@namespace svg "http://www.w3.org/2000/svg";
4011-
svg|svg { pointer-events: visiblePainted }
4012-
/* setting it on the svg root element should be sufficient to mimic
4013-
the SVG specified behavior of initial: visiblePainted, the
4014-
remaining elements will inherit it accordingly */
4011+
svg|svg { pointer-events: none }
4012+
svg|svg&gt;* { pointer-events: visiblePainted }
4013+
/* setting the SVG specific initial value on the children of
4014+
the svg root element should be sufficient to mimic
4015+
the SVG specified behavior of initial: visiblePainted,
4016+
descendant elements will inherit it accordingly */
40154017

40164018
</pre>
40174019

css3-ui/Overview.src.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2150,8 +2150,10 @@ <h2 class="no-num">Appendix D. Default style sheet additions for HTML and SVG</h
21502150

21512151
/* SVG initial values */
21522152
@namespace svg "http://www.w3.org/2000/svg";
2153-
svg|svg { pointer-events: visiblePainted }
2154-
/* setting it on the svg root element should be sufficient to mimic
2153+
svg|svg { pointer-events: none }
2154+
svg|svg&gt;* { pointer-events: visiblePainted }
2155+
/* setting the SVG specific initial value on the children of
2156+
the svg root element should be sufficient to mimic
21552157
the SVG specified behavior of initial: visiblePainted,
21562158
descendant elements will inherit it accordingly */
21572159

0 commit comments

Comments
 (0)