Skip to content

Commit 8d43a41

Browse files
committed
Add note about reduced interactive area due to border-radius. <http://lists.w3.org/Archives/Public/www-style/2012Jun/0445.html>
1 parent 93da28f commit 8d43a41

2 files changed

Lines changed: 18 additions & 4 deletions

File tree

css3-background/Overview.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2878,8 +2878,16 @@ <h3 id=corner-clipping><span class=secno>5.3. </span>Corner Clipping</h3>
28782878
class=property>overflow</code>’ other than ‘<code
28792879
class=css>visible</code>’) also must clip to the curve. The content of
28802880
replaced elements is always trimmed to the content edge curve. Also, the
2881-
area outside the curve of the border edge does not accept mouse events on
2882-
behalf of the element.
2881+
area outside the curve of the border edge does not accept pointer events
2882+
on behalf of the element.
2883+
2884+
<p class=note>As ‘<a href="#border-radius"><code
2885+
class=property>border-radius</code></a>’ reduces the interactive area of
2886+
an element authors should make sure the remaining interactive area
2887+
conforms to recommended minima for the platforms they target; in
2888+
particular, conforming to recommended minimum touch target sizes may
2889+
require larger widths and heights when ‘<a href="#border-radius"><code
2890+
class=property>border-radius</code></a>’ is used.
28832891

28842892
<div class=example>
28852893
<p>This example adds appropriate padding, so that the contents do not

css3-background/Overview.src.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,8 +2050,14 @@ <h3 id="corner-clipping">Corner Clipping</h3>
20502050
Other effects that clip to the border or padding edge (such as 'overflow'
20512051
other than ''visible'') also must clip to the curve. The content of
20522052
replaced elements is always trimmed to the content edge curve.
2053-
Also, the area outside the curve of the border edge does not accept mouse
2054-
events on behalf of the element.
2053+
Also, the area outside the curve of the border edge does not
2054+
accept pointer events on behalf of the element.
2055+
2056+
<p class="note">As 'border-radius' reduces the interactive area of an element
2057+
authors should make sure the remaining interactive area conforms
2058+
to recommended minima for the platforms they target;
2059+
in particular, conforming to recommended minimum touch target sizes
2060+
may require larger widths and heights when 'border-radius' is used.
20552061

20562062
<div class=example>
20572063
<p>This example adds appropriate padding, so that the

0 commit comments

Comments
 (0)