Bug 1316770 - Add text-rendering:optimizeLegibility to reftests for bug 1089388, to try and ensure we get proper glyph bounds. r=gbrown, a=test-only
authorJonathan Kew <jkew@mozilla.com>
Fri, 04 Aug 2017 15:26:50 +0100
changeset 423383 c4b95f208eeb55003dbbe7da141e2a995cd4bbcb
parent 423382 58a56b524b5ec309371c0e1e1313f813c0b83344
child 423384 4923833da3f914e9453fc14feebab00cca320509
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgbrown, test-only
bugs1316770, 1089388
milestone56.0
Bug 1316770 - Add text-rendering:optimizeLegibility to reftests for bug 1089388, to try and ensure we get proper glyph bounds. r=gbrown, a=test-only
layout/reftests/writing-mode/1089388-1-ref.html
layout/reftests/writing-mode/1089388-1.html
layout/reftests/writing-mode/1089388-2-ref.html
layout/reftests/writing-mode/1089388-2.html
--- a/layout/reftests/writing-mode/1089388-1-ref.html
+++ b/layout/reftests/writing-mode/1089388-1-ref.html
@@ -6,16 +6,17 @@
 .v-lr { writing-mode:vertical-lr;  }
 .v-rl { writing-mode:vertical-rl; }
 
 div {
   width: 300px;
   height: 200px;
   background: #ddd;
   margin: 50px;
+  text-rendering: optimizeLegibility;
 }
 </style>
 </head>
 
 <body>
 
 <div class="v-lr">
 First part of the block.
--- a/layout/reftests/writing-mode/1089388-1.html
+++ b/layout/reftests/writing-mode/1089388-1.html
@@ -6,16 +6,17 @@
 .v-lr { writing-mode:vertical-lr;  }
 .v-rl { writing-mode:vertical-rl; }
 
 div {
   width: 300px;
   height: 200px;
   background: #ddd;
   margin: 50px;
+  text-rendering: optimizeLegibility;
 }
 </style>
 
 <script>
 function doTest() {
   document.getElementById("test").textContent =
     "New text inserted by script, to cause a reflow that slides the following lines.";
   document.documentElement.removeAttribute("class");
--- a/layout/reftests/writing-mode/1089388-2-ref.html
+++ b/layout/reftests/writing-mode/1089388-2-ref.html
@@ -6,16 +6,17 @@
 .v-lr { writing-mode:vertical-lr;  }
 .v-rl { writing-mode:vertical-rl; }
 
 div {
   width: 300px;
   height: 200px;
   background: #ddd;
   margin: 50px;
+  text-rendering: optimizeLegibility;
 }
 </style>
 </head>
 
 <body>
 
 <div class="v-rl">
 First part of the block.
--- a/layout/reftests/writing-mode/1089388-2.html
+++ b/layout/reftests/writing-mode/1089388-2.html
@@ -6,16 +6,17 @@
 .v-lr { writing-mode:vertical-lr;  }
 .v-rl { writing-mode:vertical-rl; }
 
 div {
   width: 300px;
   height: 200px;
   background: #ddd;
   margin: 50px;
+  text-rendering: optimizeLegibility;
 }
 </style>
 
 <script>
 function doTest() {
   document.getElementById("test").textContent =
     "New text inserted by script, to cause a reflow that slides the following lines.";
   document.documentElement.removeAttribute("class");