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

Side by Side Diff: LayoutTests/fast/dom/Range/getBoundingClientRect.html

Issue 1204023002: Deflake tests using ahem font with @font-face. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline and fix an svg test Created 5 years, 6 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
OLDNEW
1 <script src="../../../resources/ahem.js"></script>
1 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
2 <style> 3 <style>
3 body { 4 body {
4 font: 16px Ahem; 5 font: 16px Ahem;
5 } 6 }
6 7
7 .bbox { 8 .bbox {
8 position:absolute; 9 position:absolute;
9 outline: 5px solid rgba(255, 0, 0, .75); 10 outline: 5px solid rgba(255, 0, 0, .75);
10 z-index: -1; 11 z-index: -1;
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 debug("Test 6") 161 debug("Test 6")
161 var range6 = document.createRange(); 162 var range6 = document.createRange();
162 rect = range6.getBoundingClientRect() 163 rect = range6.getBoundingClientRect()
163 testClientRect(rect, expectedResults[6 - 1]); 164 testClientRect(rect, expectedResults[6 - 1]);
164 165
165 if (window.testRunner) { 166 if (window.testRunner) {
166 var area = document.getElementById('testArea'); 167 var area = document.getElementById('testArea');
167 area.parentNode.removeChild(area); 168 area.parentNode.removeChild(area);
168 } 169 }
169 </script> 170 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698