mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:02:43 +00:00 
			
		
		
		
	 61ef17b87a
			
		
	
	
		61ef17b87a
		
	
	
	
	
		
			
			This is currently very aggressive. Whenever the Document's hovered node changes, we invalidate all style and do a full relayout. It does look cool though. So cool that I'm adding it to the default stylesheet. :^)
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			189 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			189 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <html>
 | |
|     <head>
 | |
|         <title>Hover test!</title>
 | |
| <style>
 | |
| a:hover {
 | |
|     color: red;
 | |
| }
 | |
| </style>
 | |
|     </head>
 | |
|     <body>
 | |
|         <a href="hover.html">this is a link</a>
 | |
|     </body>
 | |
| </html>
 |