Skip to content

Commit e2d6722

Browse files
committed
[css-ui-4] maintains caret visibility despite transforms
Closes w3c#4784
1 parent 3957038 commit e2d6722

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-ui-4/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,13 @@ If the edited text is laid out on a path,
11931193
for instance by using the SVG <{textPath}> element,
11941194
UAs should also account for this.
11951195

1196+
The thickness of ''caret-shape/bar'' and ''caret-shape/underscore'' carets--
1197+
as well as that of ''caret-shape/auto'' carets with a similar rendering--
1198+
is determined by the user agent.
1199+
When practical, the user agent should choose a thickness that ensures
1200+
the caret remains visible even if it has been scaled down
1201+
via means such as transformations [[CSS-TRANSFORMS-1]].
1202+
11961203
The stacking position of the caret is left undefined within the following constraints:
11971204

11981205
<ul>
@@ -2162,6 +2169,9 @@ the following normative changes have been made:
21622169
Restricted the applicability of ''appearance: button''
21632170
so that it can no longer give a buttony appearance
21642171
to widgets that aren't buttons to start with.
2172+
2173+
<li>
2174+
Add a clause to preserve visibility of carets even when scaled down via transforms.
21652175
</ul>
21662176

21672177
<h3 id=changes-22-12-2017 class=no-num>Changes from the

0 commit comments

Comments
 (0)