forked from mirrors/gecko-dev
		
	 5ec38fdff7
			
		
	
	
		5ec38fdff7
		
	
	
	
	
		
			
			This test compares transformed input elements against untransformed ones. This can end up producing slight subpixel positioning differences at paint time, which results in a fuzzy reftest failure. The test already has a fairly liberal fuzzy allowance, and this patch just relaxes that a bit more to account for the fuzzy differences that we're currently seeing on the wpt.fyi harness. Differential Revision: https://phabricator.services.mozilla.com/D171275
		
			
				
	
	
		
			47 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html>
 | |
|   <head>
 | |
|     <title>CSS Test (Transforms): Input (type=datetime-local)</title>
 | |
|     <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
 | |
|     <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property">
 | |
|     <link rel="reviewer" title="Apple Inc." href="http://www.apple.com">
 | |
|     <meta name="assert" content='The input element is an atomic inline element,
 | |
|     so it falls under the definition of transformable and should be affected by
 | |
|     transformations as usual.  This is one in a series of tests that verify
 | |
|     that a few simple transforms have the expected effect on various types of
 | |
|     inputs.  (They only test a few very specific transforms because it would be
 | |
|     difficult to construct a correct reference file for more complex
 | |
|     transforms.)'>
 | |
|     <link rel="match" href="transform-input-013-ref.html">
 | |
|     <meta name="fuzzy" content="maxDifference=0-129;totalPixels=0-2506">
 | |
|     <style>
 | |
|       input {
 | |
|         /* Margin to avoid overlap of translated inputs */
 | |
|         margin: 10px;
 | |
|       }
 | |
|       p + input {
 | |
|         transform: rotate(360deg);
 | |
|       }
 | |
|       p + input + input {
 | |
|         transform: translateX(-10px);
 | |
|       }
 | |
|       p + input + input + input {
 | |
|         transform: translateX(10px);
 | |
|       }
 | |
|       p + input + input + input + input {
 | |
|         transform: translateY(-10px);
 | |
|       }
 | |
|       p + input + input + input + input + input {
 | |
|         transform: translateY(10px);
 | |
|       }
 | |
|     </style>
 | |
|   </head>
 | |
|   <body>
 | |
|     <p>type=datetime-local</p>
 | |
|     <input value="2012-02-01 12:28" type="datetime-local">
 | |
|     <input value="2012-02-01 12:28" type="datetime-local">
 | |
|     <input value="2012-02-01 12:28" type="datetime-local">
 | |
|     <input value="2012-02-01 12:28" type="datetime-local">
 | |
|     <input value="2012-02-01 12:28" type="datetime-local">
 | |
|   </body>
 | |
| </html>
 |