mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Issue 8719: Add basic support for :active selector
This commit is contained in:
parent
80cb0cf821
commit
421c354d44
5 changed files with 63 additions and 2 deletions
18
tests/html/active_selector.html
Normal file
18
tests/html/active_selector.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
:active {border:1px solid #A61D61; background-color:#DC2F85; color:#333232;}
|
||||
</style>
|
||||
<body>
|
||||
<fieldset>
|
||||
<a href="https://servo.org/">
|
||||
Link
|
||||
</a>
|
||||
<button>Click Me!</button>
|
||||
<button disabled>You can't activate me</button>
|
||||
<a>Anchor with no href</a>
|
||||
<link href="www.mozilla.com">Link</link>
|
||||
<link>Link with no href</link>
|
||||
</fieldset>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue