mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 44a082391b
			
		
	
	
		44a082391b
		
	
	
	
	
		
			
			Modified text-decoration.html to better test that the values can be in any order, and that it adopts the color from the `color` property if no decoration color is specified. Right now, it always does because we do not support a different decoration color. Later, we need to support the `currentcolor` special CSS value for this purpose.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			590 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			590 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
| <head>
 | |
| <title>text-decoration test</title>
 | |
| <style>
 | |
| .overline { text-decoration: wavy blue overline; }
 | |
| .underline { text-decoration: red underline double; }
 | |
| .strikethrough { text-decoration: line-through dotted green; }
 | |
| .blink { text-decoration: blink; }
 | |
| .current-color { color: #8B4513; text-decoration: underline; }
 | |
| </style>
 | |
| </head>
 | |
| <body>
 | |
| 	<p class="overline">Overline</p>
 | |
| 	<p class="underline">Underline</p>
 | |
| 	<p class="strikethrough">Wombling</p>
 | |
| 	<p class="blink">FREE!</p>
 | |
| 	<p class="current-color">This underline should match the text color</p>
 | |
| </body>
 | |
| </html>
 |