gecko-dev/layout/reftests/selection/pseudo-element-of-native-an...

17 строки
272 B
HTML

<html>
<head>
<style type="text/css">
input {
color: white;
background-color: green;
}
input::-moz-selection {
color: red;
background-color: blue;
}
</style>
</head>
<body onload="document.getElementById('i').select();">
<input value="text" id="i">
</body>
</html>