mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<title>CSS level4 Selector :required and :optional</title>
|
||||
<link href="mailto:zzirasi@gmail.com" rel="author" title="LEE YUN HEE">
|
||||
<link href="http://www.w3.org/TR/selectors4/#opt-pseudos" rel="help">
|
||||
<meta content="You should see a green input box." name="assert">
|
||||
<link href="reference/selector-required-ref.htm" rel="match">
|
||||
<style>
|
||||
input {border:3px solid red;}
|
||||
:required {border-color:green;}
|
||||
:optional {border-color:green;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
You should see a green input box.
|
||||
</p>
|
||||
<p>
|
||||
<input required="">
|
||||
</p>
|
||||
<p>
|
||||
<input optinal="">
|
||||
</p>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user