Backed out changeset f39455c02333 (bug 1529182) for e10s mochitest failures on dom/svg/test/test_bounds.html.
authorCosmin Sabou <csabou@mozilla.com>
Sat, 23 Feb 2019 22:42:34 +0200
changeset 518699 8a8f6c0ffb8a88cbb9ef8490dfea3020a5fddce8
parent 518698 c5e856d5edbad973288a8d3fef108288def87394
child 518700 7fde6e9d5e865d6c4cc1912081cc54bbed22dc86
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1529182
milestone67.0a1
backs outf39455c023332f4aebd8542a147f0c67228861cb
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset f39455c02333 (bug 1529182) for e10s mochitest failures on dom/svg/test/test_bounds.html.
layout/svg/SVGTextFrame.cpp
--- a/layout/svg/SVGTextFrame.cpp
+++ b/layout/svg/SVGTextFrame.cpp
@@ -3516,17 +3516,17 @@ void SVGTextFrame::ReflowSVG() {
     mRect.SetEmpty();
   } else {
     mRect = nsLayoutUtils::RoundGfxRectToAppRect(r.ToThebesRect(),
                                                  AppUnitsPerCSSPixel());
 
     // Due to rounding issues when we have a transform applied, we sometimes
     // don't include an additional row of pixels.  For now, just inflate our
     // covered region.
-    mRect.Inflate(1.5 * presContext->AppUnitsPerDevPixel() / mLastContextScale);
+    mRect.Inflate(ceil(presContext->AppUnitsPerDevPixel() / mLastContextScale));
   }
 
   if (mState & NS_FRAME_FIRST_REFLOW) {
     // Make sure we have our filter property (if any) before calling
     // FinishAndStoreOverflow (subsequent filter changes are handled off
     // nsChangeHint_UpdateEffects):
     SVGObserverUtils::UpdateEffects(this);
   }