Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match.html

Issue 1007013002: Make scrollWidth and scrollHeight match other DOM measurement APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add additional test expectation Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <style>
4 #test {
5 width: 200.5px;
6 height: 200.5px;
7 }
8 </style>
9 <body>
10 <div id="test"></div>
11 <script>
12 var test = document.getElementById("test");
13 shouldBeTrue("test.scrollWidth == test.offsetWidth");
14 shouldBeTrue("test.scrollHeight == test.offsetHeight");
15 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/sub-pixel/offset-and-scroll-sizes-should-match-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698