Chromium Code Reviews| Index: LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match.html |
| diff --git a/LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match.html b/LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..90d9d5f77ab61b3d654d2e38bec3f601c0e24fd3 |
| --- /dev/null |
| +++ b/LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match.html |
| @@ -0,0 +1,15 @@ |
| +<!DOCTYPE html> |
| +<script src="../../resources/js-test.js"></script> |
| +<style> |
| +#test { |
| + width: 200.5px; |
| + height: 200.5px; |
| +} |
| +</style> |
| +<body> |
| +<div id="test"></div> |
| +<script> |
| +var test = document.getElementById("test"); |
| +shouldBeTrue("test.scrollWidth == test.offsetWidth"); |
| +shouldBeTrue("test.scrollHeight == test.offsetHeight"); |
| +</script> |