Skip to content

Commit 74c9ba0

Browse files
author
Tantek Çelik
committed
resolved issue 4 - added svg-specific rule to default style sheet to handle svg-specific pointer-events initial value
1 parent a5b0636 commit 74c9ba0

2 files changed

Lines changed: 28 additions & 14 deletions

File tree

css3-ui/Overview.html

Lines changed: 16 additions & 9 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 13 January
58+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 14 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-20110113">http://www.w3.org/TR/2011/ED-css3-ui-20110113</a></dd> -->
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> -->
6464

6565
<dd><a
6666
href="http://dev.w3.org/csswg/css3-ui/">http://dev.w3.org/csswg/css3-ui/</a>
@@ -557,7 +557,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
557557

558558
<li class=no-num><a
559559
href="#appendix-d.-default-style-sheet-addition">Appendix D. Default
560-
style sheet additions for HTML4/XHTML1</a>
560+
style sheet additions for HTML and SVG</a>
561561

562562
<li class=no-num><a href="#appendix-e.-example-profiles">Appendix E.
563563
Example profiles</a>
@@ -3197,8 +3197,7 @@ <h4 id=pointer-events><span class=secno>10.1.2. </span><span
31973197
testing" behaviors such as dynamic pseudo-classes (:hover, :active,
31983198
:focus), hyperlinks, and Document.elementFromPoint().
31993199

3200-
<p>Related issues: <a
3201-
href="http://wiki.csswg.org/spec/css3-ui#issue-5">4</a>, <a
3200+
<p>Related open issues: <a
32023201
href="http://wiki.csswg.org/spec/css3-ui#issue-5">5</a>, <a
32033202
href="http://wiki.csswg.org/spec/css3-ui#issue-6">6</a>, <a
32043203
href="http://wiki.csswg.org/spec/css3-ui#issue-7">7</a>, <a
@@ -3835,12 +3834,13 @@ <h3 class=no-num id=changes-list>List of specific changes</h3>
38353834
</ul>
38363835

38373836
<h2 class=no-num id=appendix-d.-default-style-sheet-addition>Appendix D.
3838-
Default style sheet additions for HTML4/XHTML1</h2>
3837+
Default style sheet additions for HTML and SVG</h2>
38393838

38403839
<p>This appendix is <em>informative</em>.
38413840

3842-
<p>Potential additions to the base style sheet to express HTML4/XHTML1 form
3843-
controls and a few HTML4/XHTML1 dynamic presentation attributes:
3841+
<p>Potential additions to the base style sheet to express HTML form
3842+
controls, a few dynamic presentation attributes, and some default SVG
3843+
behaviors:
38443844

38453845
<pre class=html4ss>
38463846

@@ -4006,6 +4006,13 @@ <h2 class=no-num id=appendix-d.-default-style-sheet-addition>Appendix D.
40064006

40074007
*/
40084008

4009+
/* SVG initial values */
4010+
@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 */
4015+
40094016
</pre>
40104017

40114018
<h2 class=no-num id=appendix-e.-example-profiles>Appendix E. Example
@@ -4320,7 +4327,7 @@ <h2 class=no-num id=appendix-f-test-suite>Appendix F: Test Suite</h2>
43204327
the <a href="http://www.w3.org/Style/CSS/Test/">CSS Test Suites</a> home
43214328
page.
43224329

4323-
<p>Related issue: <a
4330+
<p>Related open issue: <a
43244331
href="http://wiki.csswg.org/spec/css3-ui#issue-1">1</a>.
43254332

43264333
<h2 class=no-num id=index>Index</h2>

css3-ui/Overview.src.html

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,8 +1710,7 @@ <h4 id="pointer-events"><span class="property">'pointer-events'</span> property<
17101710

17111711
<p>The pointer-events property allows authors to control whether or when an element may be the target of user pointing device (pointer, e.g. mouse) events. This property is used to specify under which circumstance (if any) a pointer event should go "through" an element and target whatever is "underneath" that element instead. This also applies to other "hit testing" behaviors such as dynamic pseudo-classes (:hover, :active, :focus), hyperlinks, and Document.elementFromPoint().</p>
17121712

1713-
<p>Related issues:
1714-
<a href="http://wiki.csswg.org/spec/css3-ui#issue-5">4</a>,
1713+
<p>Related open issues:
17151714
<a href="http://wiki.csswg.org/spec/css3-ui#issue-5">5</a>,
17161715
<a href="http://wiki.csswg.org/spec/css3-ui#issue-6">6</a>,
17171716
<a href="http://wiki.csswg.org/spec/css3-ui#issue-7">7</a>,
@@ -1979,11 +1978,11 @@ <h3 class="no-num" id="changes-list">List of specific changes</h3>
19791978

19801979

19811980

1982-
<h2 class="no-num">Appendix D. Default style sheet additions for HTML4/XHTML1</h2>
1981+
<h2 class="no-num">Appendix D. Default style sheet additions for HTML and SVG</h2>
19831982

19841983
<p>This appendix is <em>informative</em>.</p>
19851984

1986-
<p>Potential additions to the base style sheet to express HTML4/XHTML1 form controls and a few HTML4/XHTML1 dynamic presentation attributes:</p>
1985+
<p>Potential additions to the base style sheet to express HTML form controls, a few dynamic presentation attributes, and some default SVG behaviors:</p>
19871986

19881987
<pre class="html4ss">
19891988

@@ -2149,6 +2148,13 @@ <h2 class="no-num">Appendix D. Default style sheet additions for HTML4/XHTML1</h
21492148

21502149
*/
21512150

2151+
/* SVG initial values */
2152+
@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
2155+
the SVG specified behavior of initial: visiblePainted,
2156+
descendant elements will inherit it accordingly */
2157+
21522158
</pre>
21532159

21542160
<h2 class="no-num">Appendix E. Example profiles</h2>
@@ -2309,6 +2315,7 @@ <h3 class="no-num no-toc">Full profile for CSS3 Basic UI</h3>
23092315
</table>
23102316

23112317

2318+
23122319
<h2 class="no-num">Appendix F: Test Suite</h2>
23132320

23142321
<p>This appendix is <em>informative</em>.</p>
@@ -2317,7 +2324,7 @@ <h2 class="no-num">Appendix F: Test Suite</h2>
23172324
This specification shall refer to a test suite written according to the <a href="http://www.w3.org/Style/CSS/Test/testsuitedocumentation">CSS Test Suite Documentation</a> and following the <a href="http://www.w3.org/Style/CSS/Test/guidelines.html">CSS2.1 Test Case Authoring Guidelines</a>. The test suite shall allow user agents to verify their basic conformance to the specification. This test suite does not pretend to be exhaustive and does not cover all possible combinations of user interface related features. These tests will be made available from the <a href="http://www.w3.org/Style/CSS/Test/">CSS Test Suites</a> home page.
23182325
</p>
23192326

2320-
<p>Related issue:
2327+
<p>Related open issue:
23212328
<a href="http://wiki.csswg.org/spec/css3-ui#issue-1">1</a>.
23222329
</p>
23232330

0 commit comments

Comments
 (0)