Skip to content

Commit 1f1e032

Browse files
committed
Recommend that border-image outside border box does not trigger for hit testing, and that border-radius also clips the active area. See http://lists.w3.org/Archives/Public/www-style/2009Mar/0433.html
1 parent 5e0a531 commit 1f1e032

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

css3-background/Overview.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
<h1>CSS Backgrounds and Borders Module Level 3</h1>
2424

25-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 October
25+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 16 November
2626
2009</h2>
2727

2828
<dl>
2929
<dt>This version:
3030

31-
<dd><!--<a href="http://www.w3.org/TR/2009/CR-css3-background-20091016">http://www.w3.org/TR/2009/ED-css3-background-20091016</a>-->
31+
<dd><!--<a href="http://www.w3.org/TR/2009/CR-css3-background-20091116">http://www.w3.org/TR/2009/ED-css3-background-20091116</a>-->
3232
<a
3333
href="http://dev.w3.org/csswg/css3-background">http://dev.w3.org/csswg/css3-background</a>
3434

@@ -2427,7 +2427,9 @@ <h3 id=the-border-radius><span class=secno>4.4 </span>The &lsquo;<code
24272427
that clip to the border or padding edge (such as &lsquo;<code
24282428
class=property>overflow</code>&rsquo; other than &lsquo;<code
24292429
class=css>visible</code>&rsquo;) also must clip to the curve. The content
2430-
of replaced elements is always trimmed to the content edge curve.
2430+
of replaced elements is always trimmed to the content edge curve. The CSS
2431+
Working Group recommends that the area outside the curve of the border
2432+
edge does not accept mouse events on behalf of the element.
24312433

24322434
<div class=figure>
24332435
<p><img alt="Diagram of the inscribed ellips" src=corner.png>
@@ -3179,7 +3181,9 @@ <h3 id=the-border-image-outset><span class=secno>5.4 </span>The
31793181
href="#border-image-outset">border-image-outset</a></code>&rsquo; values.
31803182

31813183
<p>Portions of the border-image that are rendered outside the border box do
3182-
not trigger scrolling.
3184+
not trigger scrolling. The CSS Working Group recommends that such portions
3185+
are invisible to mouse events and do not capture clicks on behalf of the
3186+
element.
31833187

31843188
<p class=note>Note that, even though they never cause a scrolling
31853189
mechanism, they may still be clipped by an ancestor or by the viewport.

css3-background/Overview.src.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,6 +1751,8 @@ <h3 id="the-border-radius">The 'border-radius' properties</h3>
17511751
Other effects that clip to the border or padding edge (such as 'overflow'
17521752
other than ''visible'') also must clip to the curve. The content of
17531753
replaced elements is always trimmed to the content edge curve.
1754+
The CSS Working Group recommends that the area outside the curve of the
1755+
border edge does not accept mouse events on behalf of the element.
17541756

17551757
<div class="figure">
17561758
<p><img alt="Diagram of the inscribed ellips" src="corner.png">
@@ -2335,7 +2337,9 @@ <h3 id="the-border-image-outset">The 'border-image-outset' property</h3>
23352337
<p>Negative values are not allowed for any of the 'border-image-outset' values.
23362338

23372339
<p>Portions of the border-image that are rendered outside the border
2338-
box do not trigger scrolling.</p>
2340+
box do not trigger scrolling. The CSS Working Group recommends that
2341+
such portions are invisible to mouse events and do not capture clicks
2342+
on behalf of the element.</p>
23392343

23402344
<p class=note>Note that, even though they never cause a scrolling
23412345
mechanism, they may still be clipped by an ancestor or by the

0 commit comments

Comments
 (0)