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

Side by Side Diff: LayoutTests/css3/zoom-coords.xhtml

Issue 25512005: Enable experimental support for sub-pixel font scaling (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
OLDNEW
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x link"> 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x link">
2 <head> 2 <head>
3 <style type="text/css"> 3 <style type="text/css">
4 body { 4 body {
5 margin:0px; 5 margin:0px;
6 border:0px; 6 border:0px;
7 padding:0px; 7 padding:0px;
8 } 8 }
9 text { 9 text {
10 font: 12px Ahem; 10 font: 12px Ahem;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 var image3 = document.getElementById("image3").getBoundingClientRect(); 175 var image3 = document.getElementById("image3").getBoundingClientRect();
176 shouldBe('image3.left', '1100'); 176 shouldBe('image3.left', '1100');
177 shouldBe('image3.top', '500'); 177 shouldBe('image3.top', '500');
178 shouldBe('image3.width', '100'); 178 shouldBe('image3.width', '100');
179 shouldBe('image3.height', '50'); 179 shouldBe('image3.height', '50');
180 shouldBe('image3.right', '1200'); 180 shouldBe('image3.right', '1200');
181 shouldBe('image3.bottom', '550'); 181 shouldBe('image3.bottom', '550');
182 var text3 = document.getElementById("text3").getBoundingClientRect(); 182 var text3 = document.getElementById("text3").getBoundingClientRect();
183 shouldBe('text3.left', '1100'); 183 shouldBe('text3.left', '1100');
184 msgDumpRenderTreeRequired(); 184 msgDumpRenderTreeRequired();
185 shouldBeCloseTo('text3.top', 566, 1); 185 shouldBeCloseTo('text3.top', 565, 1);
186 shouldBeCloseTo('text3.width', 92, 1); 186 shouldBeCloseTo('text3.width', 92, 1);
187 shouldBeCloseTo('text3.height', 12, 1); 187 shouldBeCloseTo('text3.height', 12, 1);
188 shouldBeCloseTo('text3.right', 1192, 1); 188 shouldBeCloseTo('text3.right', 1192, 1);
189 shouldBeCloseTo('text3.bottom', 577, 1); 189 shouldBeCloseTo('text3.bottom', 577, 1);
190 debug(""); 190 debug("");
191 191
192 192
193 </script> 193 </script>
194 194
195 </body> 195 </body>
196 </html> 196 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/box-decoration-break/box-decoration-break-rendering.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698