| <title>This tests that autosize uses the min-width as the base for resolving viewport unit values</title> |
| internals.enableAutoSizeMode(true, 2000, 600); |
| <img src="notfound.jpg" width=3000px height=100px> |
| document.body.offsetWidth; |
| result.textContent = window.getComputedStyle(w100, null).getPropertyValue("width") + " " |
| + window.getComputedStyle(w50, null).getPropertyValue("width") + " " |
| + window.getComputedStyle(w10, null).getPropertyValue("width") + " " |
| + window.getComputedStyle(w0, null).getPropertyValue("width"); |
| internals.enableAutoSizeMode(false, 0, 0, 0, 0); |